diff options
Diffstat (limited to 'lib/forlangrm.y')
-rw-r--r-- | lib/forlangrm.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/forlangrm.y b/lib/forlangrm.y index 2db1274..9d44ec9 100644 --- a/lib/forlangrm.y +++ b/lib/forlangrm.y @@ -23,7 +23,7 @@ #include <string.h> int yylex(); -static int yyerror(char *); +static int yyerror(char const *); union forlan_node *forlan_parse_tree; size_t forlan_variable_count; static struct grecs_symtab *forlan_symtab; @@ -371,7 +371,7 @@ stmt_asgn : IDENT '=' node ';' ; %% static int -yyerror(char *s) +yyerror(char const *s) { grecs_error(&yylloc, 0, "%s", s); return 0; |