git://www.ginac.de
/
ginac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"return" statement was missing in yyerror()
[ginac.git]
/
ginac
/
input_parser.yy
diff --git
a/ginac/input_parser.yy
b/ginac/input_parser.yy
index 561b0693ed3038d25cc827ca2775181d3e145157..af46af0a04751e134d18c525b5d2df4349e2708a 100644
(file)
--- a/
ginac/input_parser.yy
+++ b/
ginac/input_parser.yy
@@
-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;
}