]> ocean-lang.org Git - ocean/commit - csrc/oceani.mdc
parsegen: fix up look-ahead for $$NEWLINE items.
authorNeilBrown <neil@brown.name>
Sun, 16 Jun 2019 01:31:54 +0000 (11:31 +1000)
committerNeilBrown <neil@brown.name>
Sun, 16 Jun 2019 02:06:01 +0000 (12:06 +1000)
commitcbbbc8ec0230cf82765da33ecff7be9824006519
treeef1c9b8d4060359558a705cdea0c26e72141d037
parent3a83d91ef3b37d50680c15c00fc4ee44cb70c6ea
parsegen: fix up look-ahead for $$NEWLINE items.

I was discarding all non-newlines from the lookahead
in the wrong place.
I need to do it based on the productions added, not
the item the are generated by.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani.mdc
csrc/parsergen.mdc