1 2/* A Bison parser, made by GNU Bison 2.4.1. */ 3 4/* Skeleton interface for Bison's Yacc-like parsers in C 5 6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 7 Free Software Foundation, Inc. 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 21 22/* As a special exception, you may create a larger work that contains 23 part or all of the Bison parser skeleton and distribute that work 24 under terms of your choice, so long as that work isn't itself a 25 parser generator using the skeleton or a modified version thereof 26 as a parser skeleton. Alternatively, if you modify or redistribute 27 the parser skeleton itself, you may (at your option) remove this 28 special exception, which will cause the skeleton and the resulting 29 Bison output files to be licensed under the GNU General Public 30 License without this special exception. 31 32 This special exception was added by the Free Software Foundation in 33 version 2.2 of Bison. */ 34 35 36/* Tokens. */ 37#ifndef YYTOKENTYPE 38# define YYTOKENTYPE 39 /* Put the tokens into the symbol table, so that GDB and other debuggers 40 know about them. */ 41 enum yytokentype { 42 tINT = 258, 43 tDOUBLE = 259, 44 tSTRING = 260, 45 COLOR = 261, 46 GAMMA = 262, 47 LEVEL = 263, 48 STEPS = 264, 49 INK_LIMIT = 265, 50 PRINTER = 266, 51 PARAMETER = 267, 52 PARAMETER_INT = 268, 53 PARAMETER_BOOL = 269, 54 PARAMETER_FLOAT = 270, 55 PARAMETER_CURVE = 271, 56 DENSITY = 272, 57 TOP = 273, 58 LEFT = 274, 59 SIZE_MODE = 275, 60 RELATIVE = 276, 61 PT = 277, 62 IN = 278, 63 MM = 279, 64 HSIZE = 280, 65 VSIZE = 281, 66 BLACKLINE = 282, 67 NOSCALE = 283, 68 PATTERN = 284, 69 XPATTERN = 285, 70 EXTENDED = 286, 71 IMAGE = 287, 72 GRID = 288, 73 SEMI = 289, 74 CHANNEL = 290, 75 CMYK = 291, 76 KCMY = 292, 77 RGB = 293, 78 CMY = 294, 79 GRAY = 295, 80 WHITE = 296, 81 MODE = 297, 82 PAGESIZE = 298, 83 MESSAGE = 299, 84 OUTPUT = 300, 85 START_JOB = 301, 86 END_JOB = 302, 87 END = 303 88 }; 89#endif 90/* Tokens. */ 91#define tINT 258 92#define tDOUBLE 259 93#define tSTRING 260 94#define COLOR 261 95#define GAMMA 262 96#define LEVEL 263 97#define STEPS 264 98#define INK_LIMIT 265 99#define PRINTER 266 100#define PARAMETER 267 101#define PARAMETER_INT 268 102#define PARAMETER_BOOL 269 103#define PARAMETER_FLOAT 270 104#define PARAMETER_CURVE 271 105#define DENSITY 272 106#define TOP 273 107#define LEFT 274 108#define SIZE_MODE 275 109#define RELATIVE 276 110#define PT 277 111#define IN 278 112#define MM 279 113#define HSIZE 280 114#define VSIZE 281 115#define BLACKLINE 282 116#define NOSCALE 283 117#define PATTERN 284 118#define XPATTERN 285 119#define EXTENDED 286 120#define IMAGE 287 121#define GRID 288 122#define SEMI 289 123#define CHANNEL 290 124#define CMYK 291 125#define KCMY 292 126#define RGB 293 127#define CMY 294 128#define GRAY 295 129#define WHITE 296 130#define MODE 297 131#define PAGESIZE 298 132#define MESSAGE 299 133#define OUTPUT 300 134#define START_JOB 301 135#define END_JOB 302 136#define END 303 137 138 139 140 141#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 142 143# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 144# define YYSTYPE_IS_DECLARED 1 145#endif 146 147extern YYSTYPE yylval; 148 149 150