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

Jan
This commit is contained in:
Jan Wieck 2000-02-04 18:45:23 +00:00
parent df035f762a
commit 74d53d7838
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ extern void lex_init(void);
extern char *input_filename; extern char *input_filename;
extern int yyparse(void); extern int yyparse(void);
extern int yylex(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 void *mm_alloc(size_t), *mm_realloc(void *, size_t);
extern char *mm_strdup(const char *); extern char *mm_strdup(const char *);
extern void mmerror(enum errortype, char * ); extern void mmerror(enum errortype, char * );

View File

@ -5428,7 +5428,7 @@ blockend : '}' {
%% %%
void yyerror(char * error) void yyerror(const char * error)
{ {
mmerror(ET_ERROR, error); mmerror(ET_ERROR, error);
} }