/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { FZ_INT_LIT = 258, FZ_BOOL_LIT = 259, FZ_FLOAT_LIT = 260, FZ_ID = 261, FZ_U_ID = 262, FZ_STRING_LIT = 263, FZ_VAR = 264, FZ_PAR = 265, FZ_ANNOTATION = 266, FZ_ANY = 267, FZ_ARRAY = 268, FZ_BOOL = 269, FZ_CASE = 270, FZ_COLONCOLON = 271, FZ_CONSTRAINT = 272, FZ_DEFAULT = 273, FZ_DOTDOT = 274, FZ_ELSE = 275, FZ_ELSEIF = 276, FZ_ENDIF = 277, FZ_ENUM = 278, FZ_FLOAT = 279, FZ_FUNCTION = 280, FZ_IF = 281, FZ_INCLUDE = 282, FZ_INT = 283, FZ_LET = 284, FZ_MAXIMIZE = 285, FZ_MINIMIZE = 286, FZ_OF = 287, FZ_SATISFY = 288, FZ_OUTPUT = 289, FZ_PREDICATE = 290, FZ_RECORD = 291, FZ_SET = 292, FZ_SHOW = 293, FZ_SHOWCOND = 294, FZ_SOLVE = 295, FZ_STRING = 296, FZ_TEST = 297, FZ_THEN = 298, FZ_TUPLE = 299, FZ_TYPE = 300, FZ_VARIANT_RECORD = 301, FZ_WHERE = 302 }; #endif /* Tokens. */ #define FZ_INT_LIT 258 #define FZ_BOOL_LIT 259 #define FZ_FLOAT_LIT 260 #define FZ_ID 261 #define FZ_U_ID 262 #define FZ_STRING_LIT 263 #define FZ_VAR 264 #define FZ_PAR 265 #define FZ_ANNOTATION 266 #define FZ_ANY 267 #define FZ_ARRAY 268 #define FZ_BOOL 269 #define FZ_CASE 270 #define FZ_COLONCOLON 271 #define FZ_CONSTRAINT 272 #define FZ_DEFAULT 273 #define FZ_DOTDOT 274 #define FZ_ELSE 275 #define FZ_ELSEIF 276 #define FZ_ENDIF 277 #define FZ_ENUM 278 #define FZ_FLOAT 279 #define FZ_FUNCTION 280 #define FZ_IF 281 #define FZ_INCLUDE 282 #define FZ_INT 283 #define FZ_LET 284 #define FZ_MAXIMIZE 285 #define FZ_MINIMIZE 286 #define FZ_OF 287 #define FZ_SATISFY 288 #define FZ_OUTPUT 289 #define FZ_PREDICATE 290 #define FZ_RECORD 291 #define FZ_SET 292 #define FZ_SHOW 293 #define FZ_SHOWCOND 294 #define FZ_SOLVE 295 #define FZ_STRING 296 #define FZ_TEST 297 #define FZ_THEN 298 #define FZ_TUPLE 299 #define FZ_TYPE 300 #define FZ_VARIANT_RECORD 301 #define FZ_WHERE 302 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 347 "gecode/flatzinc/parser.yxx" { int iValue; char* sValue; bool bValue; double dValue; std::vector* setValue; Gecode::FlatZinc::AST::SetLit* setLit; std::vector* floatSetValue; std::vector* setValueList; Gecode::FlatZinc::Option oSet; Gecode::FlatZinc::VarSpec* varSpec; Gecode::FlatZinc::Option oArg; std::vector* varSpecVec; Gecode::FlatZinc::Option* > oVarSpecVec; Gecode::FlatZinc::AST::Node* arg; Gecode::FlatZinc::AST::Array* argVec; } /* Line 1529 of yacc.c. */ #line 157 "gecode/flatzinc/parser.tab.hpp" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif