libkholidays

parseholiday.h
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      NUMBER = 258,
00043      MONTH = 259,
00044      WDAY = 260,
00045      COLOR = 261,
00046      STRING = 262,
00047      IN = 263,
00048      PLUS = 264,
00049      MINUS = 265,
00050      SMALL = 266,
00051      CYEAR = 267,
00052      LEAPYEAR = 268,
00053      SHIFT = 269,
00054      IF = 270,
00055      LENGTH = 271,
00056      EASTER = 272,
00057      EQ = 273,
00058      NE = 274,
00059      LE = 275,
00060      GE = 276,
00061      LT = 277,
00062      GT = 278,
00063      PASCHA = 279,
00064      OR = 280,
00065      AND = 281,
00066      UMINUS = 282
00067    };
00068 #endif
00069 /* Tokens.  */
00070 #define NUMBER 258
00071 #define MONTH 259
00072 #define WDAY 260
00073 #define COLOR 261
00074 #define STRING 262
00075 #define IN 263
00076 #define PLUS 264
00077 #define MINUS 265
00078 #define SMALL 266
00079 #define CYEAR 267
00080 #define LEAPYEAR 268
00081 #define SHIFT 269
00082 #define IF 270
00083 #define LENGTH 271
00084 #define EASTER 272
00085 #define EQ 273
00086 #define NE 274
00087 #define LE 275
00088 #define GE 276
00089 #define LT 277
00090 #define GT 278
00091 #define PASCHA 279
00092 #define OR 280
00093 #define AND 281
00094 #define UMINUS 282
00095 
00096 
00097 
00098 
00099 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00100 typedef union YYSTYPE
00101 #line 111 "parseholiday.y"
00102 { int ival; char *sval; }
00103 /* Line 1529 of yacc.c.  */
00104 #line 105 "parseholiday.h"
00105     YYSTYPE;
00106 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00107 # define YYSTYPE_IS_DECLARED 1
00108 # define YYSTYPE_IS_TRIVIAL 1
00109 #endif
00110 
00111 extern YYSTYPE kcallval;
00112