diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-21 09:23:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-21 12:24:25 +0100 |
commit | 08039ee959eefc6888e966fe3b3769abffd1fafc (patch) | |
tree | ad6e54a628c6c4ef3c9e216fec653230fe5bf963 | |
parent | b77091684ba3de0a2009a1bc42514ef48ae6bcfc (diff) |
YYPURE is not defined
Change-Id: I5942de482c6216fba2c35fa6d113c44639d349e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131891
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | hwpfilter/source/grammar.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx index c5a8997c0e28..e3a19a2d096e 100644 --- a/hwpfilter/source/grammar.cxx +++ b/hwpfilter/source/grammar.cxx @@ -363,28 +363,15 @@ const short yycheck[] = { 11, #define YYTERROR 1 -#ifndef YYPURE #define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval) -#endif -#endif /* If nonreentrant, generate the variables here */ -#ifndef YYPURE - static int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ /* lookahead symbol */ static int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ #if YYDEBUG != 0 int yydebug; /* nonzero means print parse trace */ @@ -452,12 +439,6 @@ yyparse(YYPARSE_PARAM_ARG) int yystacksize = YYINITDEPTH; int yyfree_stacks = 0; -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#endif - YYSTYPE yyval; /* the variable used to return */ yyval.dval = nullptr; /* semantic values from the action */ |