]> www.ginac.de Git - ginac.git/blobdiff - ginac/input_parser.yy
"return" statement was missing in yyerror()
[ginac.git] / ginac / input_parser.yy
index 561b0693ed3038d25cc827ca2775181d3e145157..af46af0a04751e134d18c525b5d2df4349e2708a 100644 (file)
@@ -161,4 +161,5 @@ using GiNaC::parser_error;
 int ginac_yyerror(char *s)
 {
        parser_error = std::string(s) + " at " + std::string(ginac_yytext);
+       return 0;
 }