]> ocean-lang.org Git - ocean/commit
oceani: := is no longer a token.
authorNeilBrown <neil@brown.name>
Sun, 28 Apr 2019 00:24:38 +0000 (10:24 +1000)
committerNeilBrown <neil@brown.name>
Wed, 1 May 2019 08:07:28 +0000 (18:07 +1000)
commit4564083edac88eb2ed552217a09e5a409b110a12
tree7224ee94a97da8ed9d306f948398b1e399c0bc49
parent3047c0ce162cac7cfd859e0e9bcc0e9c0de6f170
oceani: := is no longer a token.

It was always intended that a type could come between
the : and = of a declaration.
It makes more sense, and simplifies the grammar, if
we stop treating  := as ever being a token.
So now : and = are separate tokens.
If the parse sees ":=", it will happily treat that
as two separate tokens, which is what we want.

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