2019-10-07 02:28:07 +00:00
|
|
|
/* A Bison parser, made by GNU Bison 3.0.4. */
|
|
|
|
|
|
|
|
/* Bison interface for Yacc-like parsers in C
|
|
|
|
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015 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 <http://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. */
|
|
|
|
|
|
|
|
#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 type. */
|
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
# define YYTOKENTYPE
|
|
|
|
enum yytokentype
|
|
|
|
{
|
|
|
|
LB = 258,
|
|
|
|
RB = 259,
|
|
|
|
LP = 260,
|
|
|
|
RP = 261,
|
|
|
|
MENUS = 262,
|
|
|
|
MENU = 263,
|
|
|
|
BUTTON = 264,
|
|
|
|
DEFAULT_FUNCTION = 265,
|
|
|
|
PLUS = 266,
|
|
|
|
MINUS = 267,
|
|
|
|
ALL = 268,
|
|
|
|
OR = 269,
|
|
|
|
CURSORS = 270,
|
|
|
|
ICONS = 271,
|
|
|
|
COLOR = 272,
|
|
|
|
SAVECOLOR = 273,
|
|
|
|
MONOCHROME = 274,
|
|
|
|
WINDOW_FUNCTION = 276,
|
2021-02-01 04:41:29 +00:00
|
|
|
MAKE_TITLE = 277,
|
|
|
|
GRAYSCALE = 278,
|
|
|
|
NO_TITLE = 279,
|
|
|
|
AUTO_RAISE = 280,
|
|
|
|
META = 281,
|
|
|
|
SHIFT = 282,
|
|
|
|
LOCK = 283,
|
|
|
|
CONTROL = 284,
|
|
|
|
WINDOW = 285,
|
|
|
|
TITLE = 286,
|
|
|
|
ICON = 287,
|
|
|
|
ROOT = 288,
|
|
|
|
FRAME = 289,
|
|
|
|
COLON = 290,
|
|
|
|
EQUALS = 291,
|
|
|
|
START_ICONIFIED = 292,
|
|
|
|
MOVE = 293,
|
|
|
|
RESIZE = 294,
|
|
|
|
WAIT = 295,
|
|
|
|
SELECT = 296,
|
|
|
|
KILL = 297,
|
|
|
|
LEFT_TITLEBUTTON = 298,
|
|
|
|
RIGHT_TITLEBUTTON = 299,
|
|
|
|
NUMBER = 300,
|
|
|
|
KEYWORD = 301,
|
|
|
|
NKEYWORD = 302,
|
|
|
|
CKEYWORD = 303,
|
|
|
|
CLKEYWORD = 304,
|
|
|
|
FKEYWORD = 305,
|
|
|
|
FSKEYWORD = 306,
|
|
|
|
SKEYWORD = 307,
|
|
|
|
DKEYWORD = 308,
|
|
|
|
JKEYWORD = 309,
|
|
|
|
WINDOW_RING = 310,
|
|
|
|
WARP_CURSOR = 311,
|
|
|
|
ERRORTOKEN = 312,
|
|
|
|
NO_STACKMODE = 313,
|
|
|
|
STRING = 314
|
2019-10-07 02:28:07 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
/* Tokens. */
|
|
|
|
#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 276
|
2021-02-01 04:41:29 +00:00
|
|
|
#define MAKE_TITLE 277
|
|
|
|
#define GRAYSCALE 278
|
|
|
|
#define NO_TITLE 279
|
|
|
|
#define AUTO_RAISE 280
|
|
|
|
#define META 281
|
|
|
|
#define SHIFT 282
|
|
|
|
#define LOCK 283
|
|
|
|
#define CONTROL 284
|
|
|
|
#define WINDOW 285
|
|
|
|
#define TITLE 286
|
|
|
|
#define ICON 287
|
|
|
|
#define ROOT 288
|
|
|
|
#define FRAME 289
|
|
|
|
#define COLON 290
|
|
|
|
#define EQUALS 291
|
|
|
|
#define START_ICONIFIED 292
|
|
|
|
#define MOVE 293
|
|
|
|
#define RESIZE 294
|
|
|
|
#define WAIT 295
|
|
|
|
#define SELECT 296
|
|
|
|
#define KILL 297
|
|
|
|
#define LEFT_TITLEBUTTON 298
|
|
|
|
#define RIGHT_TITLEBUTTON 299
|
|
|
|
#define NUMBER 300
|
|
|
|
#define KEYWORD 301
|
|
|
|
#define NKEYWORD 302
|
|
|
|
#define CKEYWORD 303
|
|
|
|
#define CLKEYWORD 304
|
|
|
|
#define FKEYWORD 305
|
|
|
|
#define FSKEYWORD 306
|
|
|
|
#define SKEYWORD 307
|
|
|
|
#define DKEYWORD 308
|
|
|
|
#define JKEYWORD 309
|
|
|
|
#define WINDOW_RING 310
|
|
|
|
#define WARP_CURSOR 311
|
|
|
|
#define ERRORTOKEN 312
|
|
|
|
#define NO_STACKMODE 313
|
|
|
|
#define STRING 314
|
2019-10-07 02:28:07 +00:00
|
|
|
|
|
|
|
/* Value type. */
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
|
|
|
|
|
|
union YYSTYPE
|
2017-09-16 03:01:49 +00:00
|
|
|
{
|
2019-10-07 02:28:07 +00:00
|
|
|
#line 106 "gram.y" /* yacc.c:1909 */
|
|
|
|
|
2017-09-16 03:01:49 +00:00
|
|
|
int num;
|
|
|
|
char *ptr;
|
2019-10-07 02:28:07 +00:00
|
|
|
|
2021-02-01 04:41:29 +00:00
|
|
|
#line 177 "gram.h" /* yacc.c:1909 */
|
2019-10-07 02:28:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef union YYSTYPE YYSTYPE;
|
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2017-09-16 03:01:49 +00:00
|
|
|
extern YYSTYPE yylval;
|
2019-10-07 02:28:07 +00:00
|
|
|
|
|
|
|
int yyparse (void);
|
|
|
|
|
|
|
|
#endif /* !YY_YY_GRAM_H_INCLUDED */
|