]> ocean-lang.org Git - ocean/commit
parsergen: compute "can_eol" for each symbol.
authorNeilBrown <neilb@suse.de>
Sat, 3 May 2014 21:55:03 +0000 (07:55 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 3 May 2014 21:55:03 +0000 (07:55 +1000)
commitb3fdb1d9f081d8c034653b077e7aa337585356cd
tree218b1b6b92daac19e7099c4e80dc0005f1f20498
parent5ff6fc7d1243fa3fdbd87e2523c3136d4faed853
parsergen: compute "can_eol" for each symbol.

A symbol is "can_eol" if it can derive a phrase which ends with a
newlike token.
This will allow us to recognise line-like sections of code and
thus know when to ignore newlines and when not to.

Signed-off-by: NeilBrown <neilb@suse.de>
csrc/parsergen.mdc