More JavaScript fixes for keyword handling
parent
179ea21c11
commit
fcd1e39834
|
@ -43,8 +43,8 @@ Keyword = ("break"
|
||||||
| "var"
|
| "var"
|
||||||
| "void"
|
| "void"
|
||||||
| "while"
|
| "while"
|
||||||
| "with")
|
| "with") !(NameRest)
|
||||||
Name = iName !(Keyword) => [[ ast-name boa ]]
|
Name = !(Keyword) iName => [[ ast-name boa ]]
|
||||||
Number = Digits:ws '.' Digits:fs => [[ ws "." fs 3array concat >string string>number ast-number boa ]]
|
Number = Digits:ws '.' Digits:fs => [[ ws "." fs 3array concat >string string>number ast-number boa ]]
|
||||||
| Digits => [[ >string string>number ast-number boa ]]
|
| Digits => [[ >string string>number ast-number boa ]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue