1 /* A Bison parser, made by GNU Bison 2.3.  */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7 
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)
11    any later version.
12 
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.
17 
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.  */
22 
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.
32 
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
35 
36 /* Tokens.  */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39    /* Put the tokens into the symbol table, so that GDB and other debuggers
40       know about them.  */
41    enum yytokentype {
42      STRING = 258,
43      VALUE = 259,
44      IDENTIFIER = 260,
45      OBJECT = 261,
46      UNIT_ANGLE = 262,
47      UNIT_COLOR = 263,
48      UNIT_RATIO = 264,
49      UNIT_SIZE = 265,
50      UNIT_SPEED = 266,
51      UNIT_TIME = 267,
52      FOR = 268,
53      IF = 269,
54      ACTION_SCRIPT = 270,
55      ELSE = 271,
56      RANGE = 272,
57      LOGICAL_OR = 273,
58      LOGICAL_XOR = 274,
59      LOGICAL_AND = 275,
60      GREATER_EQUAL = 276,
61      LESS_EQUAL = 277,
62      NOT_EQUAL = 278,
63      EQUAL = 279,
64      ROTATE_RIGHT = 280,
65      ROTATE_LEFT = 281,
66      SHIFT_RIGHT_UNSIGNED = 282,
67      SHIFT_RIGHT = 283,
68      SHIFT_LEFT = 284,
69      MAX_OP = 285,
70      MIN_OP = 286,
71      POWER = 287,
72      NEG = 288,
73      POS = 289
74    };
75 #endif
76 /* Tokens.  */
77 #define STRING 258
78 #define VALUE 259
79 #define IDENTIFIER 260
80 #define OBJECT 261
81 #define UNIT_ANGLE 262
82 #define UNIT_COLOR 263
83 #define UNIT_RATIO 264
84 #define UNIT_SIZE 265
85 #define UNIT_SPEED 266
86 #define UNIT_TIME 267
87 #define FOR 268
88 #define IF 269
89 #define ACTION_SCRIPT 270
90 #define ELSE 271
91 #define RANGE 272
92 #define LOGICAL_OR 273
93 #define LOGICAL_XOR 274
94 #define LOGICAL_AND 275
95 #define GREATER_EQUAL 276
96 #define LESS_EQUAL 277
97 #define NOT_EQUAL 278
98 #define EQUAL 279
99 #define ROTATE_RIGHT 280
100 #define ROTATE_LEFT 281
101 #define SHIFT_RIGHT_UNSIGNED 282
102 #define SHIFT_RIGHT 283
103 #define SHIFT_LEFT 284
104 #define MAX_OP 285
105 #define MIN_OP 286
106 #define POWER 287
107 #define NEG 288
108 #define POS 289
109 
110 
111 
112 
113 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
114 typedef union YYSTYPE
115 #line 48 "src/sswf/sswf_grammar.y"
116 {
117 	struct node_t		*node;
118 	enum node_type_t	type;		/* for UNIT */
119 	int			unused;
120 }
121 /* Line 1489 of yacc.c.  */
122 #line 123 "tmp/object/src/sswf/sswf_grammar.h"
123 	YYSTYPE;
124 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
125 # define YYSTYPE_IS_DECLARED 1
126 # define YYSTYPE_IS_TRIVIAL 1
127 #endif
128 
129 extern YYSTYPE yylval;
130 
131 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
132 typedef struct YYLTYPE
133 {
134   int first_line;
135   int first_column;
136   int last_line;
137   int last_column;
138 } YYLTYPE;
139 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
140 # define YYLTYPE_IS_DECLARED 1
141 # define YYLTYPE_IS_TRIVIAL 1
142 #endif
143 
144 extern YYLTYPE yylloc;
145