fix errorWithNode line mapping
This commit is contained in:
parent
795183569d
commit
c963c30107
@ -90,8 +90,7 @@ File.prototype.errorWithNode = function (node, msg) {
|
||||
}
|
||||
|
||||
var err = new SyntaxError("Line " + loc.line + ": " + msg);
|
||||
err.lineNumber = loc.line;
|
||||
err.column = loc.column;
|
||||
err.loc = loc;
|
||||
return err;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user