papyrus logo

path_data_parser.h

Go to the documentation of this file.
00001 /* A Bison parser, made by GNU Bison 2.3.  */
00002 
00003 /* Skeleton interface for Bison's Yacc-like parsers in C
00004 
00005    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00006    Free Software Foundation, Inc.
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    This program is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with this program; if not, write to the Free Software
00020    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021    Boston, MA 02110-1301, USA.  */
00022 
00023 /* As a special exception, you may create a larger work that contains
00024    part or all of the Bison parser skeleton and distribute that work
00025    under terms of your choice, so long as that work isn't itself a
00026    parser generator using the skeleton or a modified version thereof
00027    as a parser skeleton.  Alternatively, if you modify or redistribute
00028    the parser skeleton itself, you may (at your option) remove this
00029    special exception, which will cause the skeleton and the resulting
00030    Bison output files to be licensed under the GNU General Public
00031    License without this special exception.
00032 
00033    This special exception was added by the Free Software Foundation in
00034    version 2.2 of Bison.  */
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 #line 72 "path_data_parser.yy"
00092 {
00093         unsigned unsignedval;
00094         double doubleval;
00095         char charval;
00096         struct {
00097           double x;
00098           double y;
00099         } pair;
00100         struct {
00101           double x1, y1, x2, y2, x, y;
00102         } curveto_arg; 
00103 }
00104 /* Line 1489 of yacc.c.  */
00105 #line 106 "path_data_parser.h"
00106         YYSTYPE;
00107 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00108 # define YYSTYPE_IS_DECLARED 1
00109 # define YYSTYPE_IS_TRIVIAL 1
00110 #endif
00111 
00112 extern YYSTYPE path_data_lval;
00113 

Generated on Wed Mar 18 12:34:04 2009 for papyrus by doxygen 1.5.7.1