git://www.ginac.de
/
ginac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb11f25
)
"return" statement was missing in yyerror()
author
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Tue, 27 Feb 2001 19:22:46 +0000
(19:22 +0000)
committer
Christian Bauer
<Christian.Bauer@uni-mainz.de>
Tue, 27 Feb 2001 19:22:46 +0000
(19:22 +0000)
ginac/input_parser.yy
patch
|
blob
|
history
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;
}