]> ocean-lang.org Git - ocean/commitdiff
oceani: add more syntax error handling.
authorNeilBrown <neil@brown.name>
Sun, 9 Jun 2019 00:15:39 +0000 (10:15 +1000)
committerNeilBrown <neil@brown.name>
Sun, 9 Jun 2019 00:15:39 +0000 (10:15 +1000)
We catch some errors earlier so more errors can be
reported in a single run.
The indent structure make recovery easy!

As we might abort out of a var scope, we only insist the scope
is balanced in there are no parser errors.

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

No differences found