X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Fparsergen.mdc;h=4faea9ec69ed2f103c017651419db173556c6c26;hp=59da0ec326a05f6c2d489086ca6eb96f4bf13234;hb=4f90315edf3d038fc8f4430708c7d3551bca3651;hpb=0d6b47aa0f660a19e9fb36a33ab1bef60cd26289 diff --git a/csrc/parsergen.mdc b/csrc/parsergen.mdc index 59da0ec..4faea9e 100644 --- a/csrc/parsergen.mdc +++ b/csrc/parsergen.mdc @@ -393,9 +393,10 @@ here is told which was found in the `isref` argument. found += 1; t = token_next(ts); } - if (found == 0) + if (found == 0) { err = "No symbols given on precedence/TERM line"; goto abort; + } return NULL; abort: while (t.num != TK_newline && t.num != TK_eof)