]> ocean-lang.org Git - ocean/commit
oceani: change parsing for ; at end
authorNeilBrown <neil@brown.name>
Sun, 23 Jun 2019 04:41:47 +0000 (14:41 +1000)
committerNeilBrown <neil@brown.name>
Sun, 23 Jun 2019 05:35:46 +0000 (15:35 +1000)
commit7b1280e4a50fee191043436ebc8b2f8c482ccdaf
treee731a8995360f947b4aaca6fa63b96aad06e84db
parenta571467ffc33a814c65f5a410a4f70509787b9aa
oceani: change parsing for ; at end

When we have 'for' and 'then' on the same line, I want to
require a ';' for the 'for' (and 'while').
So change SimpleStatemnts to never end with ';', and require
a ; or Newline after each instance of SimpleStatements.

Hmm... I guess that could be abstracted.

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