]> ocean-lang.org Git - ocean/commitdiff
parsergen: record line number of reduce fragments.
authorNeilBrown <neil@brown.name>
Tue, 6 Feb 2018 05:42:01 +0000 (16:42 +1100)
committerNeilBrown <neil@brown.name>
Tue, 13 Feb 2018 01:56:57 +0000 (12:56 +1100)
If there is an error in a code fragment used to handle
a 'reduce' action, we need the compiler to report the
correct line from the grammar file.
This information is easily available from the scanner,
we just need to pass it along.

Signed-off-by: NeilBrown <neil@brown.name>

No differences found