home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / goattracker_2.68.zip / src / asm / asmtab.h < prev    next >
C/C++ Source or Header  |  2008-04-01  |  5KB  |  233 lines

  1. /* A Bison parser, made by GNU Bison 2.1.  */
  2.  
  3. /* Skeleton parser for Yacc-like parsing with Bison,
  4.    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 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., 51 Franklin Street, Fifth Floor,
  19.    Boston, MA 02110-1301, 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. # define YYTOKENTYPE
  28. #ifndef YYTOKENTYPE
  29. # define YYTOKENTYPE
  30.    /* Put the tokens into the symbol table, so that GDB and other debuggers
  31.       know about them.  */
  32.    enum yytokentype {
  33.      INCLUDE = 258,
  34.      IF = 259,
  35.      DEFINED = 260,
  36.      MACRO = 261,
  37.      MACRO_STRING = 262,
  38.      ORG = 263,
  39.      ASMERROR = 264,
  40.      ECHO = 265,
  41.      INCBIN = 266,
  42.      INCWORD = 267,
  43.      RES = 268,
  44.      WORD = 269,
  45.      BYTE = 270,
  46.      LDA = 271,
  47.      LDX = 272,
  48.      LDY = 273,
  49.      STA = 274,
  50.      STX = 275,
  51.      STY = 276,
  52.      AND = 277,
  53.      ORA = 278,
  54.      EOR = 279,
  55.      ADC = 280,
  56.      SBC = 281,
  57.      CMP = 282,
  58.      CPX = 283,
  59.      CPY = 284,
  60.      TSX = 285,
  61.      TXS = 286,
  62.      PHA = 287,
  63.      PLA = 288,
  64.      PHP = 289,
  65.      PLP = 290,
  66.      SEI = 291,
  67.      CLI = 292,
  68.      NOP = 293,
  69.      TYA = 294,
  70.      TAY = 295,
  71.      TXA = 296,
  72.      TAX = 297,
  73.      CLC = 298,
  74.      SEC = 299,
  75.      RTS = 300,
  76.      JSR = 301,
  77.      JMP = 302,
  78.      BEQ = 303,
  79.      BNE = 304,
  80.      BCC = 305,
  81.      BCS = 306,
  82.      BPL = 307,
  83.      BMI = 308,
  84.      BVC = 309,
  85.      BVS = 310,
  86.      INX = 311,
  87.      DEX = 312,
  88.      INY = 313,
  89.      DEY = 314,
  90.      INC = 315,
  91.      DEC = 316,
  92.      LSR = 317,
  93.      ASL = 318,
  94.      ROR = 319,
  95.      ROL = 320,
  96.      SYMBOL = 321,
  97.      STRING = 322,
  98.      LAND = 323,
  99.      LOR = 324,
  100.      LNOT = 325,
  101.      LPAREN = 326,
  102.      RPAREN = 327,
  103.      COMMA = 328,
  104.      COLON = 329,
  105.      X = 330,
  106.      Y = 331,
  107.      HASH = 332,
  108.      PLUS = 333,
  109.      MINUS = 334,
  110.      MULT = 335,
  111.      DIV = 336,
  112.      MOD = 337,
  113.      LT = 338,
  114.      GT = 339,
  115.      EQ = 340,
  116.      NEQ = 341,
  117.      ASSIGN = 342,
  118.      NUMBER = 343,
  119.      vNEG = 344
  120.    };
  121. #endif
  122. /* Tokens.  */
  123. #define INCLUDE 258
  124. #define IF 259
  125. #define DEFINED 260
  126. #define MACRO 261
  127. #define MACRO_STRING 262
  128. #define ORG 263
  129. #define ASMERROR 264
  130. #define ECHO 265
  131. #define INCBIN 266
  132. #define INCWORD 267
  133. #define RES 268
  134. #define WORD 269
  135. #define BYTE 270
  136. #define LDA 271
  137. #define LDX 272
  138. #define LDY 273
  139. #define STA 274
  140. #define STX 275
  141. #define STY 276
  142. #define AND 277
  143. #define ORA 278
  144. #define EOR 279
  145. #define ADC 280
  146. #define SBC 281
  147. #define CMP 282
  148. #define CPX 283
  149. #define CPY 284
  150. #define TSX 285
  151. #define TXS 286
  152. #define PHA 287
  153. #define PLA 288
  154. #define PHP 289
  155. #define PLP 290
  156. #define SEI 291
  157. #define CLI 292
  158. #define NOP 293
  159. #define TYA 294
  160. #define TAY 295
  161. #define TXA 296
  162. #define TAX 297
  163. #define CLC 298
  164. #define SEC 299
  165. #define RTS 300
  166. #define JSR 301
  167. #define JMP 302
  168. #define BEQ 303
  169. #define BNE 304
  170. #define BCC 305
  171. #define BCS 306
  172. #define BPL 307
  173. #define BMI 308
  174. #define BVC 309
  175. #define BVS 310
  176. #define INX 311
  177. #define DEX 312
  178. #define INY 313
  179. #define DEY 314
  180. #define INC 315
  181. #define DEC 316
  182. #define LSR 317
  183. #define ASL 318
  184. #define ROR 319
  185. #define ROL 320
  186. #define SYMBOL 321
  187. #define STRING 322
  188. #define LAND 323
  189. #define LOR 324
  190. #define LNOT 325
  191. #define LPAREN 326
  192. #define RPAREN 327
  193. #define COMMA 328
  194. #define COLON 329
  195. #define X 330
  196. #define Y 331
  197. #define HASH 332
  198. #define PLUS 333
  199. #define MINUS 334
  200. #define MULT 335
  201. #define DIV 336
  202. #define MOD 337
  203. #define LT 338
  204. #define GT 339
  205. #define EQ 340
  206. #define NEQ 341
  207. #define ASSIGN 342
  208. #define NUMBER 343
  209. #define vNEG 344
  210.  
  211.  
  212.  
  213.  
  214. #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
  215. #line 110 "asm.y"
  216. typedef union YYSTYPE {
  217.     i32 num;
  218.     char *str;
  219.     struct atom *atom;
  220.     struct expr *expr;
  221. } YYSTYPE;
  222. /* Line 1447 of yacc.c.  */
  223. #line 223 "asm.tab.h"
  224. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  225. # define YYSTYPE_IS_DECLARED 1
  226. # define YYSTYPE_IS_TRIVIAL 1
  227. #endif
  228.  
  229. extern YYSTYPE yylval;
  230.  
  231.  
  232.  
  233.