Commit 74d53d78 authored by Jan Wieck's avatar Jan Wieck

Made prototypes for yyerror() consistent with Bruce's last changes

Jan
parent df035f76
......@@ -37,7 +37,7 @@ extern void lex_init(void);
extern char *input_filename;
extern int yyparse(void);
extern int yylex(void);
extern void yyerror(char *);
extern void yyerror(const char * error);
extern void *mm_alloc(size_t), *mm_realloc(void *, size_t);
extern char *mm_strdup(const char *);
extern void mmerror(enum errortype, char * );
......
......@@ -5428,7 +5428,7 @@ blockend : '}' {
%%
void yyerror(char * error)
void yyerror(const char * error)
{
mmerror(ET_ERROR, error);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment