| 1 |
/* A Bison parser, made by GNU Bison 3.8.2. */ |
| 2 |
|
| 3 |
/* Bison interface for Yacc-like parsers in C |
| 4 |
|
| 5 |
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, |
| 6 |
Inc. |
| 7 |
|
| 8 |
This program is free software: you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation, either version 3 of the License, or |
| 11 |
(at your option) any later version. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with this program. If not, see <https://www.gnu.org/licenses/>. */ |
| 20 |
|
| 21 |
/* As a special exception, you may create a larger work that contains |
| 22 |
part or all of the Bison parser skeleton and distribute that work |
| 23 |
under terms of your choice, so long as that work isn't itself a |
| 24 |
parser generator using the skeleton or a modified version thereof |
| 25 |
as a parser skeleton. Alternatively, if you modify or redistribute |
| 26 |
the parser skeleton itself, you may (at your option) remove this |
| 27 |
special exception, which will cause the skeleton and the resulting |
| 28 |
Bison output files to be licensed under the GNU General Public |
| 29 |
License without this special exception. |
| 30 |
|
| 31 |
This special exception was added by the Free Software Foundation in |
| 32 |
version 2.2 of Bison. */ |
| 33 |
|
| 34 |
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, |
| 35 |
especially those whose name start with YY_ or yy_. They are |
| 36 |
private implementation details that can be changed or removed. */ |
| 37 |
|
| 38 |
#ifndef YY_YY_CONFIG_FILE_YACC_H_INCLUDED |
| 39 |
# define YY_YY_CONFIG_FILE_YACC_H_INCLUDED |
| 40 |
/* Debug traces. */ |
| 41 |
#ifndef YYDEBUG |
| 42 |
# define YYDEBUG 0 |
| 43 |
#endif |
| 44 |
#if YYDEBUG |
| 45 |
extern int yydebug; |
| 46 |
#endif |
| 47 |
|
| 48 |
/* Token kinds. */ |
| 49 |
#ifndef YYTOKENTYPE |
| 50 |
# define YYTOKENTYPE |
| 51 |
enum yytokentype |
| 52 |
{ |
| 53 |
YYEMPTY = -2, |
| 54 |
YYEOF = 0, /* "end of file" */ |
| 55 |
YYerror = 256, /* error */ |
| 56 |
YYUNDEF = 257, /* "invalid token" */ |
| 57 |
BUILTIN = 258, /* BUILTIN */ |
| 58 |
CLOSE = 259, /* CLOSE */ |
| 59 |
EOL = 260, /* EOL */ |
| 60 |
FILENAME = 261, /* FILENAME */ |
| 61 |
IGNORE = 262, /* IGNORE */ |
| 62 |
ISO8859_1 = 263, /* ISO8859_1 */ |
| 63 |
LENGTH = 264, /* LENGTH */ |
| 64 |
LOWER = 265, /* LOWER */ |
| 65 |
MAX_LENGTH = 266, /* MAX_LENGTH */ |
| 66 |
OPEN = 267, /* OPEN */ |
| 67 |
REMOVE_TRAILING = 268, /* REMOVE_TRAILING */ |
| 68 |
SAFE = 269, /* SAFE */ |
| 69 |
SEQUENCE = 270, /* SEQUENCE */ |
| 70 |
UNCGI = 271, /* UNCGI */ |
| 71 |
UTF_8 = 272, /* UTF_8 */ |
| 72 |
WIPEUP = 273, /* WIPEUP */ |
| 73 |
NVALUE = 274, /* NVALUE */ |
| 74 |
ID = 275, /* ID */ |
| 75 |
QSTRING = 276 /* QSTRING */ |
| 76 |
}; |
| 77 |
typedef enum yytokentype yytoken_kind_t; |
| 78 |
#endif |
| 79 |
/* Token kinds. */ |
| 80 |
#define YYEMPTY -2 |
| 81 |
#define YYEOF 0 |
| 82 |
#define YYerror 256 |
| 83 |
#define YYUNDEF 257 |
| 84 |
#define BUILTIN 258 |
| 85 |
#define CLOSE 259 |
| 86 |
#define EOL 260 |
| 87 |
#define FILENAME 261 |
| 88 |
#define IGNORE 262 |
| 89 |
#define ISO8859_1 263 |
| 90 |
#define LENGTH 264 |
| 91 |
#define LOWER 265 |
| 92 |
#define MAX_LENGTH 266 |
| 93 |
#define OPEN 267 |
| 94 |
#define REMOVE_TRAILING 268 |
| 95 |
#define SAFE 269 |
| 96 |
#define SEQUENCE 270 |
| 97 |
#define UNCGI 271 |
| 98 |
#define UTF_8 272 |
| 99 |
#define WIPEUP 273 |
| 100 |
#define NVALUE 274 |
| 101 |
#define ID 275 |
| 102 |
#define QSTRING 276 |
| 103 |
|
| 104 |
/* Value type. */ |
| 105 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 106 |
union YYSTYPE |
| 107 |
{ |
| 108 |
#line 43 "config_file_yacc.y" |
| 109 |
|
| 110 |
char *string; /* string buffer */ |
| 111 |
int cmd; /* command value */ |
| 112 |
int nvalue; /* nvalue */ |
| 113 |
|
| 114 |
#line 115 "config_file_yacc.h" |
| 115 |
|
| 116 |
}; |
| 117 |
typedef union YYSTYPE YYSTYPE; |
| 118 |
# define YYSTYPE_IS_TRIVIAL 1 |
| 119 |
# define YYSTYPE_IS_DECLARED 1 |
| 120 |
#endif |
| 121 |
|
| 122 |
|
| 123 |
extern YYSTYPE yylval; |
| 124 |
|
| 125 |
|
| 126 |
int yyparse (void); |
| 127 |
|
| 128 |
|
| 129 |
#endif /* !YY_YY_CONFIG_FILE_YACC_H_INCLUDED */ |