| 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_PRINTRCY_H_INCLUDED |
| 39 | # define YY_YY_PRINTRCY_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 | tNUMBER = 258, /* tNUMBER */ |
| 58 | tBOOLEAN = 259, /* tBOOLEAN */ |
| 59 | tSTRING = 260, /* tSTRING */ |
| 60 | tWORD = 261, /* tWORD */ |
| 61 | tGSWORD = 262, /* tGSWORD */ |
| 62 | CURRENT_PRINTER = 263, /* CURRENT_PRINTER */ |
| 63 | SHOW_ALL_PAPER_SIZES = 264, /* SHOW_ALL_PAPER_SIZES */ |
| 64 | PRINTER = 265, /* PRINTER */ |
| 65 | DESTINATION = 266, /* DESTINATION */ |
| 66 | SCALING = 267, /* SCALING */ |
| 67 | ORIENTATION = 268, /* ORIENTATION */ |
| 68 | AUTOSIZE_ROLL_PAPER = 269, /* AUTOSIZE_ROLL_PAPER */ |
| 69 | UNIT = 270, /* UNIT */ |
| 70 | DRIVER = 271, /* DRIVER */ |
| 71 | LEFT = 272, /* LEFT */ |
| 72 | TOP = 273, /* TOP */ |
| 73 | CUSTOM_PAGE_WIDTH = 274, /* CUSTOM_PAGE_WIDTH */ |
| 74 | CUSTOM_PAGE_HEIGHT = 275, /* CUSTOM_PAGE_HEIGHT */ |
| 75 | OUTPUT_TYPE = 276, /* OUTPUT_TYPE */ |
| 76 | PRINTRC_HDR = 277, /* PRINTRC_HDR */ |
| 77 | PARAMETER = 278, /* PARAMETER */ |
| 78 | QUEUE_NAME = 279, /* QUEUE_NAME */ |
| 79 | OUTPUT_FILENAME = 280, /* OUTPUT_FILENAME */ |
| 80 | EXTRA_PRINTER_OPTIONS = 281, /* EXTRA_PRINTER_OPTIONS */ |
| 81 | CUSTOM_COMMAND = 282, /* CUSTOM_COMMAND */ |
| 82 | COMMAND_TYPE = 283, /* COMMAND_TYPE */ |
| 83 | GLOBAL_SETTINGS = 284, /* GLOBAL_SETTINGS */ |
| 84 | GLOBAL = 285, /* GLOBAL */ |
| 85 | END_GLOBAL_SETTINGS = 286, /* END_GLOBAL_SETTINGS */ |
| 86 | pINT = 287, /* pINT */ |
| 87 | pSTRING_LIST = 288, /* pSTRING_LIST */ |
| 88 | pFILE = 289, /* pFILE */ |
| 89 | pDOUBLE = 290, /* pDOUBLE */ |
| 90 | pDIMENSION = 291, /* pDIMENSION */ |
| 91 | pBOOLEAN = 292, /* pBOOLEAN */ |
| 92 | pCURVE = 293 /* pCURVE */ |
| 93 | }; |
| 94 | typedef enum yytokentype yytoken_kind_t; |
| 95 | #endif |
| 96 | /* Token kinds. */ |
| 97 | #define YYEMPTY -2 |
| 98 | #define YYEOF 0 |
| 99 | #define YYerror 256 |
| 100 | #define YYUNDEF 257 |
| 101 | #define tNUMBER 258 |
| 102 | #define tBOOLEAN 259 |
| 103 | #define tSTRING 260 |
| 104 | #define tWORD 261 |
| 105 | #define tGSWORD 262 |
| 106 | #define CURRENT_PRINTER 263 |
| 107 | #define SHOW_ALL_PAPER_SIZES 264 |
| 108 | #define PRINTER 265 |
| 109 | #define DESTINATION 266 |
| 110 | #define SCALING 267 |
| 111 | #define ORIENTATION 268 |
| 112 | #define AUTOSIZE_ROLL_PAPER 269 |
| 113 | #define UNIT 270 |
| 114 | #define DRIVER 271 |
| 115 | #define LEFT 272 |
| 116 | #define TOP 273 |
| 117 | #define CUSTOM_PAGE_WIDTH 274 |
| 118 | #define CUSTOM_PAGE_HEIGHT 275 |
| 119 | #define OUTPUT_TYPE 276 |
| 120 | #define PRINTRC_HDR 277 |
| 121 | #define PARAMETER 278 |
| 122 | #define QUEUE_NAME 279 |
| 123 | #define OUTPUT_FILENAME 280 |
| 124 | #define EXTRA_PRINTER_OPTIONS 281 |
| 125 | #define CUSTOM_COMMAND 282 |
| 126 | #define COMMAND_TYPE 283 |
| 127 | #define GLOBAL_SETTINGS 284 |
| 128 | #define GLOBAL 285 |
| 129 | #define END_GLOBAL_SETTINGS 286 |
| 130 | #define pINT 287 |
| 131 | #define pSTRING_LIST 288 |
| 132 | #define pFILE 289 |
| 133 | #define pDOUBLE 290 |
| 134 | #define pDIMENSION 291 |
| 135 | #define pBOOLEAN 292 |
| 136 | #define pCURVE 293 |
| 137 | |
| 138 | /* Value type. */ |
| 139 | |
| 140 | |
| 141 | extern YYSTYPE yylval; |
| 142 | |
| 143 | |
| 144 | int yyparse (void); |
| 145 | |
| 146 | |
| 147 | #endif /* !YY_YY_PRINTRCY_H_INCLUDED */ |