dep-selector-libgecode 1.0.0.alpha.1 → 1.0.0.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/libgecode3/extconf.rb +24 -7
- data/ext/libgecode3/vendor/gecode-3.7.3/gecode/flatzinc/lexer.yy.cpp +25 -11
- data/ext/libgecode3/vendor/gecode-3.7.3/gecode/flatzinc/parser.tab.cpp +422 -217
- data/ext/libgecode3/vendor/gecode-3.7.3/gecode/flatzinc/parser.tab.hh +25 -67
- data/lib/dep-selector-libgecode/version.rb +1 -1
- metadata +1 -1
@@ -1,24 +1,22 @@
|
|
1
|
-
/* A Bison parser, made by GNU Bison 2.
|
1
|
+
/* A Bison parser, made by GNU Bison 2.4.2. */
|
2
2
|
|
3
3
|
/* Skeleton interface for Bison's Yacc-like parsers in C
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
This program is free software
|
4
|
+
|
5
|
+
Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software
|
6
|
+
Foundation, Inc.
|
7
|
+
|
8
|
+
This program is free software: you can redistribute it and/or modify
|
9
9
|
it under the terms of the GNU General Public License as published by
|
10
|
-
the Free Software Foundation
|
11
|
-
any later version.
|
12
|
-
|
10
|
+
the Free Software Foundation, either version 3 of the License, or
|
11
|
+
(at your option) any later version.
|
12
|
+
|
13
13
|
This program is distributed in the hope that it will be useful,
|
14
14
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
15
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
16
|
GNU General Public License for more details.
|
17
|
-
|
17
|
+
|
18
18
|
You should have received a copy of the GNU General Public License
|
19
|
-
along with this program
|
20
|
-
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
21
|
-
Boston, MA 02110-1301, USA. */
|
19
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
22
20
|
|
23
21
|
/* As a special exception, you may create a larger work that contains
|
24
22
|
part or all of the Bison parser skeleton and distribute that work
|
@@ -29,10 +27,11 @@
|
|
29
27
|
special exception, which will cause the skeleton and the resulting
|
30
28
|
Bison output files to be licensed under the GNU General Public
|
31
29
|
License without this special exception.
|
32
|
-
|
30
|
+
|
33
31
|
This special exception was added by the Free Software Foundation in
|
34
32
|
version 2.2 of Bison. */
|
35
33
|
|
34
|
+
|
36
35
|
/* Tokens. */
|
37
36
|
#ifndef YYTOKENTYPE
|
38
37
|
# define YYTOKENTYPE
|
@@ -86,60 +85,16 @@
|
|
86
85
|
FZ_WHERE = 302
|
87
86
|
};
|
88
87
|
#endif
|
89
|
-
/* Tokens. */
|
90
|
-
#define FZ_INT_LIT 258
|
91
|
-
#define FZ_BOOL_LIT 259
|
92
|
-
#define FZ_FLOAT_LIT 260
|
93
|
-
#define FZ_ID 261
|
94
|
-
#define FZ_U_ID 262
|
95
|
-
#define FZ_STRING_LIT 263
|
96
|
-
#define FZ_VAR 264
|
97
|
-
#define FZ_PAR 265
|
98
|
-
#define FZ_ANNOTATION 266
|
99
|
-
#define FZ_ANY 267
|
100
|
-
#define FZ_ARRAY 268
|
101
|
-
#define FZ_BOOL 269
|
102
|
-
#define FZ_CASE 270
|
103
|
-
#define FZ_COLONCOLON 271
|
104
|
-
#define FZ_CONSTRAINT 272
|
105
|
-
#define FZ_DEFAULT 273
|
106
|
-
#define FZ_DOTDOT 274
|
107
|
-
#define FZ_ELSE 275
|
108
|
-
#define FZ_ELSEIF 276
|
109
|
-
#define FZ_ENDIF 277
|
110
|
-
#define FZ_ENUM 278
|
111
|
-
#define FZ_FLOAT 279
|
112
|
-
#define FZ_FUNCTION 280
|
113
|
-
#define FZ_IF 281
|
114
|
-
#define FZ_INCLUDE 282
|
115
|
-
#define FZ_INT 283
|
116
|
-
#define FZ_LET 284
|
117
|
-
#define FZ_MAXIMIZE 285
|
118
|
-
#define FZ_MINIMIZE 286
|
119
|
-
#define FZ_OF 287
|
120
|
-
#define FZ_SATISFY 288
|
121
|
-
#define FZ_OUTPUT 289
|
122
|
-
#define FZ_PREDICATE 290
|
123
|
-
#define FZ_RECORD 291
|
124
|
-
#define FZ_SET 292
|
125
|
-
#define FZ_SHOW 293
|
126
|
-
#define FZ_SHOWCOND 294
|
127
|
-
#define FZ_SOLVE 295
|
128
|
-
#define FZ_STRING 296
|
129
|
-
#define FZ_TEST 297
|
130
|
-
#define FZ_THEN 298
|
131
|
-
#define FZ_TUPLE 299
|
132
|
-
#define FZ_TYPE 300
|
133
|
-
#define FZ_VARIANT_RECORD 301
|
134
|
-
#define FZ_WHERE 302
|
135
|
-
|
136
88
|
|
137
89
|
|
138
90
|
|
139
91
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
140
92
|
typedef union YYSTYPE
|
93
|
+
{
|
94
|
+
|
95
|
+
/* Line 1685 of yacc.c */
|
141
96
|
#line 347 "gecode/flatzinc/parser.yxx"
|
142
|
-
|
97
|
+
int iValue; char* sValue; bool bValue; double dValue;
|
143
98
|
std::vector<int>* setValue;
|
144
99
|
Gecode::FlatZinc::AST::SetLit* setLit;
|
145
100
|
std::vector<double>* floatSetValue;
|
@@ -151,14 +106,17 @@ typedef union YYSTYPE
|
|
151
106
|
Gecode::FlatZinc::Option<std::vector<Gecode::FlatZinc::VarSpec*>* > oVarSpecVec;
|
152
107
|
Gecode::FlatZinc::AST::Node* arg;
|
153
108
|
Gecode::FlatZinc::AST::Array* argVec;
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
/* Line 1685 of yacc.c */
|
113
|
+
#line 114 "gecode/flatzinc/parser.tab.hpp"
|
114
|
+
} YYSTYPE;
|
115
|
+
# define YYSTYPE_IS_TRIVIAL 1
|
158
116
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
159
117
|
# define YYSTYPE_IS_DECLARED 1
|
160
|
-
# define YYSTYPE_IS_TRIVIAL 1
|
161
118
|
#endif
|
162
119
|
|
163
120
|
|
164
121
|
|
122
|
+
|