fix a bug in computing line numbers
[asterisk/asterisk.git] / pbx / ael / ael.tab.h
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 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29    /* Put the tokens into the symbol table, so that GDB and other debuggers
30       know about them.  */
31    enum yytokentype {
32      KW_CONTEXT = 258,
33      LC = 259,
34      RC = 260,
35      LP = 261,
36      RP = 262,
37      SEMI = 263,
38      EQ = 264,
39      COMMA = 265,
40      COLON = 266,
41      AMPER = 267,
42      BAR = 268,
43      AT = 269,
44      KW_MACRO = 270,
45      KW_GLOBALS = 271,
46      KW_IGNOREPAT = 272,
47      KW_SWITCH = 273,
48      KW_IF = 274,
49      KW_IFTIME = 275,
50      KW_ELSE = 276,
51      KW_RANDOM = 277,
52      KW_ABSTRACT = 278,
53      EXTENMARK = 279,
54      KW_GOTO = 280,
55      KW_JUMP = 281,
56      KW_RETURN = 282,
57      KW_BREAK = 283,
58      KW_CONTINUE = 284,
59      KW_REGEXTEN = 285,
60      KW_HINT = 286,
61      KW_FOR = 287,
62      KW_WHILE = 288,
63      KW_CASE = 289,
64      KW_PATTERN = 290,
65      KW_DEFAULT = 291,
66      KW_CATCH = 292,
67      KW_SWITCHES = 293,
68      KW_ESWITCHES = 294,
69      KW_INCLUDES = 295,
70      word = 296
71    };
72 #endif
73 /* Tokens.  */
74 #define KW_CONTEXT 258
75 #define LC 259
76 #define RC 260
77 #define LP 261
78 #define RP 262
79 #define SEMI 263
80 #define EQ 264
81 #define COMMA 265
82 #define COLON 266
83 #define AMPER 267
84 #define BAR 268
85 #define AT 269
86 #define KW_MACRO 270
87 #define KW_GLOBALS 271
88 #define KW_IGNOREPAT 272
89 #define KW_SWITCH 273
90 #define KW_IF 274
91 #define KW_IFTIME 275
92 #define KW_ELSE 276
93 #define KW_RANDOM 277
94 #define KW_ABSTRACT 278
95 #define EXTENMARK 279
96 #define KW_GOTO 280
97 #define KW_JUMP 281
98 #define KW_RETURN 282
99 #define KW_BREAK 283
100 #define KW_CONTINUE 284
101 #define KW_REGEXTEN 285
102 #define KW_HINT 286
103 #define KW_FOR 287
104 #define KW_WHILE 288
105 #define KW_CASE 289
106 #define KW_PATTERN 290
107 #define KW_DEFAULT 291
108 #define KW_CATCH 292
109 #define KW_SWITCHES 293
110 #define KW_ESWITCHES 294
111 #define KW_INCLUDES 295
112 #define word 296
113
114
115
116
117 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
118 #line 53 "ael.y"
119 typedef union YYSTYPE {
120         char *str;
121         struct pval *pval;
122 } YYSTYPE;
123 /* Line 1447 of yacc.c.  */
124 #line 125 "ael.tab.h"
125 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
126 # define YYSTYPE_IS_DECLARED 1
127 # define YYSTYPE_IS_TRIVIAL 1
128 #endif
129
130
131
132 #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
133 typedef struct YYLTYPE
134 {
135   int first_line;
136   int first_column;
137   int last_line;
138   int last_column;
139 } YYLTYPE;
140 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
141 # define YYLTYPE_IS_DECLARED 1
142 # define YYLTYPE_IS_TRIVIAL 1
143 #endif
144
145
146
147