aboutsummaryrefslogtreecommitdiff
path: root/lib/ast.js
diff options
context:
space:
mode:
authorIngvar Stepanyan <me@rreverser.com>2014-08-08 14:15:43 +0300
committerRichard van Velzen <rvanvelzen@experty.com>2015-01-06 11:32:41 +0100
commitae5366a31de7d65964400ffc7b2f05132e2538b6 (patch)
tree73f51541f3bbc2d0ef3bce84771c10c1d26e0c5d /lib/ast.js
parent6b23cbc8522bdc6d28e1abb44eb2d1d6eb6b697a (diff)
downloadtracifyjs-ae5366a31de7d65964400ffc7b2f05132e2538b6.tar.gz
tracifyjs-ae5366a31de7d65964400ffc7b2f05132e2538b6.zip
Track ending lines/columns; fix end locations in Mozilla AST.
Diffstat (limited to 'lib/ast.js')
-rw-r--r--lib/ast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ast.js b/lib/ast.js
index 2eb8cc86..5aa1be30 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -84,7 +84,7 @@ function DEFNODE(type, props, methods, base) {
return ctor;
};
-var AST_Token = DEFNODE("Token", "type value line col pos endpos nlb comments_before file", {
+var AST_Token = DEFNODE("Token", "type value line col pos endline endcol endpos nlb comments_before file", {
}, null);
var AST_Node = DEFNODE("Node", "start end", {