1 /* A Bison parser, made by GNU Bison 3.1. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018 Free Software Foundation, Inc. 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19 20 /* As a special exception, you may create a larger work that contains 21 part or all of the Bison parser skeleton and distribute that work 22 under terms of your choice, so long as that work isn't itself a 23 parser generator using the skeleton or a modified version thereof 24 as a parser skeleton. Alternatively, if you modify or redistribute 25 the parser skeleton itself, you may (at your option) remove this 26 special exception, which will cause the skeleton and the resulting 27 Bison output files to be licensed under the GNU General Public 28 License without this special exception. 29 30 This special exception was added by the Free Software Foundation in 31 version 2.2 of Bison. */ 32 33 #ifndef YY_YY_GRAM_H_INCLUDED 34 # define YY_YY_GRAM_H_INCLUDED 35 /* Debug traces. */ 36 #ifndef YYDEBUG 37 # define YYDEBUG 0 38 #endif 39 #if YYDEBUG 40 extern int yydebug; 41 #endif 42 43 /* Token type. */ 44 #ifndef YYTOKENTYPE 45 # define YYTOKENTYPE 46 enum yytokentype 47 { 48 LB = 258, 49 RB = 259, 50 LP = 260, 51 RP = 261, 52 MENUS = 262, 53 MENU = 263, 54 BUTTON = 264, 55 DEFAULT_FUNCTION = 265, 56 PLUS = 266, 57 MINUS = 267, 58 ALL = 268, 59 OR = 269, 60 CURSORS = 270, 61 PIXMAPS = 271, 62 ICONS = 272, 63 COLOR = 273, 64 SAVECOLOR = 274, 65 MONOCHROME = 275, 66 FUNCTION = 276, 67 ICONMGR_SHOW = 277, 68 ICONMGR = 278, 69 WINDOW_FUNCTION = 279, 70 ZOOM = 280, 71 ICONMGRS = 281, 72 ICONMGR_GEOMETRY = 282, 73 ICONMGR_NOSHOW = 283, 74 MAKE_TITLE = 284, 75 GRAYSCALE = 285, 76 ICONIFY_BY_UNMAPPING = 286, 77 DONT_ICONIFY_BY_UNMAPPING = 287, 78 NO_TITLE = 288, 79 AUTO_RAISE = 289, 80 NO_HILITE = 290, 81 ICON_REGION = 291, 82 META = 292, 83 SHIFT = 293, 84 LOCK = 294, 85 CONTROL = 295, 86 WINDOW = 296, 87 TITLE = 297, 88 ICON = 298, 89 ROOT = 299, 90 FRAME = 300, 91 COLON = 301, 92 EQUALS = 302, 93 SQUEEZE_TITLE = 303, 94 DONT_SQUEEZE_TITLE = 304, 95 START_ICONIFIED = 305, 96 NO_TITLE_HILITE = 306, 97 TITLE_HILITE = 307, 98 MOVE = 308, 99 RESIZE = 309, 100 WAIT = 310, 101 SELECT = 311, 102 KILL = 312, 103 LEFT_TITLEBUTTON = 313, 104 RIGHT_TITLEBUTTON = 314, 105 NUMBER = 315, 106 KEYWORD = 316, 107 NKEYWORD = 317, 108 CKEYWORD = 318, 109 CLKEYWORD = 319, 110 FKEYWORD = 320, 111 FSKEYWORD = 321, 112 SKEYWORD = 322, 113 DKEYWORD = 323, 114 JKEYWORD = 324, 115 WINDOW_RING = 325, 116 WARP_CURSOR = 326, 117 ERRORTOKEN = 327, 118 NO_STACKMODE = 328, 119 STRING = 329 120 }; 121 #endif 122 /* Tokens. */ 123 #define LB 258 124 #define RB 259 125 #define LP 260 126 #define RP 261 127 #define MENUS 262 128 #define MENU 263 129 #define BUTTON 264 130 #define DEFAULT_FUNCTION 265 131 #define PLUS 266 132 #define MINUS 267 133 #define ALL 268 134 #define OR 269 135 #define CURSORS 270 136 #define PIXMAPS 271 137 #define ICONS 272 138 #define COLOR 273 139 #define SAVECOLOR 274 140 #define MONOCHROME 275 141 #define FUNCTION 276 142 #define ICONMGR_SHOW 277 143 #define ICONMGR 278 144 #define WINDOW_FUNCTION 279 145 #define ZOOM 280 146 #define ICONMGRS 281 147 #define ICONMGR_GEOMETRY 282 148 #define ICONMGR_NOSHOW 283 149 #define MAKE_TITLE 284 150 #define GRAYSCALE 285 151 #define ICONIFY_BY_UNMAPPING 286 152 #define DONT_ICONIFY_BY_UNMAPPING 287 153 #define NO_TITLE 288 154 #define AUTO_RAISE 289 155 #define NO_HILITE 290 156 #define ICON_REGION 291 157 #define META 292 158 #define SHIFT 293 159 #define LOCK 294 160 #define CONTROL 295 161 #define WINDOW 296 162 #define TITLE 297 163 #define ICON 298 164 #define ROOT 299 165 #define FRAME 300 166 #define COLON 301 167 #define EQUALS 302 168 #define SQUEEZE_TITLE 303 169 #define DONT_SQUEEZE_TITLE 304 170 #define START_ICONIFIED 305 171 #define NO_TITLE_HILITE 306 172 #define TITLE_HILITE 307 173 #define MOVE 308 174 #define RESIZE 309 175 #define WAIT 310 176 #define SELECT 311 177 #define KILL 312 178 #define LEFT_TITLEBUTTON 313 179 #define RIGHT_TITLEBUTTON 314 180 #define NUMBER 315 181 #define KEYWORD 316 182 #define NKEYWORD 317 183 #define CKEYWORD 318 184 #define CLKEYWORD 319 185 #define FKEYWORD 320 186 #define FSKEYWORD 321 187 #define SKEYWORD 322 188 #define DKEYWORD 323 189 #define JKEYWORD 324 190 #define WINDOW_RING 325 191 #define WARP_CURSOR 326 192 #define ERRORTOKEN 327 193 #define NO_STACKMODE 328 194 #define STRING 329 195 196 /* Value type. */ 197 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 198 199 union YYSTYPE 200 { 201 #line 108 "gram.y" /* yacc.c:1913 */ 202 203 int num; 204 char *ptr; 205 206 #line 207 "gram.h" /* yacc.c:1913 */ 207 }; 208 209 typedef union YYSTYPE YYSTYPE; 210 # define YYSTYPE_IS_TRIVIAL 1 211 # define YYSTYPE_IS_DECLARED 1 212 #endif 213 214 215 extern YYSTYPE yylval; 216 217 int yyparse (void); 218 219 #endif /* !YY_YY_GRAM_H_INCLUDED */ 220