/usr/include/gecode/flatzinc/parser.tab.hh is in libgecode-dev 5.1.0-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | /* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */
/* 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. */
#ifndef YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED
# define YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 1
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
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
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 474 "gecode/flatzinc/parser.yxx" /* yacc.c:1909 */
int iValue; char* sValue; bool bValue; double dValue;
std::vector<int>* setValue;
Gecode::FlatZinc::AST::SetLit* setLit;
std::vector<double>* floatSetValue;
std::vector<Gecode::FlatZinc::AST::SetLit>* setValueList;
Gecode::FlatZinc::Option<Gecode::FlatZinc::AST::SetLit* > oSet;
Gecode::FlatZinc::Option<std::pair<double,double>* > oPFloat;
Gecode::FlatZinc::VarSpec* varSpec;
Gecode::FlatZinc::Option<Gecode::FlatZinc::AST::Node*> oArg;
std::vector<Gecode::FlatZinc::VarSpec*>* varSpecVec;
Gecode::FlatZinc::Option<std::vector<Gecode::FlatZinc::VarSpec*>* > oVarSpecVec;
Gecode::FlatZinc::AST::Node* arg;
Gecode::FlatZinc::AST::Array* argVec;
#line 118 "gecode/flatzinc/parser.tab.hpp" /* yacc.c:1909 */
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
int yyparse (void *parm);
#endif /* !YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED */
|