Skip to content

Commit 74d53d7

Browse files
Jan WieckJan Wieck
authored andcommitted
Made prototypes for yyerror() consistent with Bruce's last changes
Jan
1 parent df035f7 commit 74d53d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interfaces/ecpg/preproc/extern.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern void lex_init(void);
3737
extern char *input_filename;
3838
extern int yyparse(void);
3939
extern int yylex(void);
40-
extern void yyerror(char *);
40+
extern void yyerror(const char * error);
4141
extern void *mm_alloc(size_t), *mm_realloc(void *, size_t);
4242
extern char *mm_strdup(const char *);
4343
extern void mmerror(enum errortype, char * );

src/interfaces/ecpg/preproc/preproc.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5428,7 +5428,7 @@ blockend : '}' {
54285428

54295429
%%
54305430

5431-
void yyerror(char * error)
5431+
void yyerror(const char * error)
54325432
{
54335433
mmerror(ET_ERROR, error);
54345434
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy