]> ocean-lang.org Git - ocean/commit
parsergen: don't report expected shift/reduce conflicts.
authorNeilBrown <neil@brown.name>
Thu, 9 May 2019 11:59:07 +0000 (21:59 +1000)
committerNeilBrown <neil@brown.name>
Thu, 9 May 2019 11:59:07 +0000 (21:59 +1000)
commitc2fea1773112bb6c745c10c808545acbfa1de906
treeef3bac407b4b33340fdf4880ff433e7f2da2c4f7
parent6f3c6db8d0e5c5bf244f9a101e72e5e498b5fb6d
parsergen: don't report expected shift/reduce conflicts.

If a NEWLINE is being treated as a grammar symbol which will sometimes
force a reduction, then an apparent SHIFT/REDUCE conflict that could be
resolved to REDUCE by a newline and would default to shift, is expected
and not really a conflict.  So don't report those.

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