201 lines
6.4 KiB
C
201 lines
6.4 KiB
C
/* A Bison parser, made by GNU Bison 3.7.6. */
|
|
|
|
/* Bison interface for Yacc-like parsers in C
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
|
|
Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
under terms of your choice, so long as that work isn't itself a
|
|
parser generator using the skeleton or a modified version thereof
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
special exception, which will cause the skeleton and the resulting
|
|
Bison output files to be licensed under the GNU General Public
|
|
License without this special exception.
|
|
|
|
This special exception was added by the Free Software Foundation in
|
|
version 2.2 of Bison. */
|
|
|
|
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
|
|
especially those whose name start with YY_ or yy_. They are
|
|
private implementation details that can be changed or removed. */
|
|
|
|
#ifndef YY_YY_GRAM_H_INCLUDED
|
|
# define YY_YY_GRAM_H_INCLUDED
|
|
/* Debug traces. */
|
|
#ifndef YYDEBUG
|
|
# define YYDEBUG 0
|
|
#endif
|
|
#if YYDEBUG
|
|
extern int yydebug;
|
|
#endif
|
|
|
|
/* Token kinds. */
|
|
#ifndef YYTOKENTYPE
|
|
# define YYTOKENTYPE
|
|
enum yytokentype
|
|
{
|
|
YYEMPTY = -2,
|
|
YYEOF = 0, /* "end of file" */
|
|
YYerror = 256, /* error */
|
|
YYUNDEF = 257, /* "invalid token" */
|
|
LB = 258, /* LB */
|
|
RB = 259, /* RB */
|
|
LP = 260, /* LP */
|
|
RP = 261, /* RP */
|
|
MENUS = 262, /* MENUS */
|
|
MENU = 263, /* MENU */
|
|
BUTTON = 264, /* BUTTON */
|
|
DEFAULT_FUNCTION = 265, /* DEFAULT_FUNCTION */
|
|
PLUS = 266, /* PLUS */
|
|
MINUS = 267, /* MINUS */
|
|
ALL = 268, /* ALL */
|
|
OR = 269, /* OR */
|
|
CURSORS = 270, /* CURSORS */
|
|
ICONS = 271, /* ICONS */
|
|
COLOR = 272, /* COLOR */
|
|
SAVECOLOR = 273, /* SAVECOLOR */
|
|
MONOCHROME = 274, /* MONOCHROME */
|
|
WINDOW_FUNCTION = 275, /* WINDOW_FUNCTION */
|
|
MAKE_TITLE = 276, /* MAKE_TITLE */
|
|
GRAYSCALE = 277, /* GRAYSCALE */
|
|
NO_TITLE = 278, /* NO_TITLE */
|
|
AUTO_RAISE = 279, /* AUTO_RAISE */
|
|
META = 280, /* META */
|
|
SHIFT = 281, /* SHIFT */
|
|
LOCK = 282, /* LOCK */
|
|
CONTROL = 283, /* CONTROL */
|
|
WINDOW = 284, /* WINDOW */
|
|
TITLE = 285, /* TITLE */
|
|
ICON = 286, /* ICON */
|
|
ROOT = 287, /* ROOT */
|
|
FRAME = 288, /* FRAME */
|
|
COLON = 289, /* COLON */
|
|
EQUALS = 290, /* EQUALS */
|
|
START_ICONIFIED = 291, /* START_ICONIFIED */
|
|
MOVE = 292, /* MOVE */
|
|
RESIZE = 293, /* RESIZE */
|
|
WAIT = 294, /* WAIT */
|
|
SELECT = 295, /* SELECT */
|
|
KILL = 296, /* KILL */
|
|
LEFT_TITLEBUTTON = 297, /* LEFT_TITLEBUTTON */
|
|
RIGHT_TITLEBUTTON = 298, /* RIGHT_TITLEBUTTON */
|
|
NUMBER = 299, /* NUMBER */
|
|
KEYWORD = 300, /* KEYWORD */
|
|
NKEYWORD = 301, /* NKEYWORD */
|
|
CKEYWORD = 302, /* CKEYWORD */
|
|
CLKEYWORD = 303, /* CLKEYWORD */
|
|
FKEYWORD = 304, /* FKEYWORD */
|
|
FSKEYWORD = 305, /* FSKEYWORD */
|
|
SKEYWORD = 306, /* SKEYWORD */
|
|
DKEYWORD = 307, /* DKEYWORD */
|
|
JKEYWORD = 308, /* JKEYWORD */
|
|
WINDOW_RING = 309, /* WINDOW_RING */
|
|
WARP_CURSOR = 310, /* WARP_CURSOR */
|
|
ERRORTOKEN = 311, /* ERRORTOKEN */
|
|
NO_STACKMODE = 312, /* NO_STACKMODE */
|
|
STRING = 313 /* STRING */
|
|
};
|
|
typedef enum yytokentype yytoken_kind_t;
|
|
#endif
|
|
/* Token kinds. */
|
|
#define YYEMPTY -2
|
|
#define YYEOF 0
|
|
#define YYerror 256
|
|
#define YYUNDEF 257
|
|
#define LB 258
|
|
#define RB 259
|
|
#define LP 260
|
|
#define RP 261
|
|
#define MENUS 262
|
|
#define MENU 263
|
|
#define BUTTON 264
|
|
#define DEFAULT_FUNCTION 265
|
|
#define PLUS 266
|
|
#define MINUS 267
|
|
#define ALL 268
|
|
#define OR 269
|
|
#define CURSORS 270
|
|
#define ICONS 271
|
|
#define COLOR 272
|
|
#define SAVECOLOR 273
|
|
#define MONOCHROME 274
|
|
#define WINDOW_FUNCTION 275
|
|
#define MAKE_TITLE 276
|
|
#define GRAYSCALE 277
|
|
#define NO_TITLE 278
|
|
#define AUTO_RAISE 279
|
|
#define META 280
|
|
#define SHIFT 281
|
|
#define LOCK 282
|
|
#define CONTROL 283
|
|
#define WINDOW 284
|
|
#define TITLE 285
|
|
#define ICON 286
|
|
#define ROOT 287
|
|
#define FRAME 288
|
|
#define COLON 289
|
|
#define EQUALS 290
|
|
#define START_ICONIFIED 291
|
|
#define MOVE 292
|
|
#define RESIZE 293
|
|
#define WAIT 294
|
|
#define SELECT 295
|
|
#define KILL 296
|
|
#define LEFT_TITLEBUTTON 297
|
|
#define RIGHT_TITLEBUTTON 298
|
|
#define NUMBER 299
|
|
#define KEYWORD 300
|
|
#define NKEYWORD 301
|
|
#define CKEYWORD 302
|
|
#define CLKEYWORD 303
|
|
#define FKEYWORD 304
|
|
#define FSKEYWORD 305
|
|
#define SKEYWORD 306
|
|
#define DKEYWORD 307
|
|
#define JKEYWORD 308
|
|
#define WINDOW_RING 309
|
|
#define WARP_CURSOR 310
|
|
#define ERRORTOKEN 311
|
|
#define NO_STACKMODE 312
|
|
#define STRING 313
|
|
|
|
/* Value type. */
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
union YYSTYPE
|
|
{
|
|
#line 106 "gram.y"
|
|
|
|
int num;
|
|
char *ptr;
|
|
|
|
#line 188 "gram.h"
|
|
|
|
};
|
|
typedef union YYSTYPE YYSTYPE;
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
#endif
|
|
|
|
|
|
extern YYSTYPE yylval;
|
|
|
|
int yyparse (void);
|
|
|
|
#endif /* !YY_YY_GRAM_H_INCLUDED */
|