]> ocean-lang.org Git - ocean/commit
parsegen: Add brief explanation about optional newlines.
authorNeilBrown <neil@brown.name>
Sun, 2 Jun 2019 06:45:56 +0000 (16:45 +1000)
committerNeilBrown <neil@brown.name>
Sun, 2 Jun 2019 06:45:56 +0000 (16:45 +1000)
commitfa35c2e89220fb586700f934d9beba2f3e806f0f
tree5f4394fb1dcd26f5deb7e3b9446655e35b68b302
parent4bee4f99bc7a0ab4dcd635766acdd15e96f29f5f
parsegen: Add brief explanation about optional newlines.

Optional newlines need care with a parsergen parse and the special
rules around them mean you cannot have a symbol that just absorbs
newlines.  Rather, you need to put the newline absorbtion in front of
whatever is allowed to follow newlines.

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