fix pos in syntax error exception
This commit is contained in:
parent
fb5c01c073
commit
d9d67317b1
|
|
@ -181,7 +181,7 @@ function JS_Parse_Error(message, line, col, pos) {
|
|||
this.message = message;
|
||||
this.line = line;
|
||||
this.col = col;
|
||||
this.pos = pos + 1;
|
||||
this.pos = pos;
|
||||
this.stack = new Error().stack;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user