stephen-swensen / nl-compiler

A compiler for NL, a statically typed programming language targeting .NET
1 stars 0 forks source link

Trouble parsing some expression statements #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
e.g.

x = 3 in x;;

fails to parse. but

(x = 3 in x);;

is OK

Original issue reported on code.google.com by stephen....@gmail.com on 19 Dec 2011 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 19 Dec 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Fixed (was due first `;` being reduced to the sequential operator, changed 
grammar to have explicit statement operator)

Original comment by stephen....@gmail.com on 21 Dec 2011 at 1:13

GoogleCodeExporter commented 9 years ago
This issue was closed by revision d489946b2233.

Original comment by stephen....@gmail.com on 22 Dec 2011 at 6:58