More JavaScript fixes for keyword handling

db4
Chris Double 2008-06-19 01:20:33 +12:00
parent 179ea21c11
commit fcd1e39834
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ Keyword = ("break"
| "var"
| "void"
| "while"
| "with")
Name = iName !(Keyword) => [[ ast-name boa ]]
| "with") !(NameRest)
Name = !(Keyword) iName => [[ ast-name boa ]]
Number = Digits:ws '.' Digits:fs => [[ ws "." fs 3array concat >string string>number ast-number boa ]]
| Digits => [[ >string string>number ast-number boa ]]