1 /* A Bison parser, made by GNU Bison 1.875. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
110 SETTARGETEXPRESSION = 336,
111 DUPLICATEMOVIECLIP = 337,
112 REMOVEMOVIECLIP = 338,
113 STRINGLESSTHAN = 339,
125 LOADVARIABLESNUM = 351,
196 #define NEXTFRAME 289
197 #define PREVFRAME 290
200 #define TOGGLEQUALITY 293
201 #define STOPSOUNDS 294
206 #define SETREGISTER 299
207 #define CALLFUNCTION 300
208 #define CALLMETHOD 301
219 #define INSTANCEOF 312
220 #define ENUMERATE 313
221 #define INITOBJECT 314
222 #define INITARRAY 315
223 #define GETMEMBER 316
224 #define SETMEMBER 317
225 #define SHIFTLEFT 318
226 #define SHIFTRIGHT 319
227 #define SHIFTRIGHT2 320
228 #define VAREQUALS 321
233 #define OLDEQUALS 326
234 #define OLDLESSTHAN 327
235 #define LOGICALAND 328
236 #define LOGICALOR 329
239 #define STRINGLENGTH 332
240 #define SUBSTRING 333
241 #define GETVARIABLE 334
242 #define SETVARIABLE 335
243 #define SETTARGETEXPRESSION 336
244 #define DUPLICATEMOVIECLIP 337
245 #define REMOVEMOVIECLIP 338
246 #define STRINGLESSTHAN 339
248 #define MBSUBSTRING 341
251 #define BRANCHALWAYS 344
252 #define BRANCHIFTRUE 345
256 #define LOADVARIABLES 349
257 #define LOADMOVIE 350
258 #define LOADVARIABLESNUM 351
259 #define LOADMOVIENUM 352
260 #define CALLFRAME 353
261 #define STARTDRAG 354
263 #define GOTOFRAME 356
264 #define SETTARGET 357
271 #define IDENTIFIER 364
300 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
301 #line 21 "swf5compiler.y"
302 typedef union YYSTYPE {
305 SWFGetUrl2Method getURLMethod;
316 struct switchcase switchcase;
317 struct switchcases switchcases;
320 Buffer obj, ident, memexpr;
323 /* Line 1240 of yacc.c. */
324 #line 324 "swf5compiler.tab.h"
325 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
326 # define YYSTYPE_IS_DECLARED 1
327 # define YYSTYPE_IS_TRIVIAL 1
330 extern YYSTYPE swf5lval;