lexer now distinguishes between IN/OF and FORIN/FOROF to help grammar, fixing #737

This commit is contained in:
satyr
2010-10-06 04:46:17 +09:00
parent 380bee97dd
commit 2e6b50335f
8 changed files with 101 additions and 90 deletions

View File

@@ -141,3 +141,7 @@ ok c is 3
# Instanceof.
ok new String instanceof String
ok new Number not instanceof String
#737: `in` should have higher precedence than logical operators
eq 1, 1 in [1] and 1