missing parse errors on non-alphanumeric characters
I have the following pretty minimal SDF grammar
module Spoobar exports context-free start-symbols Start context-free syntax EFGH -> Start {cons("FooBar")} lexical syntax -> EOF " "* "\n" -> EFG EFG+ -> EFGH EFG* " "+ EOF -> EFGH lexical restrictions EOF -/- ~[]
and an example file with some spaces and line breaks in it. Inserting an
Submitted by Guido Wachsmuth on 28 January 2012 at 02:00a
gives a parse error ona
. However, when I changea
into*
or another non-alphanumeric character, the error vanishes.
Issue Log
On 28 January 2012 at 02:04 Guido Wachsmuth tagged parser
On 2 February 2012 at 16:24 Lennart Kats commented:
Does the same happen when you start with a clean file and enter ‘*’? Would it be a problem in the parser or the syntax error marking?
On 8 January 2013 at 14:42 Eelco Visser tagged sdf
Log in to post comments