Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df035f7 commit 74d53d7Copy full SHA for 74d53d7
src/interfaces/ecpg/preproc/extern.h
@@ -37,7 +37,7 @@ extern void lex_init(void);
37
extern char *input_filename;
38
extern int yyparse(void);
39
extern int yylex(void);
40
-extern void yyerror(char *);
+extern void yyerror(const char * error);
41
extern void *mm_alloc(size_t), *mm_realloc(void *, size_t);
42
extern char *mm_strdup(const char *);
43
extern void mmerror(enum errortype, char * );
src/interfaces/ecpg/preproc/preproc.y
@@ -5428,7 +5428,7 @@ blockend : '}' {
5428
5429
%%
5430
5431
-void yyerror(char * error)
+void yyerror(const char * error)
5432
{
5433
mmerror(ET_ERROR, error);
5434
}
0 commit comments