1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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)
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.
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. */
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.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
49 FUNCTION_ARGLIST = 264,
50 DURATION_IDENTIFIER = 265,
53 TONICNAME_PITCH = 268,
55 PITCH_IDENTIFIER = 270,
56 NUMBER_IDENTIFIER = 271,
106 DOUBLE_ANGLE_OPEN = 321,
107 DOUBLE_ANGLE_CLOSE = 322,
113 E_BRACKET_OPEN = 328,
115 E_BRACKET_CLOSE = 330,
124 CHORDMODIFIERS = 339,
126 MULTI_MEASURE_REST = 341,
130 EXPECT_DURATION = 345,
134 EXPECT_MARKUP_LIST = 349,
135 EXPECT_OPTIONAL = 350,
136 EXPECT_NO_MORE_ARGS = 351,
138 BOOK_IDENTIFIER = 353,
139 CHORDMODIFIER_PITCH = 354,
140 CHORD_MODIFIER = 355,
141 CHORD_REPETITION = 356,
142 CONTEXT_DEF_IDENTIFIER = 357,
143 CONTEXT_MOD_IDENTIFIER = 358,
145 EVENT_IDENTIFIER = 360,
146 EVENT_FUNCTION = 361,
150 LYRIC_MARKUP_IDENTIFIER = 365,
151 MARKUP_FUNCTION = 366,
152 MARKUP_LIST_FUNCTION = 367,
153 MARKUP_IDENTIFIER = 368,
154 MARKUPLIST_IDENTIFIER = 369,
155 MUSIC_FUNCTION = 370,
156 MUSIC_IDENTIFIER = 371,
157 OUTPUT_DEF_IDENTIFIER = 372,
160 SCM_IDENTIFIER = 375,
162 SCORE_IDENTIFIER = 377,
164 STRING_IDENTIFIER = 379,
169 #define END_OF_FILE 0
172 #define ALTERNATIVE 260
173 #define COMPOSITE 261
174 #define ADDLYRICS 262
176 #define FUNCTION_ARGLIST 264
177 #define DURATION_IDENTIFIER 265
180 #define TONICNAME_PITCH 268
181 #define NOTENAME_PITCH 269
182 #define PITCH_IDENTIFIER 270
183 #define NUMBER_IDENTIFIER 271
190 #define CHORDMODE 278
194 #define DEFAULTCHILD 282
196 #define DESCRIPTION 284
199 #define FIGUREMODE 287
204 #define LYRICMODE 292
208 #define MARKUPLIST 296
218 #define SEQUENTIAL 306
220 #define SIMULTANEOUS 308
225 #define NEWCONTEXT 313
226 #define CHORD_BASS 314
227 #define CHORD_CARET 315
228 #define CHORD_COLON 316
229 #define CHORD_MINUS 317
230 #define CHORD_SLASH 318
231 #define ANGLE_OPEN 319
232 #define ANGLE_CLOSE 320
233 #define DOUBLE_ANGLE_OPEN 321
234 #define DOUBLE_ANGLE_CLOSE 322
235 #define E_BACKSLASH 323
236 #define E_ANGLE_CLOSE 324
239 #define E_EXCLAMATION 327
240 #define E_BRACKET_OPEN 328
242 #define E_BRACKET_CLOSE 330
243 #define E_ANGLE_OPEN 331
247 #define FIGURE_CLOSE 335
248 #define FIGURE_OPEN 336
249 #define FIGURE_SPACE 337
251 #define CHORDMODIFIERS 339
252 #define LYRIC_MARKUP 340
253 #define MULTI_MEASURE_REST 341
254 #define E_UNSIGNED 342
255 #define EXPECT_MARKUP 343
256 #define EXPECT_PITCH 344
257 #define EXPECT_DURATION 345
258 #define EXPECT_SCM 346
261 #define EXPECT_MARKUP_LIST 349
262 #define EXPECT_OPTIONAL 350
263 #define EXPECT_NO_MORE_ARGS 351
264 #define EMBEDDED_LILY 352
265 #define BOOK_IDENTIFIER 353
266 #define CHORDMODIFIER_PITCH 354
267 #define CHORD_MODIFIER 355
268 #define CHORD_REPETITION 356
269 #define CONTEXT_DEF_IDENTIFIER 357
270 #define CONTEXT_MOD_IDENTIFIER 358
271 #define DRUM_PITCH 359
272 #define EVENT_IDENTIFIER 360
273 #define EVENT_FUNCTION 361
275 #define LYRICS_STRING 363
276 #define LYRIC_ELEMENT 364
277 #define LYRIC_MARKUP_IDENTIFIER 365
278 #define MARKUP_FUNCTION 366
279 #define MARKUP_LIST_FUNCTION 367
280 #define MARKUP_IDENTIFIER 368
281 #define MARKUPLIST_IDENTIFIER 369
282 #define MUSIC_FUNCTION 370
283 #define MUSIC_IDENTIFIER 371
284 #define OUTPUT_DEF_IDENTIFIER 372
286 #define SCM_FUNCTION 374
287 #define SCM_IDENTIFIER 375
288 #define SCM_TOKEN 376
289 #define SCORE_IDENTIFIER 377
291 #define STRING_IDENTIFIER 379
292 #define UNARY_MINUS 380
297 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
298 typedef union YYSTYPE
299 #line 182 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
302 Output_def *outputdef;
308 /* Line 1489 of yacc.c. */
309 #line 310 "out/parser-tmp.hh"
311 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
312 # define YYSTYPE_IS_DECLARED 1
313 # define YYSTYPE_IS_TRIVIAL 1
318 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
319 typedef struct YYLTYPE
326 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
327 # define YYLTYPE_IS_DECLARED 1
328 # define YYLTYPE_IS_TRIVIAL 1