home *** CD-ROM | disk | FTP | other *** search
/ hobbes.nmsu.edu 2008 / 2008-06-02_hobbes.nmsu.edu.zip / new / scummc-0.2.0-os2.zip / ScummC / src / scc_parse.tab.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-05-11  |  4.5 KB  |  199 lines

  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.      AADD = 258,
  43.      ASUB = 259,
  44.      AMUL = 260,
  45.      ADIV = 261,
  46.      AAND = 262,
  47.      AOR = 263,
  48.      INC = 264,
  49.      DEC = 265,
  50.      PREINC = 266,
  51.      POSTINC = 267,
  52.      PREDEC = 268,
  53.      POSTDEC = 269,
  54.      ASSIGN = 270,
  55.      LOR = 271,
  56.      LAND = 272,
  57.      IS = 273,
  58.      EQ = 274,
  59.      NEQ = 275,
  60.      GE = 276,
  61.      LE = 277,
  62.      NEG = 278,
  63.      SUFFIX = 279,
  64.      PREFIX = 280,
  65.      POSTFIX = 281,
  66.      INTEGER = 282,
  67.      RESTYPE = 283,
  68.      STRING = 284,
  69.      STRVAR = 285,
  70.      SYM = 286,
  71.      TYPE = 287,
  72.      NUL = 288,
  73.      BRANCH = 289,
  74.      RETURN = 290,
  75.      ROOM = 291,
  76.      OBJECT = 292,
  77.      NS = 293,
  78.      SCRIPT = 294,
  79.      VERB = 295,
  80.      ACTOR = 296,
  81.      VOICE = 297,
  82.      CYCL = 298,
  83.      IF = 299,
  84.      ELSE = 300,
  85.      FOR = 301,
  86.      WHILE = 302,
  87.      DO = 303,
  88.      SWITCH = 304,
  89.      CASE = 305,
  90.      DEFAULT = 306,
  91.      CUTSCENE = 307,
  92.      CLASS = 308,
  93.      TRY = 309,
  94.      OVERRIDE = 310,
  95.      SCRTYPE = 311,
  96.      ERROR = 312
  97.    };
  98. #endif
  99. /* Tokens.  */
  100. #define AADD 258
  101. #define ASUB 259
  102. #define AMUL 260
  103. #define ADIV 261
  104. #define AAND 262
  105. #define AOR 263
  106. #define INC 264
  107. #define DEC 265
  108. #define PREINC 266
  109. #define POSTINC 267
  110. #define PREDEC 268
  111. #define POSTDEC 269
  112. #define ASSIGN 270
  113. #define LOR 271
  114. #define LAND 272
  115. #define IS 273
  116. #define EQ 274
  117. #define NEQ 275
  118. #define GE 276
  119. #define LE 277
  120. #define NEG 278
  121. #define SUFFIX 279
  122. #define PREFIX 280
  123. #define POSTFIX 281
  124. #define INTEGER 282
  125. #define RESTYPE 283
  126. #define STRING 284
  127. #define STRVAR 285
  128. #define SYM 286
  129. #define TYPE 287
  130. #define NUL 288
  131. #define BRANCH 289
  132. #define RETURN 290
  133. #define ROOM 291
  134. #define OBJECT 292
  135. #define NS 293
  136. #define SCRIPT 294
  137. #define VERB 295
  138. #define ACTOR 296
  139. #define VOICE 297
  140. #define CYCL 298
  141. #define IF 299
  142. #define ELSE 300
  143. #define FOR 301
  144. #define WHILE 302
  145. #define DO 303
  146. #define SWITCH 304
  147. #define CASE 305
  148. #define DEFAULT 306
  149. #define CUTSCENE 307
  150. #define CLASS 308
  151. #define TRY 309
  152. #define OVERRIDE 310
  153. #define SCRTYPE 311
  154. #define ERROR 312
  155.  
  156.  
  157.  
  158.  
  159. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  160. typedef union YYSTYPE
  161. #line 193 "/usr/tmp/scc_parse.y"
  162. {
  163.   int integer;
  164.   char* str;
  165.   char** strlist;
  166.   scc_symbol_t* sym;
  167.   scc_statement_t* st;
  168.   scc_instruct_t* inst;
  169.   scc_scr_arg_t* arg;
  170.   scc_script_t* scr;
  171.   scc_str_t* strvar;
  172.   int* intlist;
  173.   scc_verb_script_t* vscr;
  174. }
  175. /* Line 1489 of yacc.c.  */
  176. #line 177 "scc_parse.tab.h"
  177.     YYSTYPE;
  178. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  179. # define YYSTYPE_IS_DECLARED 1
  180. # define YYSTYPE_IS_TRIVIAL 1
  181. #endif
  182.  
  183.  
  184.  
  185. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  186. typedef struct YYLTYPE
  187. {
  188.   int first_line;
  189.   int first_column;
  190.   int last_line;
  191.   int last_column;
  192. } YYLTYPE;
  193. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  194. # define YYLTYPE_IS_DECLARED 1
  195. # define YYLTYPE_IS_TRIVIAL 1
  196. #endif
  197.  
  198.  
  199.