1 | /* |
---|
2 | ----------------------------------------------------------------------------- |
---|
3 | This source file is part of OGRE |
---|
4 | (Object-oriented Graphics Rendering Engine) |
---|
5 | For the latest info, see http://www.ogre3d.org/ |
---|
6 | |
---|
7 | Copyright (c) 2000-2006 Torus Knot Software Ltd |
---|
8 | Also see acknowledgements in Readme.html |
---|
9 | |
---|
10 | This program is free software; you can redistribute it and/or modify it under |
---|
11 | the terms of the GNU Lesser General Public License as published by the Free Software |
---|
12 | Foundation; either version 2 of the License, or (at your option) any later |
---|
13 | version. |
---|
14 | |
---|
15 | This program is distributed in the hope that it will be useful, but WITHOUT |
---|
16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
---|
17 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
---|
18 | |
---|
19 | You should have received a copy of the GNU Lesser General Public License along with |
---|
20 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
---|
21 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
---|
22 | http://www.gnu.org/copyleft/lesser.txt. |
---|
23 | |
---|
24 | You may alternatively use this source under the terms of a specific version of |
---|
25 | the OGRE Unrestricted License provided you have obtained such a license from |
---|
26 | Torus Knot Software Ltd. |
---|
27 | ----------------------------------------------------------------------------- |
---|
28 | */ |
---|
29 | /* A Bison parser, made by GNU Bison 1.875. */ |
---|
30 | |
---|
31 | /* Skeleton parser for Yacc-like parsing with Bison, |
---|
32 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. |
---|
33 | |
---|
34 | This program is free software; you can redistribute it and/or modify |
---|
35 | it under the terms of the GNU General Public License as published by |
---|
36 | the Free Software Foundation; either version 2, or (at your option) |
---|
37 | any later version. |
---|
38 | |
---|
39 | This program is distributed in the hope that it will be useful, |
---|
40 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
41 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
42 | GNU General Public License for more details. |
---|
43 | |
---|
44 | You should have received a copy of the GNU General Public License |
---|
45 | along with this program; if not, write to the Free Software |
---|
46 | Foundation, Inc., 59 Temple Place - Suite 330, |
---|
47 | Boston, MA 02111-1307, USA. */ |
---|
48 | |
---|
49 | /* As a special exception, when this file is copied by Bison into a |
---|
50 | Bison output file, you may use that output file without restriction. |
---|
51 | This special exception was added by the Free Software Foundation |
---|
52 | in version 1.24 of Bison. */ |
---|
53 | |
---|
54 | /* Tokens. */ |
---|
55 | #ifndef YYTOKENTYPE |
---|
56 | # define YYTOKENTYPE |
---|
57 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
---|
58 | know about them. */ |
---|
59 | enum yytokentype { |
---|
60 | HEADER = 258, |
---|
61 | NEWLINE = 259, |
---|
62 | NUMBER = 260, |
---|
63 | REG = 261, |
---|
64 | DEF = 262, |
---|
65 | ADDROP = 263, |
---|
66 | BLENDOP = 264 |
---|
67 | }; |
---|
68 | #endif |
---|
69 | #define HEADER 258 |
---|
70 | #define NEWLINE 259 |
---|
71 | #define NUMBER 260 |
---|
72 | #define REG 261 |
---|
73 | #define DEF 262 |
---|
74 | #define ADDROP 263 |
---|
75 | #define BLENDOP 264 |
---|
76 | |
---|
77 | |
---|
78 | |
---|
79 | |
---|
80 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
---|
81 | #line 43 "ps1.0_grammar.y" |
---|
82 | typedef union YYSTYPE { |
---|
83 | int ival; |
---|
84 | float fval; |
---|
85 | |
---|
86 | string * sval; |
---|
87 | constdef * cdef; |
---|
88 | vector<constdef> * consts; |
---|
89 | vector<string> * line; |
---|
90 | list<vector<string> > * lines; |
---|
91 | } YYSTYPE; |
---|
92 | /* Line 1240 of yacc.c. */ |
---|
93 | #line 65 "_ps1.0_parser.h" |
---|
94 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
---|
95 | # define YYSTYPE_IS_DECLARED 1 |
---|
96 | # define YYSTYPE_IS_TRIVIAL 1 |
---|
97 | #endif |
---|
98 | |
---|
99 | extern YYSTYPE ps10_lval; |
---|
100 | |
---|
101 | |
---|
102 | |
---|