picoe / Eto.Parse

Recursive descent LL(k) parser for .NET with Fluent API, BNF, EBNF and Gold Grammars
MIT License
148 stars 30 forks source link

Gold Grammar parser fails if no new line at EOF #5

Closed thargy closed 10 years ago

thargy commented 10 years ago

The parser for gold grammars fails if the last rule ends at the EOF without a newline (i.e. it insists on a newline at the end of rules)

thargy commented 10 years ago

Also, problems occur if you don't have white space at the start of the grammar as well.

cwensley commented 10 years ago

Thanks for the report! I'll take a look at it tonight. Should be an easy fix (;

cwensley commented 10 years ago

Should now be fixed (;