Made prototypes for yyerror() consistent with Bruce's last changes
Jan
This commit is contained in:
parent
df035f762a
commit
74d53d7838
|
@ -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 * );
|
||||||
|
|
|
@ -5428,7 +5428,7 @@ blockend : '}' {
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
void yyerror(char * error)
|
void yyerror(const char * error)
|
||||||
{
|
{
|
||||||
mmerror(ET_ERROR, error);
|
mmerror(ET_ERROR, error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue