]> ocean-lang.org Git - ocean/commit
oceani: handle NULL from parse_oceani()
authorNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 05:54:03 +0000 (16:54 +1100)
committerNeilBrown <neil@brown.name>
Mon, 19 Feb 2018 05:54:03 +0000 (16:54 +1100)
commitb0d64a3be30d15c9e2ee638f9e0928040fb89bfe
tree5a7a95233d465036db6e9c207fa8e18de1f6db90
parentb0828672cd5eb5c88778ffce7a2135a9d3889229
oceani: handle NULL from parse_oceani()

If the parsed finds nothing, it will return a pointer
to a NULL.  We need to be careful not to deref this
in printing, analysis, or execution.

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