]> ocean-lang.org Git - ocean/commit - csrc/oceani-tests.mdc
oceani: add type entry for new structs early.
authorNeilBrown <neil@brown.name>
Fri, 17 Dec 2021 05:01:11 +0000 (16:01 +1100)
committerNeilBrown <neil@brown.name>
Fri, 17 Dec 2021 05:01:11 +0000 (16:01 +1100)
commit68bdd0987d4fc7c888f8f416d14a6ec70e49a7a8
treec5de40270abe84b5365439674d1e08e5056f4ea5
parente2a65d5ff4140a6bb67fc38845ddabf7928789bd
oceani: add type entry for new structs early.

When a 'struct foo' declaration is found, add the type when 'foo' is
seen rather than when the whole declaration is seen.
This keeps the order of types stable

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