qfox/ZeParser — Issue #9: Literals aren't valid literal names
Author: kitcambridge
Created: 2011-12-30 04:10:38+00:00
State: open

ZeParser parses `true: var a = 3;` without emitting any errors, even though this input raises a `SyntaxError` in all major implementations. The spec appears to confirm that this is invalid—the grammar for `Identifier` excludes `ReservedWord`, which comprises `Keyword`, `NullLiteral`, and `BooleanLiteral`.