Update ProgramNode to better match SpiderMonkey

This commit is contained in:
kpdecker
2014-11-26 09:18:33 -06:00
parent 61dd721ca2
commit df421f1e4b
8 changed files with 119 additions and 118 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
%%
root
: program EOF { yy.prepareProgram($1.statements, true); return $1; }
: program EOF { yy.prepareProgram($1.body, true); return $1; }
;
program