]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.yy
Made yyerror() string argument constant to avoid an compile error with
[ginac.git] / ginsh / ginsh_parser.yy
index 5fc18857b96de1c292e4dd129a2021001454229b..ab300a42fec18879d2036154550ff52e82c5c81f 100644 (file)
@@ -304,7 +304,7 @@ row : exp                   {$$ = lst($1);}
 
 %%
 // Error print routine
-int yyerror(char *s)
+int yyerror(const char *s)
 {
        cerr << s << " at " << yytext << endl;
        return 0;