source: abnfparser/bap/y.tab.h @ 405

Last change on this file since 405 was 405, checked in by julian.reschke@…, 11 years ago

add custom version of Bill Fenner's ABNF Parser (BAP)

File size: 2.3 KB
Line 
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     CHARVAL = 258,
33     PROSEVAL = 259,
34     BINVAL = 260,
35     DECVAL = 261,
36     HEXVAL = 262,
37     RULENAME = 263,
38     BINVALRANGE = 264,
39     DECVALRANGE = 265,
40     HEXVALRANGE = 266,
41     REPEAT = 267,
42     LIST = 268,
43     CWSP = 269,
44     EQSLASH = 270,
45     CRLF = 271
46   };
47#endif
48/* Tokens.  */
49#define CHARVAL 258
50#define PROSEVAL 259
51#define BINVAL 260
52#define DECVAL 261
53#define HEXVAL 262
54#define RULENAME 263
55#define BINVALRANGE 264
56#define DECVALRANGE 265
57#define HEXVALRANGE 266
58#define REPEAT 267
59#define LIST 268
60#define CWSP 269
61#define EQSLASH 270
62#define CRLF 271
63
64
65
66
67#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
68#line 66 "parser.y"
69typedef union YYSTYPE {
70        char *string;
71        struct range range;
72        object *object;
73        int retval;
74} YYSTYPE;
75/* Line 1447 of yacc.c.  */
76#line 77 "y.tab.h"
77# define yystype YYSTYPE /* obsolescent; will be withdrawn */
78# define YYSTYPE_IS_DECLARED 1
79# define YYSTYPE_IS_TRIVIAL 1
80#endif
81
82extern YYSTYPE yylval;
83
84
85
Note: See TracBrowser for help on using the repository browser.