--- src/calc.yy 2011-06-27 18:35:24.352176208 +0200 +++ src/calc.yy.new 2011-06-27 18:43:18.921424120 +0200 @@ -18,7 +18,7 @@ #include "formula.h" #include "formula-variables.h" -int yyerror(char* s); +int yyerror(const char* s); int yylex(); const char* yyinStr; @@ -150,7 +150,7 @@ return c; } -int yyerror(char* s) { +int yyerror(const char* s) { printf("yyerror: %s\n", s); return 0; }