gram.h revision fd7d9bd3
1/* A Bison parser, made by GNU Bison 1.875c. */ 2 3/* Skeleton parser for Yacc-like parsing with Bison, 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 59 Temple Place - Suite 330, 19 Boston, MA 02111-1307, USA. */ 20 21/* As a special exception, when this file is copied by Bison into a 22 Bison output file, you may use that output file without restriction. 23 This special exception was added by the Free Software Foundation 24 in version 1.24 of Bison. */ 25 26/* Tokens. */ 27#ifndef YYTOKENTYPE 28# define YYTOKENTYPE 29 /* Put the tokens into the symbol table, so that GDB and other debuggers 30 know about them. */ 31 enum yytokentype { 32 STRING = 258, 33 NUMBER = 259, 34 RUN = 260, 35 FUNCTION = 261, 36 FUNCTIONTYPE = 262, 37 TEST = 263, 38 TESTTYPE = 264, 39 LINESTYLE = 265, 40 LINESTYLETYPE = 266, 41 CAPSTYLE = 267, 42 CAPSTYLETYPE = 268, 43 JOINSTYLE = 269, 44 JOINSTYLETYPE = 270, 45 ROUND = 271, 46 SOLID = 272, 47 FILLSTYLE = 273, 48 FILLSTYLETYPE = 274, 49 FILLRULE = 275, 50 FILLRULETYPE = 276, 51 ARCMODE = 277, 52 ARCMODETYPE = 278, 53 FOREGROUND = 279, 54 BACKGROUND = 280, 55 LINEWIDTH = 281, 56 PLANEMASK = 282, 57 DASHLIST = 283, 58 PERCENT = 284, 59 FONT = 285 60 }; 61#endif 62#define STRING 258 63#define NUMBER 259 64#define RUN 260 65#define FUNCTION 261 66#define FUNCTIONTYPE 262 67#define TEST 263 68#define TESTTYPE 264 69#define LINESTYLE 265 70#define LINESTYLETYPE 266 71#define CAPSTYLE 267 72#define CAPSTYLETYPE 268 73#define JOINSTYLE 269 74#define JOINSTYLETYPE 270 75#define ROUND 271 76#define SOLID 272 77#define FILLSTYLE 273 78#define FILLSTYLETYPE 274 79#define FILLRULE 275 80#define FILLRULETYPE 276 81#define ARCMODE 277 82#define ARCMODETYPE 278 83#define FOREGROUND 279 84#define BACKGROUND 280 85#define LINEWIDTH 281 86#define PLANEMASK 282 87#define DASHLIST 283 88#define PERCENT 284 89#define FONT 285 90 91 92 93 94#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 95#line 19 "gram.y" 96typedef union YYSTYPE { 97 int num; 98 char *ptr; 99} YYSTYPE; 100/* Line 1275 of yacc.c. */ 101#line 102 "y.tab.h" 102# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 103# define YYSTYPE_IS_DECLARED 1 104# define YYSTYPE_IS_TRIVIAL 1 105#endif 106 107extern YYSTYPE yylval; 108 109 110 111