]> ocean-lang.org Git - ocean/commit
parsergen: remove special casing for pop(0).
authorNeilBrown <neil@brown.name>
Fri, 3 Oct 2014 04:30:36 +0000 (14:30 +1000)
committerNeilBrown <neil@brown.name>
Fri, 3 Oct 2014 04:30:36 +0000 (14:30 +1000)
commita2390d266f967d37ad24a7a3b4d7f3617b5e28e1
tree72838d1be6d1c9c657fb75082b80680c3e48b204
parent34189a207bc903e9ff96549ad222fa20f2e41508
parsergen: remove special casing for pop(0).

If pop() is asked to remove nothing from the stack, it now
does exactly the right thing and returns the value that we want.
So some special-casing can be removed.

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