Skip to content

Commit f794d00

Browse files
committed
eliminate references to unused and undefined function yyerror()
1 parent 1d47136 commit f794d00

File tree

5 files changed

+469
-477
lines changed

5 files changed

+469
-477
lines changed

src/express/expparse.y

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ YYSTYPE yylval;
123123

124124
int yylineno;
125125

126-
127-
static void yyerror(const char*, char *string);
128-
129126
bool yyeof = false;
130127

131128
#define MAX_SCOPE_DEPTH 20 /* max number of scopes that can be nested */

src/express/expscan.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110

111111
enum { INITIAL, code, comment, return_end_schema };
112112

113-
extern void yyerror();
114113
extern int yylineno;
115114
extern bool yyeof;
116115
static int nesting_level = 0;

0 commit comments

Comments
 (0)