]> ocean-lang.org Git - ocean/commit
oceani: minimal error tracking.
authorNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 05:58:40 +0000 (16:58 +1100)
committerNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 05:58:40 +0000 (16:58 +1100)
commitdb13a7edae07b9905343b68f568a7d335d176951
treef0fb3f623be561b5eaff8f43d753e06ad6e861ec
parentb0d64a3be30d15c9e2ee638f9e0928040fb89bfe
oceani: minimal error tracking.

1/ If the parser hits an error, catch it at eof by having
    Program -> ERROR
2/ Allow the presence of and error to be recorded in the context.
3/ If an error occured, don't try to run, and do exit with an error
   status.

Now, at last, we get told where the error was.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani.mdc