1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
120 SETTARGETEXPRESSION = 336,
121 DUPLICATEMOVIECLIP = 337,
122 REMOVEMOVIECLIP = 338,
123 STRINGLESSTHAN = 339,
135 LOADVARIABLESNUM = 351,
207 #define NEXTFRAME 289
208 #define PREVFRAME 290
211 #define TOGGLEQUALITY 293
212 #define STOPSOUNDS 294
217 #define SETREGISTER 299
218 #define CALLFUNCTION 300
219 #define CALLMETHOD 301
230 #define INSTANCEOF 312
231 #define ENUMERATE 313
232 #define INITOBJECT 314
233 #define INITARRAY 315
234 #define GETMEMBER 316
235 #define SETMEMBER 317
236 #define SHIFTLEFT 318
237 #define SHIFTRIGHT 319
238 #define SHIFTRIGHT2 320
239 #define VAREQUALS 321
244 #define OLDEQUALS 326
245 #define OLDLESSTHAN 327
246 #define LOGICALAND 328
247 #define LOGICALOR 329
250 #define STRINGLENGTH 332
251 #define SUBSTRING 333
252 #define GETVARIABLE 334
253 #define SETVARIABLE 335
254 #define SETTARGETEXPRESSION 336
255 #define DUPLICATEMOVIECLIP 337
256 #define REMOVEMOVIECLIP 338
257 #define STRINGLESSTHAN 339
259 #define MBSUBSTRING 341
262 #define BRANCHALWAYS 344
263 #define BRANCHIFTRUE 345
267 #define LOADVARIABLES 349
268 #define LOADMOVIE 350
269 #define LOADVARIABLESNUM 351
270 #define LOADMOVIENUM 352
271 #define CALLFRAME 353
272 #define STARTDRAG 354
274 #define GOTOFRAME 356
275 #define SETTARGET 357
282 #define IDENTIFIER 364
311 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
312 typedef union YYSTYPE
313 #line 21 "swf5compiler.y"
317 SWFGetUrl2Method getURLMethod;
328 struct switchcase switchcase;
329 struct switchcases switchcases;
332 Buffer obj, ident, memexpr;
335 /* Line 1489 of yacc.c. */
336 #line 337 "swf5compiler.tab.h"
338 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
339 # define YYSTYPE_IS_DECLARED 1
340 # define YYSTYPE_IS_TRIVIAL 1
343 extern YYSTYPE swf5lval;