]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani.mdc
oceani: := is no longer a token.
[ocean] / csrc / oceani.mdc
index 430c29f2c8c23a58ec75f670083af281ae997040..df9a5c5f1847349088d5e1ceba95343a8cb4fe22 100644 (file)
@@ -1589,7 +1589,7 @@ link to find the primary instance.
 ###### Grammar
 
        $*var
-       VariableDecl -> IDENTIFIER := ${ {
+       VariableDecl -> IDENTIFIER : = ${ {
                struct variable *v = var_decl(config2context(config), $1.txt);
                $0 = new_pos(var, $1);
                $0->var = v;
@@ -1604,7 +1604,7 @@ link to find the primary instance.
                                 v->where_decl, Tnone, 0, Tnone);
                }
        } }$
-           | IDENTIFIER ::= ${ {
+           | IDENTIFIER :: = ${ {
                struct variable *v = var_decl(config2context(config), $1.txt);
                $0 = new_pos(var, $1);
                $0->var = v;