]> git.donarmstrong.com Git - lilypond.git/blob - lily/out/parser.hh
365da7b6b982c894f49fd097e8aec3e3cc2eee02
[lilypond.git] / lily / out / parser.hh
1 /* A Bison parser, made by GNU Bison 2.3.  */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7
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.
12
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.
17
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.  */
22
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.
32
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
35
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      PREC_BOT = 258,
43      REPEAT = 259,
44      ALTERNATIVE = 260,
45      COMPOSITE = 261,
46      ADDLYRICS = 262,
47      DEFAULT = 263,
48      FUNCTION_ARGLIST = 264,
49      DURATION_IDENTIFIER = 265,
50      REAL = 266,
51      UNSIGNED = 267,
52      TONICNAME_PITCH = 268,
53      NOTENAME_PITCH = 269,
54      PITCH_IDENTIFIER = 270,
55      NUMBER_IDENTIFIER = 271,
56      PREC_TOP = 272,
57      ACCEPTS = 273,
58      ALIAS = 274,
59      BOOK = 275,
60      BOOKPART = 276,
61      CHANGE = 277,
62      CHORDMODE = 278,
63      CHORDS = 279,
64      CONSISTS = 280,
65      CONTEXT = 281,
66      DEFAULTCHILD = 282,
67      DENIES = 283,
68      DESCRIPTION = 284,
69      DRUMMODE = 285,
70      DRUMS = 286,
71      FIGUREMODE = 287,
72      FIGURES = 288,
73      HEADER = 289,
74      INVALID = 290,
75      LAYOUT = 291,
76      LYRICMODE = 292,
77      LYRICS = 293,
78      LYRICSTO = 294,
79      MARKUP = 295,
80      MARKUPLIST = 296,
81      MIDI = 297,
82      NAME = 298,
83      NOTEMODE = 299,
84      OVERRIDE = 300,
85      PAPER = 301,
86      REMOVE = 302,
87      REST = 303,
88      REVERT = 304,
89      SCORE = 305,
90      SEQUENTIAL = 306,
91      SET = 307,
92      SIMULTANEOUS = 308,
93      TEMPO = 309,
94      TYPE = 310,
95      UNSET = 311,
96      WITH = 312,
97      NEWCONTEXT = 313,
98      CHORD_BASS = 314,
99      CHORD_CARET = 315,
100      CHORD_COLON = 316,
101      CHORD_MINUS = 317,
102      CHORD_SLASH = 318,
103      ANGLE_OPEN = 319,
104      ANGLE_CLOSE = 320,
105      DOUBLE_ANGLE_OPEN = 321,
106      DOUBLE_ANGLE_CLOSE = 322,
107      E_BACKSLASH = 323,
108      E_ANGLE_CLOSE = 324,
109      E_CHAR = 325,
110      E_CLOSE = 326,
111      E_EXCLAMATION = 327,
112      E_BRACKET_OPEN = 328,
113      E_OPEN = 329,
114      E_BRACKET_CLOSE = 330,
115      E_ANGLE_OPEN = 331,
116      E_PLUS = 332,
117      E_TILDE = 333,
118      EXTENDER = 334,
119      FIGURE_CLOSE = 335,
120      FIGURE_OPEN = 336,
121      FIGURE_SPACE = 337,
122      HYPHEN = 338,
123      CHORDMODIFIERS = 339,
124      LYRIC_MARKUP = 340,
125      MULTI_MEASURE_REST = 341,
126      E_UNSIGNED = 342,
127      EXPECT_MARKUP = 343,
128      EXPECT_PITCH = 344,
129      EXPECT_DURATION = 345,
130      EXPECT_SCM = 346,
131      BACKUP = 347,
132      REPARSE = 348,
133      EXPECT_MARKUP_LIST = 349,
134      EXPECT_OPTIONAL = 350,
135      EXPECT_NO_MORE_ARGS = 351,
136      EMBEDDED_LILY = 352,
137      BOOK_IDENTIFIER = 353,
138      CHORDMODIFIER_PITCH = 354,
139      CHORD_MODIFIER = 355,
140      CHORD_REPETITION = 356,
141      CONTEXT_DEF_IDENTIFIER = 357,
142      CONTEXT_MOD_IDENTIFIER = 358,
143      DRUM_PITCH = 359,
144      EVENT_IDENTIFIER = 360,
145      EVENT_FUNCTION = 361,
146      FRACTION = 362,
147      LYRICS_STRING = 363,
148      LYRIC_ELEMENT = 364,
149      LYRIC_MARKUP_IDENTIFIER = 365,
150      MARKUP_FUNCTION = 366,
151      MARKUP_LIST_FUNCTION = 367,
152      MARKUP_IDENTIFIER = 368,
153      MARKUPLIST_IDENTIFIER = 369,
154      MUSIC_FUNCTION = 370,
155      MUSIC_IDENTIFIER = 371,
156      OUTPUT_DEF_IDENTIFIER = 372,
157      RESTNAME = 373,
158      SCM_FUNCTION = 374,
159      SCM_IDENTIFIER = 375,
160      SCM_TOKEN = 376,
161      SCORE_IDENTIFIER = 377,
162      STRING = 378,
163      STRING_IDENTIFIER = 379,
164      UNARY_MINUS = 380
165    };
166 #endif
167 /* Tokens.  */
168 #define PREC_BOT 258
169 #define REPEAT 259
170 #define ALTERNATIVE 260
171 #define COMPOSITE 261
172 #define ADDLYRICS 262
173 #define DEFAULT 263
174 #define FUNCTION_ARGLIST 264
175 #define DURATION_IDENTIFIER 265
176 #define REAL 266
177 #define UNSIGNED 267
178 #define TONICNAME_PITCH 268
179 #define NOTENAME_PITCH 269
180 #define PITCH_IDENTIFIER 270
181 #define NUMBER_IDENTIFIER 271
182 #define PREC_TOP 272
183 #define ACCEPTS 273
184 #define ALIAS 274
185 #define BOOK 275
186 #define BOOKPART 276
187 #define CHANGE 277
188 #define CHORDMODE 278
189 #define CHORDS 279
190 #define CONSISTS 280
191 #define CONTEXT 281
192 #define DEFAULTCHILD 282
193 #define DENIES 283
194 #define DESCRIPTION 284
195 #define DRUMMODE 285
196 #define DRUMS 286
197 #define FIGUREMODE 287
198 #define FIGURES 288
199 #define HEADER 289
200 #define INVALID 290
201 #define LAYOUT 291
202 #define LYRICMODE 292
203 #define LYRICS 293
204 #define LYRICSTO 294
205 #define MARKUP 295
206 #define MARKUPLIST 296
207 #define MIDI 297
208 #define NAME 298
209 #define NOTEMODE 299
210 #define OVERRIDE 300
211 #define PAPER 301
212 #define REMOVE 302
213 #define REST 303
214 #define REVERT 304
215 #define SCORE 305
216 #define SEQUENTIAL 306
217 #define SET 307
218 #define SIMULTANEOUS 308
219 #define TEMPO 309
220 #define TYPE 310
221 #define UNSET 311
222 #define WITH 312
223 #define NEWCONTEXT 313
224 #define CHORD_BASS 314
225 #define CHORD_CARET 315
226 #define CHORD_COLON 316
227 #define CHORD_MINUS 317
228 #define CHORD_SLASH 318
229 #define ANGLE_OPEN 319
230 #define ANGLE_CLOSE 320
231 #define DOUBLE_ANGLE_OPEN 321
232 #define DOUBLE_ANGLE_CLOSE 322
233 #define E_BACKSLASH 323
234 #define E_ANGLE_CLOSE 324
235 #define E_CHAR 325
236 #define E_CLOSE 326
237 #define E_EXCLAMATION 327
238 #define E_BRACKET_OPEN 328
239 #define E_OPEN 329
240 #define E_BRACKET_CLOSE 330
241 #define E_ANGLE_OPEN 331
242 #define E_PLUS 332
243 #define E_TILDE 333
244 #define EXTENDER 334
245 #define FIGURE_CLOSE 335
246 #define FIGURE_OPEN 336
247 #define FIGURE_SPACE 337
248 #define HYPHEN 338
249 #define CHORDMODIFIERS 339
250 #define LYRIC_MARKUP 340
251 #define MULTI_MEASURE_REST 341
252 #define E_UNSIGNED 342
253 #define EXPECT_MARKUP 343
254 #define EXPECT_PITCH 344
255 #define EXPECT_DURATION 345
256 #define EXPECT_SCM 346
257 #define BACKUP 347
258 #define REPARSE 348
259 #define EXPECT_MARKUP_LIST 349
260 #define EXPECT_OPTIONAL 350
261 #define EXPECT_NO_MORE_ARGS 351
262 #define EMBEDDED_LILY 352
263 #define BOOK_IDENTIFIER 353
264 #define CHORDMODIFIER_PITCH 354
265 #define CHORD_MODIFIER 355
266 #define CHORD_REPETITION 356
267 #define CONTEXT_DEF_IDENTIFIER 357
268 #define CONTEXT_MOD_IDENTIFIER 358
269 #define DRUM_PITCH 359
270 #define EVENT_IDENTIFIER 360
271 #define EVENT_FUNCTION 361
272 #define FRACTION 362
273 #define LYRICS_STRING 363
274 #define LYRIC_ELEMENT 364
275 #define LYRIC_MARKUP_IDENTIFIER 365
276 #define MARKUP_FUNCTION 366
277 #define MARKUP_LIST_FUNCTION 367
278 #define MARKUP_IDENTIFIER 368
279 #define MARKUPLIST_IDENTIFIER 369
280 #define MUSIC_FUNCTION 370
281 #define MUSIC_IDENTIFIER 371
282 #define OUTPUT_DEF_IDENTIFIER 372
283 #define RESTNAME 373
284 #define SCM_FUNCTION 374
285 #define SCM_IDENTIFIER 375
286 #define SCM_TOKEN 376
287 #define SCORE_IDENTIFIER 377
288 #define STRING 378
289 #define STRING_IDENTIFIER 379
290 #define UNARY_MINUS 380
291
292
293
294
295 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
296 typedef union YYSTYPE
297 #line 182 "/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
298 {
299         Book *book;
300         Output_def *outputdef;
301         SCM scm;
302         std::string *string;
303         Score *score;
304         int i;
305 }
306 /* Line 1489 of yacc.c.  */
307 #line 308 "out/parser-tmp.hh"
308         YYSTYPE;
309 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
310 # define YYSTYPE_IS_DECLARED 1
311 # define YYSTYPE_IS_TRIVIAL 1
312 #endif
313
314
315
316 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
317 typedef struct YYLTYPE
318 {
319   int first_line;
320   int first_column;
321   int last_line;
322   int last_column;
323 } YYLTYPE;
324 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
325 # define YYLTYPE_IS_DECLARED 1
326 # define YYLTYPE_IS_TRIVIAL 1
327 #endif
328
329