diff options
Diffstat (limited to 'src/xkbcomp/parser-priv.h')
-rw-r--r-- | src/xkbcomp/parser-priv.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xkbcomp/parser-priv.h b/src/xkbcomp/parser-priv.h index 2e02db6..465b19d 100644 --- a/src/xkbcomp/parser-priv.h +++ b/src/xkbcomp/parser-priv.h @@ -27,21 +27,21 @@ #ifndef XKBCOMP_PARSER_PRIV_H #define XKBCOMP_PARSER_PRIV_H -struct scanner_extra; +struct scanner; struct parser_param; -#pragma GCC diagnostic ignored "-Wredundant-decls" -#pragma GCC diagnostic push #include "parser.h" -#pragma GCC diagnostic pop -void -scanner_error(YYLTYPE *loc, void *scanner, const char *msg); +int +scanner_error(YYLTYPE *yylloc, struct scanner *scanner, const char *msg); int -_xkbcommon_lex(YYSTYPE *val, YYLTYPE *loc, void *scanner); +_xkbcommon_lex(YYSTYPE *yylval, YYLTYPE *yylloc, struct scanner *scanner); XkbFile * parse(struct xkb_context *ctx, void *scanner, const char *map); +int +keyword_to_token(const char *string); + #endif |