public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5c01c
)
fix pos in syntax error exception
author
Mihai Bazon
<mihai@bazon.net>
Thu, 11 Oct 2012 12:25:38 +0000
(15:25 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Thu, 11 Oct 2012 12:25:38 +0000
(15:25 +0300)
lib/parse.js
patch
|
blob
|
history
diff --git
a/lib/parse.js
b/lib/parse.js
index
074e118
..
a87e868
100644
(file)
--- a/
lib/parse.js
+++ b/
lib/parse.js
@@
-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;
};