]> www.ginac.de Git - ginac.git/commitdiff
"return" statement was missing in yyerror()
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 27 Feb 2001 19:22:46 +0000 (19:22 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 27 Feb 2001 19:22:46 +0000 (19:22 +0000)
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);
 int ginac_yyerror(char *s)
 {
        parser_error = std::string(s) + " at " + std::string(ginac_yytext);
+       return 0;
 }
 }