]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani.mdc
oceani: remove the need for 'then' in function declarations.
[ocean] / csrc / oceani.mdc
index f257736edc328baf8ba313d28f3bd7826e4e5004..590add27c0782c52388c1752651b145fc0a5cfda 100644 (file)
@@ -4718,8 +4718,7 @@ analysis is a bit more interesting at this level.
                        } else
                                var_block_close(c, CloseSequential, NULL);
                } }$
-               | func FuncName then IN OpenScope OptNL Args OUT OptNL do Block Newlines ${ {
-                       // FIXME that 'then' should not be there.
+               | func FuncName IN OpenScope OptNL Args OUT OptNL do Block Newlines ${ {
                        struct text funcname = { " func", 5};
                        $0 = $<FN;
                        if ($0) {