papyrus logo

path_data_parser.h

Go to the documentation of this file.
00001 
00002 /* A Bison parser, made by GNU Bison 2.4.1.  */
00003 
00004 /* Skeleton interface for Bison's Yacc-like parsers in C
00005    
00006       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00007    Free Software Foundation, Inc.
00008    
00009    This program is free software: you can redistribute it and/or modify
00010    it under the terms of the GNU General Public License as published by
00011    the Free Software Foundation, either version 3 of the License, or
00012    (at your option) any later version.
00013    
00014    This program is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017    GNU General Public License for more details.
00018    
00019    You should have received a copy of the GNU General Public License
00020    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00021 
00022 /* As a special exception, you may create a larger work that contains
00023    part or all of the Bison parser skeleton and distribute that work
00024    under terms of your choice, so long as that work isn't itself a
00025    parser generator using the skeleton or a modified version thereof
00026    as a parser skeleton.  Alternatively, if you modify or redistribute
00027    the parser skeleton itself, you may (at your option) remove this
00028    special exception, which will cause the skeleton and the resulting
00029    Bison output files to be licensed under the GNU General Public
00030    License without this special exception.
00031    
00032    This special exception was added by the Free Software Foundation in
00033    version 2.2 of Bison.  */
00034 
00035 
00036 /* Tokens.  */
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039    /* Put the tokens into the symbol table, so that GDB and other debuggers
00040       know about them.  */
00041    enum yytokentype {
00042      MOVETO = 258,
00043      REL_MOVETO = 259,
00044      CLOSEPATH = 260,
00045      LINETO = 261,
00046      REL_LINETO = 262,
00047      VERTICAL_LINETO = 263,
00048      REL_VERTICAL_LINETO = 264,
00049      HORIZONTAL_LINETO = 265,
00050      REL_HORIZONTAL_LINETO = 266,
00051      CURVETO = 267,
00052      REL_CURVETO = 268,
00053      SMOOTH_CURVETO = 269,
00054      REL_SMOOTH_CURVETO = 270,
00055      QUADRATIC_BEZIER_CURVETO = 271,
00056      SMOOTH_QUADRATIC_BEZIER_CURVETO = 272,
00057      ELLIPTICAL_ARC = 273,
00058      EXPONENT = 274,
00059      SIGN = 275,
00060      DIGIT_SEQUENCE = 276,
00061      FRACTIONAL_CONSTANT = 277
00062    };
00063 #endif
00064 /* Tokens.  */
00065 #define MOVETO 258
00066 #define REL_MOVETO 259
00067 #define CLOSEPATH 260
00068 #define LINETO 261
00069 #define REL_LINETO 262
00070 #define VERTICAL_LINETO 263
00071 #define REL_VERTICAL_LINETO 264
00072 #define HORIZONTAL_LINETO 265
00073 #define REL_HORIZONTAL_LINETO 266
00074 #define CURVETO 267
00075 #define REL_CURVETO 268
00076 #define SMOOTH_CURVETO 269
00077 #define REL_SMOOTH_CURVETO 270
00078 #define QUADRATIC_BEZIER_CURVETO 271
00079 #define SMOOTH_QUADRATIC_BEZIER_CURVETO 272
00080 #define ELLIPTICAL_ARC 273
00081 #define EXPONENT 274
00082 #define SIGN 275
00083 #define DIGIT_SEQUENCE 276
00084 #define FRACTIONAL_CONSTANT 277
00085 
00086 
00087 
00088 
00089 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00090 typedef union YYSTYPE
00091 {
00092 
00093 /* Line 1676 of yacc.c  */
00094 #line 72 "path_data_parser.yy"
00095 
00096         unsigned unsignedval;
00097         double doubleval;
00098         char charval;
00099         struct {
00100           double x;
00101           double y;
00102         } pair;
00103         struct {
00104           double x1, y1, x2, y2, x, y;
00105         } curveto_arg; 
00106 
00107 
00108 
00109 /* Line 1676 of yacc.c  */
00110 #line 111 "path_data_parser.h"
00111 } YYSTYPE;
00112 # define YYSTYPE_IS_TRIVIAL 1
00113 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00114 # define YYSTYPE_IS_DECLARED 1
00115 #endif
00116 
00117 extern YYSTYPE path_data_lval;
00118 
00119 

Generated on Fri Apr 16 12:40:11 2010 for papyrus by doxygen 1.6.1