Nathan-Wall / proto

A programming language derived from JavaScript which emphasizes prototypes, integrity, and syntax.
Other
12 stars 1 forks source link

Separate :{ into two tokens when appropriate #70

Closed Nathan-Wall closed 10 years ago

Nathan-Wall commented 10 years ago

The following is currently a syntax error, although it shouldn't be. The parser has trouble because it interprets :{ as a single token rather than two.

var foo = { a:{ b: 1 } };
Nathan-Wall commented 10 years ago

This bug has been moved to the Proprima project, where it belongs.

https://github.com/Nathan-Wall/proprima/issues/3