1 | /* A Bison parser, made by GNU Bison 1.875. */
|
---|
2 |
|
---|
3 | /* Skeleton parser for Yacc-like parsing with Bison,
|
---|
4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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., 59 Temple Place - Suite 330,
|
---|
19 | Boston, MA 02111-1307, 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 | GSDLVERSION = 257,
|
---|
33 | GENERAL_SECTION = 258,
|
---|
34 | SEARCH_SECTION = 259,
|
---|
35 | BROWSE_SECTION = 260,
|
---|
36 | MACROS_SECTION = 261,
|
---|
37 | MAINTAINER = 262,
|
---|
38 | PUBLIC = 263,
|
---|
39 | TRUE = 264,
|
---|
40 | FALSE = 265,
|
---|
41 | LANGUAGES = 266,
|
---|
42 | EN = 267,
|
---|
43 | FR = 268,
|
---|
44 | MI = 269,
|
---|
45 | ZH = 270,
|
---|
46 | DE = 271,
|
---|
47 | NAME = 272,
|
---|
48 | STRING = 273,
|
---|
49 | ICON = 274,
|
---|
50 | SMALLICON = 275,
|
---|
51 | ABOUT = 276,
|
---|
52 | SEARCHTEXT = 277,
|
---|
53 | DOCUMENT = 278,
|
---|
54 | SECTION = 279,
|
---|
55 | BROWSE = 280,
|
---|
56 | TYPE = 281,
|
---|
57 | FORMAT = 282,
|
---|
58 | LIST = 283,
|
---|
59 | SORTEDLIST = 284,
|
---|
60 | SECTIONLIST = 285,
|
---|
61 | SORTEDSECTIONLIST = 286,
|
---|
62 | DATELIST = 287,
|
---|
63 | ICONLINK = 288,
|
---|
64 | TEXTLINK = 289,
|
---|
65 | DOCUMENTIMAGES = 290,
|
---|
66 | DOCUMENTHEADER = 291,
|
---|
67 | DOCUMENTTEXT = 292,
|
---|
68 | DOCUMENTBUTTONS = 293,
|
---|
69 | DOCUMENTARROWSBOTTOM = 294,
|
---|
70 | DATA = 295
|
---|
71 | };
|
---|
72 | #endif
|
---|
73 | #define GSDLVERSION 257
|
---|
74 | #define GENERAL_SECTION 258
|
---|
75 | #define SEARCH_SECTION 259
|
---|
76 | #define BROWSE_SECTION 260
|
---|
77 | #define MACROS_SECTION 261
|
---|
78 | #define MAINTAINER 262
|
---|
79 | #define PUBLIC 263
|
---|
80 | #define TRUE 264
|
---|
81 | #define FALSE 265
|
---|
82 | #define LANGUAGES 266
|
---|
83 | #define EN 267
|
---|
84 | #define FR 268
|
---|
85 | #define MI 269
|
---|
86 | #define ZH 270
|
---|
87 | #define DE 271
|
---|
88 | #define NAME 272
|
---|
89 | #define STRING 273
|
---|
90 | #define ICON 274
|
---|
91 | #define SMALLICON 275
|
---|
92 | #define ABOUT 276
|
---|
93 | #define SEARCHTEXT 277
|
---|
94 | #define DOCUMENT 278
|
---|
95 | #define SECTION 279
|
---|
96 | #define BROWSE 280
|
---|
97 | #define TYPE 281
|
---|
98 | #define FORMAT 282
|
---|
99 | #define LIST 283
|
---|
100 | #define SORTEDLIST 284
|
---|
101 | #define SECTIONLIST 285
|
---|
102 | #define SORTEDSECTIONLIST 286
|
---|
103 | #define DATELIST 287
|
---|
104 | #define ICONLINK 288
|
---|
105 | #define TEXTLINK 289
|
---|
106 | #define DOCUMENTIMAGES 290
|
---|
107 | #define DOCUMENTHEADER 291
|
---|
108 | #define DOCUMENTTEXT 292
|
---|
109 | #define DOCUMENTBUTTONS 293
|
---|
110 | #define DOCUMENTARROWSBOTTOM 294
|
---|
111 | #define DATA 295
|
---|
112 |
|
---|
113 |
|
---|
114 |
|
---|
115 |
|
---|
116 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
---|
117 | #line 61 "zparse.y"
|
---|
118 | typedef union YYSTYPE {
|
---|
119 | char *string;
|
---|
120 | struct z3950cfg *cfg;
|
---|
121 | struct z3950aboutlist *about;
|
---|
122 | int number;
|
---|
123 | } YYSTYPE;
|
---|
124 | /* Line 1240 of yacc.c. */
|
---|
125 | #line 125 "zparse.tab.h"
|
---|
126 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
---|
127 | # define YYSTYPE_IS_DECLARED 1
|
---|
128 | # define YYSTYPE_IS_TRIVIAL 1
|
---|
129 | #endif
|
---|
130 |
|
---|
131 | extern YYSTYPE yylval;
|
---|
132 |
|
---|
133 |
|
---|
134 |
|
---|