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