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 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
|
/* 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 {
WITH = 258,
LETREC = 259,
MIX = 260,
SPLIT = 261,
SEQ = 262,
PAR = 263,
REC = 264,
NE = 265,
GE = 266,
GT = 267,
EQ = 268,
LE = 269,
LT = 270,
OR = 271,
SUB = 272,
ADD = 273,
RSH = 274,
LSH = 275,
XOR = 276,
AND = 277,
MOD = 278,
DIV = 279,
MUL = 280,
POWOP = 281,
FDELAY = 282,
DELAY1 = 283,
DOT = 284,
MEM = 285,
PREFIX = 286,
INTCAST = 287,
FLOATCAST = 288,
NOTYPECAST = 289,
FFUNCTION = 290,
FCONSTANT = 291,
FVARIABLE = 292,
BUTTON = 293,
CHECKBOX = 294,
VSLIDER = 295,
HSLIDER = 296,
NENTRY = 297,
VGROUP = 298,
HGROUP = 299,
TGROUP = 300,
HBARGRAPH = 301,
VBARGRAPH = 302,
SOUNDFILE = 303,
ATTACH = 304,
ACOS = 305,
ASIN = 306,
ATAN = 307,
ATAN2 = 308,
COS = 309,
SIN = 310,
TAN = 311,
EXP = 312,
LOG = 313,
LOG10 = 314,
POWFUN = 315,
SQRT = 316,
ABS = 317,
MIN = 318,
MAX = 319,
FMOD = 320,
REMAINDER = 321,
FLOOR = 322,
CEIL = 323,
RINT = 324,
ROUND = 325,
RDTBL = 326,
RWTBL = 327,
SELECT2 = 328,
SELECT3 = 329,
INT = 330,
FLOAT = 331,
MODULATE = 332,
LAMBDA = 333,
WIRE = 334,
CUT = 335,
ENDDEF = 336,
VIRG = 337,
LPAR = 338,
RPAR = 339,
LBRAQ = 340,
RBRAQ = 341,
LCROC = 342,
RCROC = 343,
WHERE = 344,
DEF = 345,
LAPPLY = 346,
IMPORT = 347,
COMPONENT = 348,
LIBRARY = 349,
ENVIRONMENT = 350,
WAVEFORM = 351,
ROUTE = 352,
ENABLE = 353,
CONTROL = 354,
IPAR = 355,
ISEQ = 356,
ISUM = 357,
IPROD = 358,
INPUTS = 359,
OUTPUTS = 360,
STRING = 361,
FSTRING = 362,
IDENT = 363,
EXTRA = 364,
DECLARE = 365,
CASE = 366,
ARROW = 367,
ASSERTBOUNDS = 368,
LOWEST = 369,
HIGHEST = 370,
FLOATMODE = 371,
DOUBLEMODE = 372,
QUADMODE = 373,
FIXEDPOINTMODE = 374,
BDOC = 375,
EDOC = 376,
BEQN = 377,
EEQN = 378,
BDGM = 379,
EDGM = 380,
BLST = 381,
ELST = 382,
BMETADATA = 383,
EMETADATA = 384,
DOCCHAR = 385,
NOTICE = 386,
LISTING = 387,
LSTTRUE = 388,
LSTFALSE = 389,
LSTDEPENDENCIES = 390,
LSTMDOCTAGS = 391,
LSTDISTRIBUTED = 392,
LSTEQ = 393,
LSTQ = 394
};
#endif
/* Tokens. */
#define WITH 258
#define LETREC 259
#define MIX 260
#define SPLIT 261
#define SEQ 262
#define PAR 263
#define REC 264
#define NE 265
#define GE 266
#define GT 267
#define EQ 268
#define LE 269
#define LT 270
#define OR 271
#define SUB 272
#define ADD 273
#define RSH 274
#define LSH 275
#define XOR 276
#define AND 277
#define MOD 278
#define DIV 279
#define MUL 280
#define POWOP 281
#define FDELAY 282
#define DELAY1 283
#define DOT 284
#define MEM 285
#define PREFIX 286
#define INTCAST 287
#define FLOATCAST 288
#define NOTYPECAST 289
#define FFUNCTION 290
#define FCONSTANT 291
#define FVARIABLE 292
#define BUTTON 293
#define CHECKBOX 294
#define VSLIDER 295
#define HSLIDER 296
#define NENTRY 297
#define VGROUP 298
#define HGROUP 299
#define TGROUP 300
#define HBARGRAPH 301
#define VBARGRAPH 302
#define SOUNDFILE 303
#define ATTACH 304
#define ACOS 305
#define ASIN 306
#define ATAN 307
#define ATAN2 308
#define COS 309
#define SIN 310
#define TAN 311
#define EXP 312
#define LOG 313
#define LOG10 314
#define POWFUN 315
#define SQRT 316
#define ABS 317
#define MIN 318
#define MAX 319
#define FMOD 320
#define REMAINDER 321
#define FLOOR 322
#define CEIL 323
#define RINT 324
#define ROUND 325
#define RDTBL 326
#define RWTBL 327
#define SELECT2 328
#define SELECT3 329
#define INT 330
#define FLOAT 331
#define MODULATE 332
#define LAMBDA 333
#define WIRE 334
#define CUT 335
#define ENDDEF 336
#define VIRG 337
#define LPAR 338
#define RPAR 339
#define LBRAQ 340
#define RBRAQ 341
#define LCROC 342
#define RCROC 343
#define WHERE 344
#define DEF 345
#define LAPPLY 346
#define IMPORT 347
#define COMPONENT 348
#define LIBRARY 349
#define ENVIRONMENT 350
#define WAVEFORM 351
#define ROUTE 352
#define ENABLE 353
#define CONTROL 354
#define IPAR 355
#define ISEQ 356
#define ISUM 357
#define IPROD 358
#define INPUTS 359
#define OUTPUTS 360
#define STRING 361
#define FSTRING 362
#define IDENT 363
#define EXTRA 364
#define DECLARE 365
#define CASE 366
#define ARROW 367
#define ASSERTBOUNDS 368
#define LOWEST 369
#define HIGHEST 370
#define FLOATMODE 371
#define DOUBLEMODE 372
#define QUADMODE 373
#define FIXEDPOINTMODE 374
#define BDOC 375
#define EDOC 376
#define BEQN 377
#define EEQN 378
#define BDGM 379
#define EDGM 380
#define BLST 381
#define ELST 382
#define BMETADATA 383
#define EMETADATA 384
#define DOCCHAR 385
#define NOTICE 386
#define LISTING 387
#define LSTTRUE 388
#define LSTFALSE 389
#define LSTDEPENDENCIES 390
#define LSTMDOCTAGS 391
#define LSTDISTRIBUTED 392
#define LSTEQ 393
#define LSTQ 394
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 103 "faustparser.y"
{
Tree exp;
char* str;
std::string* cppstr;
bool b;
int numvariant;
}
/* Line 1529 of yacc.c. */
#line 335 "faustparser.hpp"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE FAUSTlval;
|