]> ocean-lang.org Git - ocean/commit
parsergen: add support for EOL token
authorNeilBrown <neil@brown.name>
Wed, 10 Mar 2021 00:49:24 +0000 (11:49 +1100)
committerNeilBrown <neil@brown.name>
Wed, 10 Mar 2021 01:01:11 +0000 (12:01 +1100)
commit77165c59bca010dba0bdb8775552d6af944046a3
treec228a3cdc3915ce92837b970dd8813471e4595de
parente9af634f13a0957cd510052483b6f9e35a986596
parsergen: add support for EOL token

And EOL token is generated when a NEWLINE is found and an EOL can be
shifted.  This allows a product to declare that it must finish at the
end of a line, without consuming the NEWLINE.

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