]> ocean-lang.org Git - ocean/commit
parsergen: revise rule for NEWLINE forcing reduce
authorNeilBrown <neil@brown.name>
Fri, 3 Oct 2014 03:28:32 +0000 (13:28 +1000)
committerNeilBrown <neil@brown.name>
Fri, 3 Oct 2014 03:28:32 +0000 (13:28 +1000)
commit0130b304296a266c1ebe3d135e64c936047dd66b
tree2e1388703ca0cd25c705e2ea78a7aca558a61b2a
parentd1e4b75cfea0403ea40a2ec2d2ff949a7caa4c14
parsergen: revise rule for NEWLINE forcing reduce

If the whole line is a single symbol, then it isn't appropriate
for a NEWLINE to force a reduce (it may be for an OUT, but as the
NEWLINE shifts (the OUT doesn't) we don't need to push so hard).

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