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