source: OGRE/trunk/ogrenew/RenderSystems/GL/src/nvparse/_ps1.0_parser.h @ 692

Revision 692, 2.1 KB checked in by mattausch, 18 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1/* A Bison parser, made by GNU Bison 1.875.  */
2
3/* Skeleton parser for Yacc-like parsing with Bison,
4   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5
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)
9   any later version.
10
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.
15
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.  */
20
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.  */
25
26/* Tokens.  */
27#ifndef YYTOKENTYPE
28# define YYTOKENTYPE
29   /* Put the tokens into the symbol table, so that GDB and other debuggers
30      know about them.  */
31   enum yytokentype {
32     HEADER = 258,
33     NEWLINE = 259,
34     NUMBER = 260,
35     REG = 261,
36     DEF = 262,
37     ADDROP = 263,
38     BLENDOP = 264
39   };
40#endif
41#define HEADER 258
42#define NEWLINE 259
43#define NUMBER 260
44#define REG 261
45#define DEF 262
46#define ADDROP 263
47#define BLENDOP 264
48
49
50
51
52#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
53#line 43 "ps1.0_grammar.y"
54typedef union YYSTYPE {
55        int ival;
56        float fval;
57       
58        string * sval;
59        constdef * cdef;
60        vector<constdef> * consts;
61        vector<string> * line;
62        list<vector<string> > * lines;
63} YYSTYPE;
64/* Line 1240 of yacc.c.  */
65#line 65 "_ps1.0_parser.h"
66# define yystype YYSTYPE /* obsolescent; will be withdrawn */
67# define YYSTYPE_IS_DECLARED 1
68# define YYSTYPE_IS_TRIVIAL 1
69#endif
70
71extern YYSTYPE ps10_lval;
72
73
74
Note: See TracBrowser for help on using the repository browser.