From: NeilBrown Date: Tue, 6 Oct 2020 06:02:22 +0000 (+1100) Subject: parsegen: detect left-recursive symbols in non-final position. X-Git-Url: https://ocean-lang.org/code/?a=commitdiff_plain;h=abe144f0999c5576e18c74324c2436cd6bd65b2d;hp=abe144f0999c5576e18c74324c2436cd6bd65b2d;p=ocean parsegen: detect left-recursive symbols in non-final position. A left-recursive symbol that appear other than at the end of a production causes problem for indent-based parsing, as describe in the document. So teach parsergen to be able to report them. Ocean currently has several of these, which I'll need to look into at a later date. Signed-off-by: NeilBrown ---