]> ocean-lang.org Git - ocean/commit
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)
commit4477bdf961f98ec3143743684eafba45a2e29287
treea2438d97d6bdf4e3d3ba2390bc52fd2c285fe9b0
parenta98df22daa1e3e2ef80ecea149cbe286ff7fdbf1
oceani: add more syntax error handling.

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>
csrc/oceani-tests.mdc
csrc/oceani.mdc