tagged release 0.7.1
[parrot.git] / compilers / pirc / macro / macroparser.h
blob7675096db96f2c3f83a554053bf47fdb40d5774b
1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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.
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.
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. */
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.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
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 TK_MACRO = 258,
43 TK_NL = 259,
44 TK_ENDM = 260,
45 TK_INCLUDE = 261,
46 TK_MACRO_CONST = 262,
47 TK_MACRO_LOCAL = 263,
48 TK_MACRO_LABEL = 264,
49 TK_LINE = 265,
50 TK_INT = 266,
51 TK_NUM = 267,
52 TK_STRING = 268,
53 TK_PMC = 269,
54 TK_IDENT = 270,
55 TK_ANY = 271,
56 TK_BODY = 272,
57 TK_DOT_IDENT = 273,
58 TK_LABEL_ID = 274,
59 TK_LOCAL_ID = 275,
60 TK_VAR_EXPANSION = 276,
61 TK_LABEL_EXPANSION = 277,
62 TK_UNIQUE_LABEL = 278,
63 TK_UNIQUE_LOCAL = 279,
64 TK_STRINGC = 280,
65 TK_NUMC = 281,
66 TK_INTC = 282
68 #endif
69 /* Tokens. */
70 #define TK_MACRO 258
71 #define TK_NL 259
72 #define TK_ENDM 260
73 #define TK_INCLUDE 261
74 #define TK_MACRO_CONST 262
75 #define TK_MACRO_LOCAL 263
76 #define TK_MACRO_LABEL 264
77 #define TK_LINE 265
78 #define TK_INT 266
79 #define TK_NUM 267
80 #define TK_STRING 268
81 #define TK_PMC 269
82 #define TK_IDENT 270
83 #define TK_ANY 271
84 #define TK_BODY 272
85 #define TK_DOT_IDENT 273
86 #define TK_LABEL_ID 274
87 #define TK_LOCAL_ID 275
88 #define TK_VAR_EXPANSION 276
89 #define TK_LABEL_EXPANSION 277
90 #define TK_UNIQUE_LABEL 278
91 #define TK_UNIQUE_LOCAL 279
92 #define TK_STRINGC 280
93 #define TK_NUMC 281
94 #define TK_INTC 282
99 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
100 typedef union YYSTYPE
101 #line 63 "macro.y"
103 char *sval;
104 struct list *lval;
105 struct macro_def *mval;
108 /* Line 1489 of yacc.c. */
109 #line 110 "macroparser.h"
110 YYSTYPE;
111 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
112 # define YYSTYPE_IS_DECLARED 1
113 # define YYSTYPE_IS_TRIVIAL 1
114 #endif