blob: 91a62008086bc5aaa3def3dcb95db1411f5eedcd [file] [log] [blame]
daniel@transgaming.com4f39fd92010-03-08 20:26:45 +00001//
2// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6/****************************************************************************\
7Copyright (c) 2002, NVIDIA Corporation.
8
9NVIDIA Corporation("NVIDIA") supplies this software to you in
10consideration of your agreement to the following terms, and your use,
11installation, modification or redistribution of this NVIDIA software
12constitutes acceptance of these terms. If you do not agree with these
13terms, please do not use, install, modify or redistribute this NVIDIA
14software.
15
16In consideration of your agreement to abide by the following terms, and
17subject to these terms, NVIDIA grants you a personal, non-exclusive
18license, under NVIDIA's copyrights in this original NVIDIA software (the
19"NVIDIA Software"), to use, reproduce, modify and redistribute the
20NVIDIA Software, with or without modifications, in source and/or binary
21forms; provided that if you redistribute the NVIDIA Software, you must
22retain the copyright notice of NVIDIA, this notice and the following
23text and disclaimers in all such redistributions of the NVIDIA Software.
24Neither the name, trademarks, service marks nor logos of NVIDIA
25Corporation may be used to endorse or promote products derived from the
26NVIDIA Software without specific prior written permission from NVIDIA.
27Except as expressly stated in this notice, no other rights or licenses
28express or implied, are granted by NVIDIA herein, including but not
29limited to any patent rights that may be infringed by your derivative
30works or by other works in which the NVIDIA Software may be
31incorporated. No hardware is licensed hereunder.
32
33THE NVIDIA SOFTWARE IS BEING PROVIDED ON AN "AS IS" BASIS, WITHOUT
34WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED,
35INCLUDING WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF TITLE,
36NON-INFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
37ITS USE AND OPERATION EITHER ALONE OR IN COMBINATION WITH OTHER
38PRODUCTS.
39
40IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT,
41INCIDENTAL, EXEMPLARY, CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
42TO, LOST PROFITS; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
43USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) OR ARISING IN ANY WAY
44OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE
45NVIDIA SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT,
46TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
47NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
48\****************************************************************************/
49
50#ifndef BISON_PARSER_H
51# define BISON_PARSER_H
52
53#ifndef yystypepp
54typedef struct {
55 int sc_int;
56 float sc_fval;
57 int sc_ident;
58 char symbol_name[MAX_SYMBOL_NAME_LEN+1];
59} yystypepp;
60
61# define YYSTYPE_IS_TRIVIAL 1
62#endif
63# define CPP_AND_OP 257
64# define CPP_SUB_ASSIGN 259
65# define CPP_MOD_ASSIGN 260
66# define CPP_ADD_ASSIGN 261
67# define CPP_DIV_ASSIGN 262
68# define CPP_MUL_ASSIGN 263
69# define CPP_EQ_OP 264
70# define CPP_XOR_OP 265
71# define ERROR_SY 266
72# define CPP_FLOATCONSTANT 267
73# define CPP_GE_OP 268
74# define CPP_RIGHT_OP 269
75# define CPP_IDENTIFIER 270
76# define CPP_INTCONSTANT 271
77# define CPP_LE_OP 272
78# define CPP_LEFT_OP 273
79# define CPP_DEC_OP 274
80# define CPP_NE_OP 275
81# define CPP_OR_OP 276
82# define CPP_INC_OP 277
83# define CPP_STRCONSTANT 278
84# define CPP_TYPEIDENTIFIER 279
85
86# define FIRST_USER_TOKEN_SY 289
87
88# define CPP_RIGHT_ASSIGN 280
89# define CPP_LEFT_ASSIGN 281
90# define CPP_AND_ASSIGN 282
91# define CPP_OR_ASSIGN 283
92# define CPP_XOR_ASSIGN 284
93# define CPP_LEFT_BRACKET 285
94# define CPP_RIGHT_BRACKET 286
95# define CPP_LEFT_BRACE 287
96# define CPP_RIGHT_BRACE 288
97
98#endif /* not BISON_PARSER_H */