Files
node/doc/api
Tristian Flanagan dfee4e3712 module: fix column offsets in errors
Because Node modules are wrapped, errors on the first line
of a file leak the wrapper to the user and report the wrong
column number. This commit adds a line break to the module
wrapper so that the first line is treated the same as all
other lines. To compensate for the additional line, a line
offset of -1 is also applied to errors.

Fixes: https://github.com/nodejs/node/issues/2860
PR-URL: https://github.com/nodejs/node/pull/2867
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-11-20 16:26:24 -05:00
..
2015-08-04 11:56:14 -07:00
2015-08-04 11:56:14 -07:00
2015-11-20 11:52:23 -08:00
2015-11-20 11:52:23 -08:00
2010-11-07 17:22:56 -08:00
2015-11-12 17:39:55 -08:00
2015-11-12 17:39:59 -08:00
2015-11-16 22:45:53 -08:00
2015-11-20 11:52:23 -08:00
2015-11-12 17:40:15 -08:00
2015-11-18 14:28:35 -08:00
2015-11-20 11:52:23 -08:00