summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-21 09:24:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-21 12:24:38 +0100
commite746d8d3af46cb17c705dd7d6724cff8bdd6bca8 (patch)
tree73e93c7e2b9e23d4333b231daf72aee46fc3f920 /hwpfilter
parent08039ee959eefc6888e966fe3b3769abffd1fafc (diff)
YYPARSE_PARAM is not defined
Change-Id: Icda8e09ceb5e2bebb5187d00c0baa1bcccda88a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131892 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/grammar.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index e3a19a2d096e..556bd2c8949f 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -396,28 +396,13 @@ int yydebug; /* nonzero means print parse trace */
#define YYMAXDEPTH 10000
#endif
-/* The user can define YYPARSE_PARAM as the name of an argument to be passed
- into yyparse. The argument should have type void *.
- It should actually point to an object.
- Grammar actions can access the variable by casting it
- to the proper pointer type. */
-
-#ifdef YYPARSE_PARAM
-#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
-#define YYPARSE_PARAM_DECL
-#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
-#endif /* not YYPARSE_PARAM */
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
-#ifdef YYPARSE_PARAM
-int yyparse (void *);
-#else
static int yyparse();
#endif
-#endif
static int
yyparse(YYPARSE_PARAM_ARG)