+++ /dev/null
-/* A Bison parser, made by GNU Bison 2.3. */
-
-/* Skeleton implementation for Bison's Yacc-like parsers in C
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
- Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA. */
-
-/* As a special exception, you may create a larger work that contains
- part or all of the Bison parser skeleton and distribute that work
- under terms of your choice, so long as that work isn't itself a
- parser generator using the skeleton or a modified version thereof
- as a parser skeleton. Alternatively, if you modify or redistribute
- the parser skeleton itself, you may (at your option) remove this
- special exception, which will cause the skeleton and the resulting
- Bison output files to be licensed under the GNU General Public
- License without this special exception.
-
- This special exception was added by the Free Software Foundation in
- version 2.2 of Bison. */
-
-/* C LALR(1) parser skeleton written by Richard Stallman, by
- simplifying the original so-called "semantic" parser. */
-
-/* All symbols defined below should begin with yy or YY, to avoid
- infringing on user name space. This should be done even for local
- variables, as they might otherwise be expanded by user macros.
- There are some unavoidable exceptions within include files to
- define necessary library symbols; they are noted "INFRINGES ON
- USER NAME SPACE" below. */
-
-/* Identify Bison output. */
-#define YYBISON 1
-
-/* Bison version. */
-#define YYBISON_VERSION "2.3"
-
-/* Skeleton name. */
-#define YYSKELETON_NAME "yacc.c"
-
-/* Pure parsers. */
-#define YYPURE 1
-
-/* Using locations. */
-#define YYLSP_NEEDED 1
-
-
-
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- END_OF_FILE = 0,
- PREC_BOT = 258,
- REPEAT = 259,
- ALTERNATIVE = 260,
- COMPOSITE = 261,
- ADDLYRICS = 262,
- DEFAULT = 263,
- FUNCTION_ARGLIST = 264,
- DURATION_IDENTIFIER = 265,
- REAL = 266,
- UNSIGNED = 267,
- TONICNAME_PITCH = 268,
- NOTENAME_PITCH = 269,
- PITCH_IDENTIFIER = 270,
- NUMBER_IDENTIFIER = 271,
- PREC_TOP = 272,
- ACCEPTS = 273,
- ALIAS = 274,
- BOOK = 275,
- BOOKPART = 276,
- CHANGE = 277,
- CHORDMODE = 278,
- CHORDS = 279,
- CONSISTS = 280,
- CONTEXT = 281,
- DEFAULTCHILD = 282,
- DENIES = 283,
- DESCRIPTION = 284,
- DRUMMODE = 285,
- DRUMS = 286,
- FIGUREMODE = 287,
- FIGURES = 288,
- HEADER = 289,
- INVALID = 290,
- LAYOUT = 291,
- LYRICMODE = 292,
- LYRICS = 293,
- LYRICSTO = 294,
- MARKUP = 295,
- MARKUPLIST = 296,
- MIDI = 297,
- NAME = 298,
- NOTEMODE = 299,
- OVERRIDE = 300,
- PAPER = 301,
- REMOVE = 302,
- REST = 303,
- REVERT = 304,
- SCORE = 305,
- SEQUENTIAL = 306,
- SET = 307,
- SIMULTANEOUS = 308,
- TEMPO = 309,
- TYPE = 310,
- UNSET = 311,
- WITH = 312,
- NEWCONTEXT = 313,
- CHORD_BASS = 314,
- CHORD_CARET = 315,
- CHORD_COLON = 316,
- CHORD_MINUS = 317,
- CHORD_SLASH = 318,
- ANGLE_OPEN = 319,
- ANGLE_CLOSE = 320,
- DOUBLE_ANGLE_OPEN = 321,
- DOUBLE_ANGLE_CLOSE = 322,
- E_BACKSLASH = 323,
- E_ANGLE_CLOSE = 324,
- E_CHAR = 325,
- E_CLOSE = 326,
- E_EXCLAMATION = 327,
- E_BRACKET_OPEN = 328,
- E_OPEN = 329,
- E_BRACKET_CLOSE = 330,
- E_ANGLE_OPEN = 331,
- E_PLUS = 332,
- E_TILDE = 333,
- EXTENDER = 334,
- FIGURE_CLOSE = 335,
- FIGURE_OPEN = 336,
- FIGURE_SPACE = 337,
- HYPHEN = 338,
- CHORDMODIFIERS = 339,
- LYRIC_MARKUP = 340,
- MULTI_MEASURE_REST = 341,
- E_UNSIGNED = 342,
- EXPECT_MARKUP = 343,
- EXPECT_PITCH = 344,
- EXPECT_DURATION = 345,
- EXPECT_SCM = 346,
- BACKUP = 347,
- REPARSE = 348,
- EXPECT_MARKUP_LIST = 349,
- EXPECT_OPTIONAL = 350,
- EXPECT_NO_MORE_ARGS = 351,
- EMBEDDED_LILY = 352,
- BOOK_IDENTIFIER = 353,
- CHORDMODIFIER_PITCH = 354,
- CHORD_MODIFIER = 355,
- CHORD_REPETITION = 356,
- CONTEXT_DEF_IDENTIFIER = 357,
- CONTEXT_MOD_IDENTIFIER = 358,
- DRUM_PITCH = 359,
- EVENT_IDENTIFIER = 360,
- EVENT_FUNCTION = 361,
- FRACTION = 362,
- LYRICS_STRING = 363,
- LYRIC_ELEMENT = 364,
- LYRIC_MARKUP_IDENTIFIER = 365,
- MARKUP_FUNCTION = 366,
- MARKUP_LIST_FUNCTION = 367,
- MARKUP_IDENTIFIER = 368,
- MARKUPLIST_IDENTIFIER = 369,
- MUSIC_FUNCTION = 370,
- MUSIC_IDENTIFIER = 371,
- OUTPUT_DEF_IDENTIFIER = 372,
- RESTNAME = 373,
- SCM_FUNCTION = 374,
- SCM_IDENTIFIER = 375,
- SCM_TOKEN = 376,
- SCORE_IDENTIFIER = 377,
- STRING = 378,
- STRING_IDENTIFIER = 379,
- UNARY_MINUS = 380
- };
-#endif
-/* Tokens. */
-#define END_OF_FILE 0
-#define PREC_BOT 258
-#define REPEAT 259
-#define ALTERNATIVE 260
-#define COMPOSITE 261
-#define ADDLYRICS 262
-#define DEFAULT 263
-#define FUNCTION_ARGLIST 264
-#define DURATION_IDENTIFIER 265
-#define REAL 266
-#define UNSIGNED 267
-#define TONICNAME_PITCH 268
-#define NOTENAME_PITCH 269
-#define PITCH_IDENTIFIER 270
-#define NUMBER_IDENTIFIER 271
-#define PREC_TOP 272
-#define ACCEPTS 273
-#define ALIAS 274
-#define BOOK 275
-#define BOOKPART 276
-#define CHANGE 277
-#define CHORDMODE 278
-#define CHORDS 279
-#define CONSISTS 280
-#define CONTEXT 281
-#define DEFAULTCHILD 282
-#define DENIES 283
-#define DESCRIPTION 284
-#define DRUMMODE 285
-#define DRUMS 286
-#define FIGUREMODE 287
-#define FIGURES 288
-#define HEADER 289
-#define INVALID 290
-#define LAYOUT 291
-#define LYRICMODE 292
-#define LYRICS 293
-#define LYRICSTO 294
-#define MARKUP 295
-#define MARKUPLIST 296
-#define MIDI 297
-#define NAME 298
-#define NOTEMODE 299
-#define OVERRIDE 300
-#define PAPER 301
-#define REMOVE 302
-#define REST 303
-#define REVERT 304
-#define SCORE 305
-#define SEQUENTIAL 306
-#define SET 307
-#define SIMULTANEOUS 308
-#define TEMPO 309
-#define TYPE 310
-#define UNSET 311
-#define WITH 312
-#define NEWCONTEXT 313
-#define CHORD_BASS 314
-#define CHORD_CARET 315
-#define CHORD_COLON 316
-#define CHORD_MINUS 317
-#define CHORD_SLASH 318
-#define ANGLE_OPEN 319
-#define ANGLE_CLOSE 320
-#define DOUBLE_ANGLE_OPEN 321
-#define DOUBLE_ANGLE_CLOSE 322
-#define E_BACKSLASH 323
-#define E_ANGLE_CLOSE 324
-#define E_CHAR 325
-#define E_CLOSE 326
-#define E_EXCLAMATION 327
-#define E_BRACKET_OPEN 328
-#define E_OPEN 329
-#define E_BRACKET_CLOSE 330
-#define E_ANGLE_OPEN 331
-#define E_PLUS 332
-#define E_TILDE 333
-#define EXTENDER 334
-#define FIGURE_CLOSE 335
-#define FIGURE_OPEN 336
-#define FIGURE_SPACE 337
-#define HYPHEN 338
-#define CHORDMODIFIERS 339
-#define LYRIC_MARKUP 340
-#define MULTI_MEASURE_REST 341
-#define E_UNSIGNED 342
-#define EXPECT_MARKUP 343
-#define EXPECT_PITCH 344
-#define EXPECT_DURATION 345
-#define EXPECT_SCM 346
-#define BACKUP 347
-#define REPARSE 348
-#define EXPECT_MARKUP_LIST 349
-#define EXPECT_OPTIONAL 350
-#define EXPECT_NO_MORE_ARGS 351
-#define EMBEDDED_LILY 352
-#define BOOK_IDENTIFIER 353
-#define CHORDMODIFIER_PITCH 354
-#define CHORD_MODIFIER 355
-#define CHORD_REPETITION 356
-#define CONTEXT_DEF_IDENTIFIER 357
-#define CONTEXT_MOD_IDENTIFIER 358
-#define DRUM_PITCH 359
-#define EVENT_IDENTIFIER 360
-#define EVENT_FUNCTION 361
-#define FRACTION 362
-#define LYRICS_STRING 363
-#define LYRIC_ELEMENT 364
-#define LYRIC_MARKUP_IDENTIFIER 365
-#define MARKUP_FUNCTION 366
-#define MARKUP_LIST_FUNCTION 367
-#define MARKUP_IDENTIFIER 368
-#define MARKUPLIST_IDENTIFIER 369
-#define MUSIC_FUNCTION 370
-#define MUSIC_IDENTIFIER 371
-#define OUTPUT_DEF_IDENTIFIER 372
-#define RESTNAME 373
-#define SCM_FUNCTION 374
-#define SCM_IDENTIFIER 375
-#define SCM_TOKEN 376
-#define SCORE_IDENTIFIER 377
-#define STRING 378
-#define STRING_IDENTIFIER 379
-#define UNARY_MINUS 380
-
-
-
-
-/* Copy the first part of user declarations. */
-#line 30 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
-
-
-#define yyerror Lily_parser::parser_error
-
-/* We use custom location type: Input objects */
-#define YYLTYPE Input
-#define YYLLOC_DEFAULT(Current,Rhs,N) \
- ((Current).set_location ((Rhs)[1], (Rhs)[N]))
-
-
-#line 108 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- // -*-Fundamental-*-
-
-/*
-FIXME:
-
- * The rules for who is protecting what are very shady. Uniformise
- this.
-
- * There are too many lexical modes?
-*/
-
-#include "config.hh"
-
-#include <cctype>
-#include <cstdlib>
-#include <cstdio>
-using namespace std;
-
-#include "book.hh"
-#include "context-def.hh"
-#include "context-mod.hh"
-#include "dimensions.hh"
-#include "file-path.hh"
-#include "input.hh"
-#include "international.hh"
-#include "lily-guile.hh"
-#include "lily-lexer.hh"
-#include "lily-parser.hh"
-#include "main.hh"
-#include "misc.hh"
-#include "music.hh"
-#include "output-def.hh"
-#include "paper-book.hh"
-#include "scm-hash.hh"
-#include "score.hh"
-#include "text-interface.hh"
-#include "warn.hh"
-
-void
-Lily_parser::parser_error (Input const *i, Lily_parser *parser, string s)
-{
- parser->parser_error (*i, s);
-}
-
-#define MYBACKUP(Token, Value, Location) \
-do \
- if (yychar == YYEMPTY) \
- { \
- if (Token) \
- parser->lexer_->push_extra_token (Token, Value); \
- parser->lexer_->push_extra_token (BACKUP); \
- } else { \
- parser->parser_error \
- (Location, _("Too much lookahead")); \
- } \
-while (0)
-
-
-#define MYREPARSE(Location, Pred, Token, Value) \
-do \
- if (yychar == YYEMPTY) \
- { \
- parser->lexer_->push_extra_token (Token, Value); \
- parser->lexer_->push_extra_token (REPARSE, \
- Pred); \
- } else { \
- parser->parser_error \
- (Location, _("Too much lookahead")); \
- } \
-while (0)
-
-
-
-/* Enabling traces. */
-#ifndef YYDEBUG
-# define YYDEBUG 1
-#endif
-
-/* Enabling verbose error messages. */
-#ifdef YYERROR_VERBOSE
-# undef YYERROR_VERBOSE
-# define YYERROR_VERBOSE 1
-#else
-# define YYERROR_VERBOSE 1
-#endif
-
-/* Enabling the token table. */
-#ifndef YYTOKEN_TABLE
-# define YYTOKEN_TABLE 0
-#endif
-
-#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
-#line 182 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
-{
- Book *book;
- Output_def *outputdef;
- SCM scm;
- std::string *string;
- Score *score;
- int i;
-}
-/* Line 187 of yacc.c. */
-#line 441 "out/parser.cc"
- YYSTYPE;
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-# define YYSTYPE_IS_DECLARED 1
-# define YYSTYPE_IS_TRIVIAL 1
-#endif
-
-#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
-typedef struct YYLTYPE
-{
- int first_line;
- int first_column;
- int last_line;
- int last_column;
-} YYLTYPE;
-# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
-# define YYLTYPE_IS_DECLARED 1
-# define YYLTYPE_IS_TRIVIAL 1
-#endif
-
-
-/* Copy the second part of user declarations. */
-#line 191 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
-
-
-#define MY_MAKE_MUSIC(x, spot) make_music_with_input (ly_symbol2scm (x), spot)
-
-/* ES TODO:
-- Don't use lily module, create a new module instead.
-- delay application of the function
-*/
-#define LOWLEVEL_MAKE_SYNTAX(proc, args) \
- scm_apply_0 (proc, args)
-/* Syntactic Sugar. */
-#define MAKE_SYNTAX(name, location, ...) \
- LOWLEVEL_MAKE_SYNTAX (ly_lily_module_constant (name), scm_list_n (parser->self_scm (), make_input (location) , ##__VA_ARGS__, SCM_UNDEFINED))
-#define START_MAKE_SYNTAX(name, ...) \
- scm_list_n (ly_lily_module_constant (name) , ##__VA_ARGS__, SCM_UNDEFINED)
-#define FINISH_MAKE_SYNTAX(start, location, ...) \
- LOWLEVEL_MAKE_SYNTAX (scm_car (start), scm_cons2 (parser->self_scm (), make_input (location), scm_append_x (scm_list_2 (scm_cdr (start), scm_list_n (__VA_ARGS__, SCM_UNDEFINED)))))
-
-SCM get_next_unique_context_id ();
-SCM get_next_unique_lyrics_context_id ();
-
-#undef _
-#if !HAVE_GETTEXT
-#define _(x) x
-#else
-#include <libintl.h>
-#define _(x) gettext (x)
-#endif
-
-
-static Music *make_music_with_input (SCM name, Input where);
-SCM check_scheme_arg (Lily_parser *parser, Input loc,
- SCM arg, SCM args, SCM pred);
-SCM loc_on_music (Input loc, SCM arg);
-SCM make_chord_elements (Input loc, SCM pitch, SCM dur, SCM modification_list);
-SCM make_chord_step (int step, Rational alter);
-SCM make_simple_markup (SCM a);
-bool is_duration (int t);
-bool is_regular_identifier (SCM id);
-int yylex (YYSTYPE *s, YYLTYPE *loc, Lily_parser *parser);
-void set_music_properties (Music *p, SCM a);
-
-
-
-/* Line 216 of yacc.c. */
-#line 509 "out/parser.cc"
-
-#ifdef short
-# undef short
-#endif
-
-#ifdef YYTYPE_UINT8
-typedef YYTYPE_UINT8 yytype_uint8;
-#else
-typedef unsigned char yytype_uint8;
-#endif
-
-#ifdef YYTYPE_INT8
-typedef YYTYPE_INT8 yytype_int8;
-#elif (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-typedef signed char yytype_int8;
-#else
-typedef short int yytype_int8;
-#endif
-
-#ifdef YYTYPE_UINT16
-typedef YYTYPE_UINT16 yytype_uint16;
-#else
-typedef unsigned short int yytype_uint16;
-#endif
-
-#ifdef YYTYPE_INT16
-typedef YYTYPE_INT16 yytype_int16;
-#else
-typedef short int yytype_int16;
-#endif
-
-#ifndef YYSIZE_T
-# ifdef __SIZE_TYPE__
-# define YYSIZE_T __SIZE_TYPE__
-# elif defined size_t
-# define YYSIZE_T size_t
-# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
-# else
-# define YYSIZE_T unsigned int
-# endif
-#endif
-
-#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
-
-#ifndef YY_
-# if YYENABLE_NLS
-# if ENABLE_NLS
-# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
-# define YY_(msgid) dgettext ("bison-runtime", msgid)
-# endif
-# endif
-# ifndef YY_
-# define YY_(msgid) msgid
-# endif
-#endif
-
-/* Suppress unused-variable warnings by "using" E. */
-#if ! defined lint || defined __GNUC__
-# define YYUSE(e) ((void) (e))
-#else
-# define YYUSE(e) /* empty */
-#endif
-
-/* Identity function, used to suppress warnings about constant conditions. */
-#ifndef lint
-# define YYID(n) (n)
-#else
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static int
-YYID (int i)
-#else
-static int
-YYID (i)
- int i;
-#endif
-{
- return i;
-}
-#endif
-
-#if ! defined yyoverflow || YYERROR_VERBOSE
-
-/* The parser invokes alloca or malloc; define the necessary symbols. */
-
-# ifdef YYSTACK_USE_ALLOCA
-# if YYSTACK_USE_ALLOCA
-# ifdef __GNUC__
-# define YYSTACK_ALLOC __builtin_alloca
-# elif defined __BUILTIN_VA_ARG_INCR
-# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
-# elif defined _AIX
-# define YYSTACK_ALLOC __alloca
-# elif defined _MSC_VER
-# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
-# define alloca _alloca
-# else
-# define YYSTACK_ALLOC alloca
-# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# ifndef _STDLIB_H
-# define _STDLIB_H 1
-# endif
-# endif
-# endif
-# endif
-# endif
-
-# ifdef YYSTACK_ALLOC
- /* Pacify GCC's `empty if-body' warning. */
-# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
-# ifndef YYSTACK_ALLOC_MAXIMUM
- /* The OS might guarantee only one guard page at the bottom of the stack,
- and a page size can be as small as 4096 bytes. So we cannot safely
- invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
- to allow for a few compiler-allocated temporary stack slots. */
-# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
-# endif
-# else
-# define YYSTACK_ALLOC YYMALLOC
-# define YYSTACK_FREE YYFREE
-# ifndef YYSTACK_ALLOC_MAXIMUM
-# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
-# endif
-# if (defined __cplusplus && ! defined _STDLIB_H \
- && ! ((defined YYMALLOC || defined malloc) \
- && (defined YYFREE || defined free)))
-# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# ifndef _STDLIB_H
-# define _STDLIB_H 1
-# endif
-# endif
-# ifndef YYMALLOC
-# define YYMALLOC malloc
-# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
-# endif
-# endif
-# ifndef YYFREE
-# define YYFREE free
-# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-void free (void *); /* INFRINGES ON USER NAME SPACE */
-# endif
-# endif
-# endif
-#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
-
-
-#if (! defined yyoverflow \
- && (! defined __cplusplus \
- || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \
- && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
-
-/* A type that is properly aligned for any stack member. */
-union yyalloc
-{
- yytype_int16 yyss;
- YYSTYPE yyvs;
- YYLTYPE yyls;
-};
-
-/* The size of the maximum gap between one aligned stack and the next. */
-# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
-
-/* The size of an array large to enough to hold all stacks, each with
- N elements. */
-# define YYSTACK_BYTES(N) \
- ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
- + 2 * YYSTACK_GAP_MAXIMUM)
-
-/* Copy COUNT objects from FROM to TO. The source and destination do
- not overlap. */
-# ifndef YYCOPY
-# if defined __GNUC__ && 1 < __GNUC__
-# define YYCOPY(To, From, Count) \
- __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
-# else
-# define YYCOPY(To, From, Count) \
- do \
- { \
- YYSIZE_T yyi; \
- for (yyi = 0; yyi < (Count); yyi++) \
- (To)[yyi] = (From)[yyi]; \
- } \
- while (YYID (0))
-# endif
-# endif
-
-/* Relocate STACK from its old location to the new one. The
- local variables YYSIZE and YYSTACKSIZE give the old and new number of
- elements in the stack, and YYPTR gives the new location of the
- stack. Advance YYPTR to a properly aligned location for the next
- stack. */
-# define YYSTACK_RELOCATE(Stack) \
- do \
- { \
- YYSIZE_T yynewbytes; \
- YYCOPY (&yyptr->Stack, Stack, yysize); \
- Stack = &yyptr->Stack; \
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
- yyptr += yynewbytes / sizeof (*yyptr); \
- } \
- while (YYID (0))
-
-#endif
-
-/* YYFINAL -- State number of the termination state. */
-#define YYFINAL 5
-/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 4999
-
-/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 147
-/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 186
-/* YYNRULES -- Number of rules. */
-#define YYNRULES 530
-/* YYNRULES -- Number of states. */
-#define YYNSTATES 786
-
-/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
-#define YYUNDEFTOK 2
-#define YYMAXUTOK 380
-
-#define YYTRANSLATE(YYX) \
- ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
-
-/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
-static const yytype_uint8 yytranslate[] =
-{
- 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 145, 2, 2, 2, 2, 2, 142,
- 140, 141, 144, 128, 143, 127, 133, 17, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 10, 2,
- 2, 132, 2, 146, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 137, 2, 138, 135, 136, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 130, 134, 131, 139, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
- 5, 6, 7, 8, 9, 11, 12, 13, 14, 15,
- 16, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
- 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
- 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
- 129
-};
-
-#if YYDEBUG
-/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
- YYRHS. */
-static const yytype_uint16 yyprhs[] =
-{
- 0, 0, 3, 5, 6, 10, 11, 14, 17, 20,
- 23, 24, 27, 29, 31, 33, 35, 37, 39, 41,
- 43, 45, 47, 49, 51, 53, 55, 57, 59, 61,
- 63, 65, 67, 69, 71, 73, 75, 77, 80, 81,
- 83, 87, 89, 92, 93, 96, 101, 103, 105, 109,
- 114, 116, 118, 120, 122, 124, 126, 128, 130, 132,
- 134, 136, 138, 140, 142, 144, 149, 151, 153, 155,
- 156, 158, 161, 164, 167, 172, 173, 175, 178, 181,
- 184, 187, 190, 193, 194, 198, 201, 204, 209, 210,
- 212, 215, 218, 221, 224, 227, 228, 232, 235, 238,
- 243, 245, 247, 248, 252, 255, 258, 260, 263, 265,
- 267, 269, 271, 273, 274, 280, 283, 287, 290, 291,
- 295, 298, 303, 309, 312, 313, 316, 319, 323, 325,
- 327, 329, 331, 333, 335, 337, 339, 341, 346, 353,
- 356, 358, 361, 365, 367, 369, 371, 372, 378, 381,
- 383, 386, 387, 389, 390, 393, 396, 399, 401, 403,
- 405, 408, 410, 412, 414, 416, 418, 420, 422, 426,
- 430, 434, 439, 444, 449, 454, 460, 466, 472, 474,
- 479, 484, 486, 491, 496, 498, 500, 502, 504, 509,
- 514, 519, 524, 529, 534, 539, 545, 551, 557, 562,
- 567, 572, 576, 580, 582, 584, 586, 590, 594, 598,
- 602, 604, 606, 610, 614, 619, 624, 629, 633, 635,
- 637, 639, 643, 647, 652, 657, 662, 666, 670, 674,
- 676, 679, 683, 687, 689, 692, 696, 700, 702, 704,
- 706, 708, 710, 713, 715, 719, 723, 728, 733, 738,
- 741, 742, 745, 747, 749, 751, 754, 759, 764, 767,
- 771, 773, 775, 777, 779, 781, 783, 785, 787, 789,
- 790, 794, 795, 800, 803, 804, 809, 814, 816, 819,
- 821, 825, 828, 834, 838, 840, 842, 844, 846, 848,
- 850, 852, 854, 856, 858, 861, 864, 866, 870, 876,
- 880, 885, 888, 890, 892, 894, 898, 900, 902, 904,
- 906, 908, 910, 912, 914, 916, 918, 920, 923, 926,
- 930, 934, 936, 938, 942, 946, 947, 950, 956, 959,
- 961, 963, 965, 968, 971, 973, 975, 977, 979, 981,
- 983, 985, 986, 989, 991, 994, 996, 998, 1001, 1004,
- 1007, 1010, 1012, 1015, 1017, 1019, 1021, 1023, 1025, 1027,
- 1029, 1031, 1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047,
- 1049, 1051, 1052, 1054, 1057, 1060, 1062, 1065, 1067, 1070,
- 1072, 1075, 1078, 1080, 1083, 1086, 1088, 1090, 1092, 1094,
- 1096, 1098, 1100, 1102, 1104, 1106, 1108, 1110, 1112, 1114,
- 1116, 1118, 1120, 1122, 1123, 1125, 1127, 1130, 1133, 1135,
- 1139, 1143, 1144, 1147, 1149, 1152, 1154, 1156, 1158, 1160,
- 1162, 1164, 1166, 1168, 1171, 1174, 1177, 1179, 1181, 1183,
- 1185, 1187, 1190, 1191, 1194, 1198, 1199, 1201, 1208, 1211,
- 1214, 1216, 1219, 1221, 1223, 1225, 1229, 1233, 1237, 1241,
- 1244, 1249, 1250, 1253, 1255, 1257, 1260, 1263, 1265, 1267,
- 1269, 1271, 1275, 1277, 1280, 1283, 1285, 1289, 1293, 1297,
- 1299, 1301, 1305, 1309, 1312, 1314, 1316, 1319, 1322, 1324,
- 1326, 1328, 1330, 1332, 1334, 1335, 1338, 1339, 1342, 1344,
- 1345, 1349, 1351, 1352, 1356, 1358, 1359, 1363, 1365, 1368,
- 1370, 1371, 1375, 1377, 1379, 1381, 1383, 1386, 1389, 1393,
- 1394, 1397, 1400, 1403, 1407, 1411, 1413, 1415, 1419, 1423,
- 1425, 1428, 1430, 1432, 1434, 1436, 1437, 1443, 1446, 1449,
- 1452
-};
-
-/* YYRHS -- A `-1'-separated list of the rules' RHS. */
-static const yytype_int16 yyrhs[] =
-{
- 148, 0, -1, 150, -1, -1, 99, 149, 158, -1,
- -1, 150, 151, -1, 150, 162, -1, 150, 1, -1,
- 150, 37, -1, -1, 152, 160, -1, 168, -1, 171,
- -1, 174, -1, 200, -1, 316, -1, 314, -1, 178,
- -1, 123, -1, 122, -1, 153, -1, 125, -1, 126,
- -1, 316, -1, 314, -1, 196, -1, 174, -1, 164,
- -1, 168, -1, 171, -1, 178, -1, 153, -1, 157,
- -1, 154, -1, 157, -1, 190, -1, 121, 211, -1,
- -1, 163, -1, 189, 189, 186, -1, 1, -1, 37,
- 158, -1, -1, 159, 162, -1, 36, 130, 159, 131,
- -1, 125, -1, 110, -1, 161, 132, 163, -1, 161,
- 237, 132, 163, -1, 155, -1, 174, -1, 168, -1,
- 171, -1, 178, -1, 164, -1, 191, -1, 259, -1,
- 303, -1, 109, -1, 244, -1, 155, -1, 316, -1,
- 314, -1, 196, -1, 28, 130, 167, 131, -1, 155,
- -1, 200, -1, 165, -1, -1, 104, -1, 167, 240,
- -1, 167, 196, -1, 167, 166, -1, 22, 130, 169,
- 131, -1, -1, 100, -1, 169, 177, -1, 169, 171,
- -1, 169, 174, -1, 169, 200, -1, 169, 316, -1,
- 169, 314, -1, -1, 169, 170, 160, -1, 169, 155,
- -1, 169, 1, -1, 23, 130, 172, 131, -1, -1,
- 100, -1, 172, 177, -1, 172, 174, -1, 172, 200,
- -1, 172, 316, -1, 172, 314, -1, -1, 172, 173,
- 160, -1, 172, 155, -1, 172, 1, -1, 52, 130,
- 175, 131, -1, 188, -1, 124, -1, -1, 175, 176,
- 160, -1, 175, 178, -1, 175, 1, -1, 178, -1,
- 183, 131, -1, 48, -1, 44, -1, 38, -1, 179,
- -1, 190, -1, -1, 28, 182, 130, 167, 131, -1,
- 180, 130, -1, 180, 130, 119, -1, 183, 162, -1,
- -1, 183, 184, 181, -1, 183, 1, -1, 56, 279,
- 132, 302, -1, 56, 247, 279, 132, 302, -1, 56,
- 246, -1, -1, 186, 189, -1, 186, 1, -1, 130,
- 186, 131, -1, 190, -1, 295, -1, 188, -1, 155,
- -1, 195, -1, 200, -1, 195, -1, 200, -1, 295,
- -1, 4, 245, 309, 188, -1, 4, 245, 309, 188,
- 5, 187, -1, 53, 187, -1, 187, -1, 55, 187,
- -1, 68, 186, 69, -1, 248, -1, 243, -1, 235,
- -1, -1, 59, 197, 130, 199, 131, -1, 59, 105,
- -1, 105, -1, 59, 219, -1, -1, 196, -1, -1,
- 199, 240, -1, 199, 105, -1, 199, 166, -1, 225,
- -1, 202, -1, 202, -1, 226, 201, -1, 254, -1,
- 227, -1, 118, -1, 203, -1, 194, -1, 193, -1,
- 212, -1, 97, 91, 204, -1, 97, 92, 204, -1,
- 97, 93, 204, -1, 97, 91, 211, 271, -1, 97,
- 92, 215, 276, -1, 97, 93, 215, 109, -1, 97,
- 93, 215, 259, -1, 97, 93, 215, 127, 13, -1,
- 97, 93, 215, 127, 12, -1, 97, 93, 215, 127,
- 18, -1, 205, -1, 97, 93, 211, 220, -1, 97,
- 93, 215, 307, -1, 205, -1, 97, 93, 211, 156,
- -1, 97, 93, 215, 306, -1, 212, -1, 210, -1,
- 216, -1, 210, -1, 97, 93, 208, 220, -1, 97,
- 93, 209, 259, -1, 97, 93, 208, 293, -1, 97,
- 93, 209, 13, -1, 97, 93, 209, 12, -1, 97,
- 93, 209, 18, -1, 97, 93, 209, 109, -1, 97,
- 93, 209, 127, 13, -1, 97, 93, 209, 127, 12,
- -1, 97, 93, 209, 127, 18, -1, 97, 91, 208,
- 271, -1, 97, 92, 209, 276, -1, 97, 93, 210,
- 94, -1, 210, 95, 220, -1, 210, 95, 306, -1,
- 212, -1, 207, -1, 222, -1, 93, 217, 156, -1,
- 93, 218, 306, -1, 93, 218, 109, -1, 93, 218,
- 259, -1, 214, -1, 213, -1, 93, 217, 293, -1,
- 213, 95, 294, -1, 93, 218, 127, 13, -1, 93,
- 218, 127, 12, -1, 93, 218, 127, 18, -1, 214,
- 95, 306, -1, 216, -1, 206, -1, 222, -1, 93,
- 217, 220, -1, 93, 218, 306, -1, 93, 218, 127,
- 13, -1, 93, 218, 127, 12, -1, 93, 218, 127,
- 18, -1, 93, 218, 259, -1, 93, 218, 109, -1,
- 93, 217, 293, -1, 208, -1, 210, 94, -1, 97,
- 91, 217, -1, 97, 92, 217, -1, 209, -1, 210,
- 94, -1, 97, 91, 218, -1, 97, 92, 218, -1,
- 153, -1, 221, -1, 154, -1, 221, -1, 201, -1,
- 121, 215, -1, 98, -1, 91, 217, 271, -1, 92,
- 218, 276, -1, 97, 91, 204, 8, -1, 97, 92,
- 204, 8, -1, 97, 93, 204, 8, -1, 117, 211,
- -1, -1, 132, 245, -1, 223, -1, 192, -1, 233,
- -1, 226, 188, -1, 28, 245, 224, 198, -1, 60,
- 245, 224, 198, -1, 228, 203, -1, 229, 198, 203,
- -1, 46, -1, 32, -1, 34, -1, 25, -1, 39,
- -1, 33, -1, 35, -1, 26, -1, 40, -1, -1,
- 7, 231, 200, -1, -1, 230, 7, 232, 200, -1,
- 200, 230, -1, -1, 41, 245, 234, 188, -1, 24,
- 125, 132, 125, -1, 219, -1, 236, 219, -1, 236,
- -1, 125, 132, 246, -1, 58, 245, -1, 47, 245,
- 237, 132, 246, -1, 51, 245, 155, -1, 27, -1,
- 49, -1, 20, -1, 29, -1, 30, -1, 21, -1,
- 57, -1, 31, -1, 45, -1, 238, -1, 239, 125,
- -1, 239, 155, -1, 245, -1, 245, 133, 245, -1,
- 47, 241, 237, 132, 246, -1, 51, 241, 155, -1,
- 54, 241, 132, 246, -1, 58, 241, -1, 242, -1,
- 125, -1, 126, -1, 244, 128, 244, -1, 125, -1,
- 110, -1, 126, -1, 156, -1, 306, -1, 109, -1,
- 293, -1, 220, -1, 306, -1, 109, -1, 293, -1,
- 291, 258, -1, 292, 258, -1, 103, 278, 258, -1,
- 88, 278, 258, -1, 256, -1, 249, -1, 250, 278,
- 258, -1, 66, 251, 67, -1, -1, 251, 252, -1,
- 270, 310, 311, 265, 258, -1, 106, 258, -1, 253,
- -1, 223, -1, 118, -1, 117, 215, -1, 108, 215,
- -1, 257, -1, 75, -1, 77, -1, 70, -1, 134,
- -1, 80, -1, 185, -1, -1, 258, 260, -1, 263,
- -1, 275, 254, -1, 85, -1, 81, -1, 275, 264,
- -1, 275, 263, -1, 135, 273, -1, 136, 273, -1,
- 259, -1, 127, 273, -1, 89, -1, 137, -1, 138,
- -1, 139, -1, 140, -1, 141, -1, 74, -1, 76,
- -1, 73, -1, 71, -1, 78, -1, 262, -1, 261,
- -1, 107, -1, 282, -1, 255, -1, 272, -1, 274,
- -1, -1, 132, -1, 132, 267, -1, 132, 266, -1,
- 142, -1, 266, 142, -1, 143, -1, 267, 143, -1,
- 15, -1, 15, 266, -1, 15, 267, -1, 14, -1,
- 14, 266, -1, 14, 267, -1, 268, -1, 16, -1,
- 270, -1, 269, -1, 316, -1, 245, -1, 13, -1,
- 135, -1, 128, -1, 127, -1, 134, -1, 67, -1,
- 133, -1, 136, -1, 136, -1, 135, -1, 127, -1,
- 280, -1, -1, 280, -1, 277, -1, 308, 281, -1,
- 11, 281, -1, 279, -1, 280, 144, 308, -1, 280,
- 144, 109, -1, -1, 281, 133, -1, 10, -1, 10,
- 308, -1, 13, -1, 125, -1, 316, -1, 127, -1,
- 128, -1, 145, -1, 84, -1, 283, -1, 285, 138,
- -1, 285, 284, -1, 285, 286, -1, 79, -1, 74,
- -1, 17, -1, 70, -1, 285, -1, 137, 285, -1,
- -1, 288, 287, -1, 83, 288, 82, -1, -1, 50,
- -1, 270, 310, 311, 265, 277, 290, -1, 106, 278,
- -1, 120, 278, -1, 296, -1, 289, 278, -1, 312,
- -1, 110, -1, 293, -1, 293, 280, 258, -1, 293,
- 260, 258, -1, 111, 278, 258, -1, 293, 278, 258,
- -1, 269, 278, -1, 269, 278, 298, 297, -1, -1,
- 297, 299, -1, 63, -1, 62, -1, 65, 269, -1,
- 61, 269, -1, 298, -1, 300, -1, 102, -1, 301,
- -1, 300, 133, 301, -1, 308, -1, 308, 128, -1,
- 308, 64, -1, 308, -1, 308, 139, 308, -1, 303,
- 128, 304, -1, 303, 127, 304, -1, 304, -1, 305,
- -1, 305, 144, 305, -1, 305, 17, 305, -1, 127,
- 305, -1, 306, -1, 307, -1, 13, 18, -1, 12,
- 18, -1, 13, -1, 12, -1, 18, -1, 13, -1,
- 13, -1, 18, -1, -1, 310, 145, -1, -1, 311,
- 146, -1, 112, -1, -1, 87, 313, 318, -1, 116,
- -1, -1, 43, 315, 321, -1, 115, -1, -1, 42,
- 317, 318, -1, 321, -1, 329, 330, -1, 330, -1,
- -1, 153, 320, 94, -1, 116, -1, 322, -1, 323,
- -1, 325, -1, 319, 116, -1, 329, 323, -1, 130,
- 324, 131, -1, -1, 324, 332, -1, 324, 321, -1,
- 114, 327, -1, 96, 327, 321, -1, 93, 327, 219,
- -1, 98, -1, 326, -1, 90, 327, 332, -1, 113,
- 90, 327, -1, 328, -1, 329, 328, -1, 125, -1,
- 115, -1, 112, -1, 126, -1, -1, 52, 331, 130,
- 175, 131, -1, 113, 326, -1, 319, 115, -1, 329,
- 330, -1, 330, -1
-};
-
-/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
-static const yytype_uint16 yyrline[] =
-{
- 0, 565, 565, 566, 566, 575, 576, 578, 580, 583,
- 590, 590, 595, 601, 607, 614, 619, 623, 627, 644,
- 648, 652, 653, 654, 655, 656, 657, 658, 663, 664,
- 669, 674, 684, 685, 689, 690, 691, 695, 703, 706,
- 707, 715, 718, 724, 726, 732, 741, 742, 746, 749,
- 761, 766, 770, 774, 778, 782, 785, 788, 791, 794,
- 797, 800, 803, 806, 809, 815, 822, 823, 827, 843,
- 847, 851, 854, 861, 873, 884, 894, 900, 905, 911,
- 917, 922, 926, 931, 930, 934, 935, 943, 950, 955,
- 961, 965, 971, 976, 980, 985, 984, 990, 991, 998,
- 1004, 1014, 1020, 1019, 1025, 1037, 1048, 1061, 1070, 1075,
- 1080, 1089, 1101, 1106, 1105, 1115, 1119, 1129, 1133, 1132,
- 1148, 1154, 1157, 1160, 1169, 1172, 1176, 1186, 1192, 1193,
- 1197, 1198, 1212, 1222, 1226, 1227, 1228, 1232, 1236, 1243,
- 1246, 1252, 1255, 1261, 1262, 1263, 1267, 1267, 1272, 1276,
- 1280, 1292, 1295, 1302, 1305, 1308, 1313, 1320, 1321, 1326,
- 1327, 1331, 1335, 1336, 1337, 1341, 1342, 1350, 1351, 1355,
- 1359, 1367, 1370, 1373, 1377, 1381, 1397, 1403, 1412, 1413,
- 1417, 1424, 1425, 1429, 1436, 1437, 1441, 1442, 1446, 1456,
- 1466, 1483, 1494, 1505, 1515, 1525, 1545, 1555, 1564, 1568,
- 1572, 1577, 1582, 1590, 1591, 1595, 1596, 1601, 1606, 1611,
- 1616, 1617, 1621, 1652, 1661, 1678, 1684, 1689, 1696, 1697,
- 1701, 1702, 1707, 1712, 1728, 1734, 1740, 1745, 1750, 1758,
- 1759, 1760, 1764, 1771, 1772, 1773, 1777, 1784, 1785, 1789,
- 1790, 1791, 1795, 1802, 1805, 1808, 1811, 1814, 1817, 1823,
- 1831, 1832, 1838, 1839, 1840, 1841, 1848, 1855, 1865, 1876,
- 1891, 1897, 1904, 1909, 1917, 1924, 1930, 1935, 1942, 1949,
- 1949, 1958, 1958, 1967, 1970, 1970, 1979, 1986, 1989, 1995,
- 2001, 2005, 2009, 2014, 2021, 2022, 2024, 2025, 2026, 2028,
- 2029, 2030, 2031, 2035, 2036, 2039, 2056, 2065, 2072, 2079,
- 2085, 2091, 2099, 2105, 2108, 2111, 2116, 2119, 2122, 2128,
- 2129, 2130, 2131, 2135, 2136, 2137, 2138, 2143, 2157, 2166,
- 2172, 2178, 2179, 2184, 2202, 2209, 2210, 2217, 2243, 2253,
- 2270, 2271, 2280, 2287, 2294, 2297, 2302, 2307, 2310, 2327,
- 2330, 2337, 2340, 2347, 2350, 2357, 2362, 2367, 2375, 2383,
- 2388, 2396, 2397, 2403, 2411, 2414, 2417, 2420, 2423, 2426,
- 2429, 2432, 2435, 2438, 2444, 2458, 2459, 2462, 2467, 2471,
- 2474, 2485, 2486, 2487, 2488, 2492, 2495, 2501, 2504, 2510,
- 2513, 2518, 2530, 2533, 2538, 2547, 2550, 2554, 2555, 2559,
- 2564, 2573, 2581, 2584, 2587, 2590, 2593, 2596, 2599, 2605,
- 2606, 2607, 2611, 2617, 2620, 2628, 2636, 2645, 2655, 2658,
- 2661, 2669, 2672, 2678, 2681, 2689, 2690, 2691, 2695, 2696,
- 2697, 2701, 2705, 2716, 2720, 2731, 2754, 2757, 2760, 2763,
- 2769, 2772, 2779, 2782, 2788, 2795, 2796, 2800, 2832, 2839,
- 2855, 2860, 2870, 2873, 2879, 2880, 2886, 2892, 2902, 2911,
- 2914, 2921, 2924, 2930, 2933, 2936, 2939, 2945, 2948, 2951,
- 2957, 2958, 2964, 2967, 2970, 2976, 2979, 2991, 2994, 2997,
- 3001, 3004, 3007, 3013, 3016, 3021, 3022, 3025, 3031, 3032,
- 3033, 3037, 3043, 3044, 3048, 3049, 3053, 3054, 3062, 3066,
- 3065, 3074, 3078, 3077, 3086, 3090, 3089, 3098, 3101, 3104,
- 3111, 3110, 3125, 3128, 3131, 3134, 3137, 3144, 3151, 3157,
- 3158, 3161, 3167, 3173, 3176, 3179, 3185, 3186, 3192, 3198,
- 3201, 3207, 3210, 3213, 3216, 3219, 3219, 3228, 3231, 3238,
- 3242
-};
-#endif
-
-#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
-/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
- First, the terminals, then, starting at YYNTOKENS, nonterminals. */
-static const char *const yytname[] =
-{
- "\"end of input\"", "error", "$undefined", "PREC_BOT", "\"\\\\repeat\"",
- "\"\\\\alternative\"", "COMPOSITE", "\"\\\\addlyrics\"",
- "\"\\\\default\"", "FUNCTION_ARGLIST", "':'", "DURATION_IDENTIFIER",
- "REAL", "UNSIGNED", "TONICNAME_PITCH", "NOTENAME_PITCH",
- "PITCH_IDENTIFIER", "'/'", "NUMBER_IDENTIFIER", "PREC_TOP",
- "\"\\\\accepts\"", "\"\\\\alias\"", "\"\\\\book\"", "\"\\\\bookpart\"",
- "\"\\\\change\"", "\"\\\\chordmode\"", "\"\\\\chords\"",
- "\"\\\\consists\"", "\"\\\\context\"", "\"\\\\defaultchild\"",
- "\"\\\\denies\"", "\"\\\\description\"", "\"\\\\drummode\"",
- "\"\\\\drums\"", "\"\\\\figuremode\"", "\"\\\\figures\"",
- "\"\\\\header\"", "\"\\\\version-error\"", "\"\\\\layout\"",
- "\"\\\\lyricmode\"", "\"\\\\lyrics\"", "\"\\\\lyricsto\"",
- "\"\\\\markup\"", "\"\\\\markuplist\"", "\"\\\\midi\"", "\"\\\\name\"",
- "\"\\\\notemode\"", "\"\\\\override\"", "\"\\\\paper\"",
- "\"\\\\remove\"", "\"\\\\rest\"", "\"\\\\revert\"", "\"\\\\score\"",
- "\"\\\\sequential\"", "\"\\\\set\"", "\"\\\\simultaneous\"",
- "\"\\\\tempo\"", "\"\\\\type\"", "\"\\\\unset\"", "\"\\\\with\"",
- "\"\\\\new\"", "\"/+\"", "\"^\"", "\":\"", "\"-\"", "\"/\"", "\"<\"",
- "\">\"", "\"<<\"", "\">>\"", "\"\\\\\"", "\"\\\\>\"",
- "\"\\\\C[haracter]\"", "\"\\\\)\"", "\"\\\\!\"", "\"\\\\[\"",
- "\"\\\\(\"", "\"\\\\]\"", "\"\\\\<\"", "\"\\\\+\"", "\"\\\\~\"",
- "\"__\"", "FIGURE_CLOSE", "FIGURE_OPEN", "\"_\"", "\"--\"",
- "CHORDMODIFIERS", "LYRIC_MARKUP", "MULTI_MEASURE_REST", "E_UNSIGNED",
- "\"markup?\"", "\"ly:pitch?\"", "\"ly:duration?\"", "\"scheme?\"",
- "\"(backed-up?)\"", "\"(reparsed?)\"", "\"markup-list?\"",
- "\"optional?\"", "EXPECT_NO_MORE_ARGS", "\"#{\"", "BOOK_IDENTIFIER",
- "CHORDMODIFIER_PITCH", "CHORD_MODIFIER", "CHORD_REPETITION",
- "CONTEXT_DEF_IDENTIFIER", "CONTEXT_MOD_IDENTIFIER", "DRUM_PITCH",
- "EVENT_IDENTIFIER", "EVENT_FUNCTION", "FRACTION", "LYRICS_STRING",
- "LYRIC_ELEMENT", "LYRIC_MARKUP_IDENTIFIER", "MARKUP_FUNCTION",
- "MARKUP_LIST_FUNCTION", "MARKUP_IDENTIFIER", "MARKUPLIST_IDENTIFIER",
- "MUSIC_FUNCTION", "MUSIC_IDENTIFIER", "OUTPUT_DEF_IDENTIFIER",
- "RESTNAME", "SCM_FUNCTION", "SCM_IDENTIFIER", "SCM_TOKEN",
- "SCORE_IDENTIFIER", "STRING", "STRING_IDENTIFIER", "'-'", "'+'",
- "UNARY_MINUS", "'{'", "'}'", "'='", "'.'", "'|'", "'^'", "'_'", "'['",
- "']'", "'~'", "'('", "')'", "'''", "','", "'*'", "'!'", "'?'", "$accept",
- "start_symbol", "@1", "lilypond", "toplevel_expression", "@2",
- "embedded_scm_bare", "embedded_scm_bare_arg", "embedded_scm",
- "embedded_scm_arg", "scm_function_call", "embedded_lilypond",
- "lilypond_header_body", "lilypond_header", "assignment_id", "assignment",
- "identifier_init", "context_def_spec_block", "context_mod_arg",
- "context_mod_embedded", "context_def_spec_body", "book_block",
- "book_body", "@3", "bookpart_block", "bookpart_body", "@4",
- "score_block", "score_body", "@5", "paper_block", "output_def",
- "output_def_head", "output_def_head_with_mode_switch",
- "music_or_context_def", "@6", "output_def_body", "@7", "tempo_event",
- "music_list", "braced_music_list", "music", "music_embedded",
- "music_arg", "music_assign", "repeated_music", "sequential_music",
- "simultaneous_music", "simple_music", "context_modification", "@8",
- "optional_context_mod", "context_mod_list", "composite_music",
- "closed_music", "music_bare", "grouped_music_list",
- "function_arglist_skip", "function_arglist_nonbackup_common",
- "function_arglist_closed_nonbackup", "function_arglist_nonbackup",
- "function_arglist_keep", "function_arglist_closed_keep",
- "function_arglist_backup", "function_arglist", "function_arglist_common",
- "function_arglist_common_lyric", "function_arglist_common_minus",
- "function_arglist_closed", "function_arglist_closed_common",
- "function_arglist_optional", "function_arglist_closed_optional",
- "embedded_scm_closed", "embedded_scm_arg_closed",
- "scm_function_call_closed", "function_arglist_bare",
- "music_function_call", "optional_id", "complex_music",
- "complex_music_prefix", "mode_changed_music", "mode_changing_head",
- "mode_changing_head_with_context", "new_lyrics", "@9", "@10",
- "re_rhythmed_music", "@11", "context_change", "property_path_revved",
- "property_path", "property_operation", "context_def_mod", "context_mod",
- "context_prop_spec", "simple_music_property_def", "music_property_def",
- "string", "simple_string", "scalar", "scalar_closed", "event_chord",
- "note_chord_element", "chord_body", "chord_body_elements",
- "chord_body_element", "music_function_chord_body",
- "music_function_call_closed", "event_function_event", "command_element",
- "command_event", "post_events", "post_event_nofinger", "post_event",
- "string_number_event", "direction_less_char", "direction_less_event",
- "direction_reqd_event", "octave_check", "sup_quotes", "sub_quotes",
- "steno_pitch", "steno_tonic_pitch", "pitch", "pitch_also_in_chords",
- "gen_text_def", "fingering", "script_abbreviation", "script_dir",
- "duration_length", "maybe_notemode_duration",
- "optional_notemode_duration", "steno_duration", "multiplied_duration",
- "dots", "tremolo_type", "bass_number", "figured_bass_alteration",
- "bass_figure", "figured_bass_modification", "br_bass_figure",
- "figure_list", "figure_spec", "optional_rest", "simple_element",
- "simple_chord_elements", "lyric_element", "lyric_element_arg",
- "lyric_element_music", "new_chord", "chord_items", "chord_separator",
- "chord_item", "step_numbers", "step_number", "tempo_range",
- "number_expression", "number_term", "number_factor", "bare_number",
- "bare_number_closed", "bare_unsigned", "unsigned_number", "exclamations",
- "questions", "lyric_markup", "@12", "full_markup_list", "@13",
- "full_markup", "@14", "markup_top", "markup_scm", "@15", "markup_list",
- "markup_composed_list", "markup_braced_list", "markup_braced_list_body",
- "markup_command_list", "markup_command_basic_arguments",
- "markup_command_list_arguments", "markup_head_1_item",
- "markup_head_1_list", "simple_markup", "@16", "markup", 0
-};
-#endif
-
-# ifdef YYPRINT
-/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
- token YYLEX-NUM. */
-static const yytype_uint16 yytoknum[] =
-{
- 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
- 58, 265, 266, 267, 268, 269, 270, 47, 271, 272,
- 273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
- 283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
- 293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
- 303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
- 313, 314, 315, 316, 317, 318, 319, 320, 321, 322,
- 323, 324, 325, 326, 327, 328, 329, 330, 331, 332,
- 333, 334, 335, 336, 337, 338, 339, 340, 341, 342,
- 343, 344, 345, 346, 347, 348, 349, 350, 351, 352,
- 353, 354, 355, 356, 357, 358, 359, 360, 361, 362,
- 363, 364, 365, 366, 367, 368, 369, 370, 371, 372,
- 373, 374, 375, 376, 377, 378, 379, 45, 43, 380,
- 123, 125, 61, 46, 124, 94, 95, 91, 93, 126,
- 40, 41, 39, 44, 42, 33, 63
-};
-# endif
-
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
-static const yytype_uint16 yyr1[] =
-{
- 0, 147, 148, 149, 148, 150, 150, 150, 150, 150,
- 152, 151, 151, 151, 151, 151, 151, 151, 151, 153,
- 153, 154, 154, 154, 154, 154, 154, 154, 154, 154,
- 154, 154, 155, 155, 156, 156, 156, 157, 158, 158,
- 158, 158, 158, 159, 159, 160, 161, 161, 162, 162,
- 162, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 164, 165, 165, 166, 167,
- 167, 167, 167, 167, 168, 169, 169, 169, 169, 169,
- 169, 169, 169, 170, 169, 169, 169, 171, 172, 172,
- 172, 172, 172, 172, 172, 173, 172, 172, 172, 174,
- 175, 175, 176, 175, 175, 175, 177, 178, 179, 179,
- 179, 180, 181, 182, 181, 183, 183, 183, 184, 183,
- 183, 185, 185, 185, 186, 186, 186, 187, 188, 188,
- 189, 189, 190, 190, 191, 191, 191, 192, 192, 193,
- 193, 194, 194, 195, 195, 195, 197, 196, 196, 196,
- 196, 198, 198, 199, 199, 199, 199, 200, 200, 201,
- 201, 201, 202, 202, 202, 203, 203, 204, 204, 204,
- 204, 205, 205, 205, 205, 205, 205, 205, 206, 206,
- 206, 207, 207, 207, 208, 208, 209, 209, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 211, 211, 212, 212, 212, 212, 212,
- 212, 212, 213, 213, 214, 214, 214, 214, 215, 215,
- 216, 216, 216, 216, 216, 216, 216, 216, 216, 217,
- 217, 217, 217, 218, 218, 218, 218, 219, 219, 220,
- 220, 220, 221, 222, 222, 222, 222, 222, 222, 223,
- 224, 224, 225, 225, 225, 225, 226, 226, 227, 227,
- 228, 228, 228, 228, 228, 229, 229, 229, 229, 231,
- 230, 232, 230, 233, 234, 233, 235, 236, 236, 237,
- 238, 238, 238, 238, 239, 239, 239, 239, 239, 239,
- 239, 239, 239, 240, 240, 240, 241, 241, 242, 242,
- 242, 242, 243, 244, 244, 244, 245, 245, 245, 246,
- 246, 246, 246, 247, 247, 247, 247, 248, 248, 248,
- 248, 248, 248, 249, 250, 251, 251, 252, 252, 252,
- 253, 253, 254, 255, 256, 256, 256, 256, 256, 257,
- 257, 258, 258, 259, 259, 259, 259, 259, 259, 259,
- 259, 260, 260, 261, 262, 262, 262, 262, 262, 262,
- 262, 262, 262, 262, 263, 263, 263, 263, 263, 264,
- 264, 265, 265, 265, 265, 266, 266, 267, 267, 268,
- 268, 268, 269, 269, 269, 270, 270, 271, 271, 272,
- 272, 273, 274, 274, 274, 274, 274, 274, 274, 275,
- 275, 275, 276, 277, 277, 278, 279, 279, 280, 280,
- 280, 281, 281, 282, 282, 283, 283, 283, 284, 284,
- 284, 285, 285, 285, 285, 285, 286, 286, 286, 286,
- 287, 287, 288, 288, 289, 290, 290, 291, 291, 291,
- 292, 292, 293, 293, 294, 294, 294, 294, 295, 296,
- 296, 297, 297, 298, 298, 298, 298, 299, 299, 299,
- 300, 300, 301, 301, 301, 302, 302, 303, 303, 303,
- 304, 304, 304, 305, 305, 306, 306, 306, 307, 307,
- 307, 308, 309, 309, 310, 310, 311, 311, 312, 313,
- 312, 314, 315, 314, 316, 317, 316, 318, 318, 318,
- 320, 319, 321, 321, 321, 321, 321, 322, 323, 324,
- 324, 324, 325, 326, 326, 326, 327, 327, 328, 329,
- 329, 330, 330, 330, 330, 331, 330, 330, 330, 332,
- 332
-};
-
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
-static const yytype_uint8 yyr2[] =
-{
- 0, 2, 1, 0, 3, 0, 2, 2, 2, 2,
- 0, 2, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 2, 0, 1,
- 3, 1, 2, 0, 2, 4, 1, 1, 3, 4,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 4, 1, 1, 1, 0,
- 1, 2, 2, 2, 4, 0, 1, 2, 2, 2,
- 2, 2, 2, 0, 3, 2, 2, 4, 0, 1,
- 2, 2, 2, 2, 2, 0, 3, 2, 2, 4,
- 1, 1, 0, 3, 2, 2, 1, 2, 1, 1,
- 1, 1, 1, 0, 5, 2, 3, 2, 0, 3,
- 2, 4, 5, 2, 0, 2, 2, 3, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 4, 6, 2,
- 1, 2, 3, 1, 1, 1, 0, 5, 2, 1,
- 2, 0, 1, 0, 2, 2, 2, 1, 1, 1,
- 2, 1, 1, 1, 1, 1, 1, 1, 3, 3,
- 3, 4, 4, 4, 4, 5, 5, 5, 1, 4,
- 4, 1, 4, 4, 1, 1, 1, 1, 4, 4,
- 4, 4, 4, 4, 4, 5, 5, 5, 4, 4,
- 4, 3, 3, 1, 1, 1, 3, 3, 3, 3,
- 1, 1, 3, 3, 4, 4, 4, 3, 1, 1,
- 1, 3, 3, 4, 4, 4, 3, 3, 3, 1,
- 2, 3, 3, 1, 2, 3, 3, 1, 1, 1,
- 1, 1, 2, 1, 3, 3, 4, 4, 4, 2,
- 0, 2, 1, 1, 1, 2, 4, 4, 2, 3,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
- 3, 0, 4, 2, 0, 4, 4, 1, 2, 1,
- 3, 2, 5, 3, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 2, 2, 1, 3, 5, 3,
- 4, 2, 1, 1, 1, 3, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 2, 2, 3,
- 3, 1, 1, 3, 3, 0, 2, 5, 2, 1,
- 1, 1, 2, 2, 1, 1, 1, 1, 1, 1,
- 1, 0, 2, 1, 2, 1, 1, 2, 2, 2,
- 2, 1, 2, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 0, 1, 2, 2, 1, 2, 1, 2, 1,
- 2, 2, 1, 2, 2, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 0, 1, 1, 2, 2, 1, 3,
- 3, 0, 2, 1, 2, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 2, 2, 1, 1, 1, 1,
- 1, 2, 0, 2, 3, 0, 1, 6, 2, 2,
- 1, 2, 1, 1, 1, 3, 3, 3, 3, 2,
- 4, 0, 2, 1, 1, 2, 2, 1, 1, 1,
- 1, 3, 1, 2, 2, 1, 3, 3, 3, 1,
- 1, 3, 3, 2, 1, 1, 2, 2, 1, 1,
- 1, 1, 1, 1, 0, 2, 0, 2, 1, 0,
- 3, 1, 0, 3, 1, 0, 3, 1, 2, 1,
- 0, 3, 1, 1, 1, 1, 2, 2, 3, 0,
- 2, 2, 2, 3, 3, 1, 1, 3, 3, 1,
- 2, 1, 1, 1, 1, 0, 5, 2, 2, 2,
- 1
-};
-
-/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
- STATE-NUM when YYTABLE doesn't specify something else to do. Zero
- means the default is an error. */
-static const yytype_uint16 yydefact[] =
-{
- 5, 3, 0, 0, 0, 1, 8, 0, 0, 0,
- 263, 267, 0, 261, 265, 262, 266, 9, 110, 264,
- 268, 0, 495, 492, 109, 260, 108, 0, 0, 0,
- 0, 124, 47, 494, 491, 0, 163, 0, 20, 19,
- 46, 124, 6, 0, 32, 50, 33, 0, 7, 12,
- 13, 14, 18, 111, 0, 0, 140, 253, 166, 165,
- 15, 158, 164, 252, 157, 0, 162, 0, 151, 254,
- 17, 16, 41, 413, 479, 478, 382, 379, 386, 480,
- 0, 0, 0, 0, 0, 0, 0, 0, 146, 325,
- 337, 362, 361, 359, 335, 360, 336, 363, 339, 346,
- 432, 345, 489, 403, 353, 403, 149, 403, 366, 0,
- 59, 443, 488, 403, 303, 304, 401, 338, 400, 399,
- 354, 355, 356, 357, 358, 131, 4, 39, 55, 52,
- 53, 51, 54, 340, 130, 0, 128, 56, 132, 64,
- 133, 145, 302, 144, 60, 143, 322, 403, 368, 321,
- 334, 57, 365, 364, 343, 385, 403, 484, 0, 367,
- 403, 341, 341, 403, 129, 440, 58, 469, 470, 474,
- 475, 442, 63, 62, 307, 306, 308, 0, 75, 88,
- 250, 274, 0, 0, 0, 139, 141, 250, 0, 0,
- 0, 0, 0, 243, 181, 204, 249, 203, 211, 210,
- 205, 37, 0, 0, 11, 0, 0, 237, 277, 238,
- 279, 0, 115, 120, 107, 117, 0, 269, 273, 255,
- 132, 133, 129, 258, 152, 0, 481, 414, 477, 476,
- 375, 377, 383, 384, 380, 381, 0, 69, 42, 0,
- 296, 0, 0, 411, 478, 311, 0, 0, 22, 23,
- 21, 34, 309, 35, 28, 29, 30, 27, 31, 36,
- 26, 241, 158, 313, 240, 0, 123, 0, 161, 0,
- 312, 310, 411, 25, 24, 301, 148, 0, 150, 0,
- 0, 0, 405, 341, 408, 404, 341, 438, 0, 0,
- 178, 219, 333, 218, 220, 439, 0, 473, 391, 349,
- 350, 131, 124, 0, 341, 449, 486, 396, 0, 394,
- 393, 397, 395, 392, 398, 390, 344, 348, 347, 369,
- 370, 389, 441, 317, 318, 341, 0, 0, 0, 0,
- 482, 483, 0, 76, 0, 89, 0, 0, 151, 0,
- 525, 523, 0, 0, 522, 502, 521, 524, 509, 500,
- 496, 0, 497, 503, 504, 505, 519, 0, 499, 0,
- 0, 493, 0, 101, 0, 100, 151, 126, 142, 125,
- 0, 229, 185, 184, 0, 0, 233, 187, 186, 0,
- 0, 0, 185, 0, 0, 205, 0, 0, 0, 0,
- 0, 127, 43, 242, 61, 48, 134, 135, 136, 278,
- 0, 116, 113, 119, 112, 0, 271, 259, 376, 378,
- 0, 70, 0, 0, 0, 299, 0, 407, 0, 181,
- 332, 160, 0, 0, 406, 153, 324, 341, 331, 330,
- 326, 329, 484, 415, 434, 421, 416, 0, 422, 430,
- 433, 417, 490, 320, 0, 319, 0, 0, 0, 0,
- 305, 323, 0, 454, 453, 0, 451, 485, 371, 401,
- 351, 342, 448, 468, 467, 472, 471, 137, 86, 74,
- 85, 0, 78, 79, 77, 106, 80, 82, 81, 98,
- 87, 97, 0, 91, 90, 92, 94, 93, 251, 256,
- 275, 0, 0, 0, 0, 515, 527, 0, 516, 512,
- 0, 0, 528, 506, 0, 507, 520, 498, 105, 99,
- 0, 104, 257, 0, 0, 0, 230, 0, 388, 387,
- 244, 0, 0, 234, 245, 402, 0, 0, 0, 0,
- 230, 34, 206, 212, 208, 401, 209, 207, 0, 0,
- 0, 203, 0, 0, 167, 0, 0, 0, 0, 0,
- 403, 444, 213, 217, 0, 49, 0, 270, 0, 276,
- 286, 289, 284, 287, 288, 291, 292, 0, 285, 0,
- 290, 0, 0, 65, 66, 68, 73, 72, 67, 293,
- 0, 71, 0, 297, 311, 300, 312, 310, 412, 0,
- 0, 121, 465, 0, 328, 486, 431, 428, 429, 427,
- 426, 418, 419, 423, 420, 424, 425, 410, 409, 239,
- 159, 221, 0, 228, 227, 401, 226, 222, 0, 0,
- 456, 455, 450, 372, 487, 403, 352, 0, 84, 96,
- 0, 518, 0, 0, 0, 508, 511, 0, 530, 510,
- 501, 103, 0, 229, 184, 231, 0, 185, 232, 0,
- 0, 0, 185, 201, 202, 0, 0, 185, 235, 233,
- 236, 212, 208, 401, 209, 207, 0, 215, 214, 216,
- 0, 0, 0, 246, 171, 0, 247, 172, 0, 248,
- 182, 173, 401, 174, 183, 341, 341, 341, 45, 44,
- 69, 272, 0, 0, 281, 0, 294, 295, 298, 0,
- 0, 122, 0, 155, 147, 156, 154, 371, 224, 223,
- 225, 179, 479, 478, 180, 459, 457, 452, 458, 460,
- 462, 374, 373, 435, 138, 0, 514, 513, 0, 517,
- 529, 0, 0, 0, 198, 199, 0, 0, 188, 190,
- 192, 191, 193, 194, 401, 189, 200, 0, 0, 215,
- 214, 216, 0, 0, 168, 169, 170, 176, 175, 177,
- 447, 446, 445, 0, 0, 283, 280, 475, 466, 341,
- 0, 464, 463, 436, 437, 526, 185, 187, 196, 195,
- 197, 114, 0, 327, 461, 282
-};
-
-/* YYDEFGOTO[NTERM-NUM]. */
-static const yytype_int16 yydefgoto[] =
-{
- -1, 2, 4, 3, 42, 43, 44, 531, 301, 252,
- 46, 126, 554, 204, 47, 48, 127, 254, 575, 576,
- 412, 255, 334, 471, 256, 336, 482, 257, 364, 510,
- 474, 258, 53, 54, 403, 556, 55, 216, 133, 188,
- 56, 134, 369, 136, 137, 57, 58, 59, 220, 260,
- 277, 225, 593, 221, 261, 61, 62, 754, 419, 291,
- 195, 371, 376, 382, 196, 644, 198, 199, 393, 378,
- 645, 658, 208, 611, 264, 385, 63, 338, 64, 65,
- 66, 67, 68, 218, 405, 558, 69, 339, 141, 210,
- 211, 579, 580, 581, 239, 142, 143, 144, 240, 266,
- 267, 145, 146, 147, 279, 430, 431, 268, 148, 149,
- 150, 323, 460, 461, 152, 153, 154, 318, 625, 232,
- 233, 155, 156, 157, 734, 319, 299, 320, 158, 735,
- 282, 283, 284, 285, 417, 159, 438, 605, 439, 606,
- 440, 280, 160, 774, 161, 162, 163, 552, 222, 165,
- 622, 456, 717, 718, 719, 591, 166, 167, 168, 169,
- 170, 272, 332, 306, 458, 171, 281, 273, 183, 274,
- 182, 350, 504, 501, 352, 353, 354, 500, 355, 498,
- 499, 356, 357, 358, 491, 639
-};
-
-/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
- STATE-NUM. */
-#define YYPACT_NINF -560
-static const yytype_int16 yypact[] =
-{
- -24, -560, 78, 4169, 966, -560, -560, 56, -28, -19,
- -560, -560, 56, -560, -560, -560, -560, -560, -560, -560,
- -560, 56, -560, -560, -560, -560, -560, -7, 22, 22,
- 56, -560, -560, -560, -560, 382, -560, 382, -560, -560,
- -560, -560, -560, 84, -560, -560, -560, -25, -560, -560,
- -560, -560, -560, -560, 40, 801, -560, -560, -560, -560,
- 107, -560, -560, -560, -560, 3845, -560, 273, 28, -560,
- -560, -560, -560, 117, 116, 149, 93, 93, -560, -560,
- 52, 176, 966, 56, 56, 56, 2889, 56, 172, -560,
- -560, -560, -560, -560, -560, -560, -560, -560, -560, -560,
- -560, -560, -560, 183, -560, 183, -560, 183, -560, 634,
- -560, -560, -560, 183, -560, -560, 297, -560, 167, 167,
- -560, -560, -560, -560, -560, 187, -560, -560, -560, -560,
- -560, -560, -560, -560, -560, 3627, -560, -560, 202, -560,
- 122, -560, -560, -560, 86, -560, -560, 183, -560, -560,
- -560, -560, -560, -560, -560, -560, 183, -560, 1518, -560,
- 183, -560, -560, 183, 217, -560, 279, -560, 14, -560,
- -560, -560, -560, -560, -560, -560, -560, 151, 130, 140,
- 90, -560, 669, 316, 3738, -560, -560, 90, 1344, 651,
- 746, 836, 157, -560, -560, -560, -560, -560, 150, 162,
- -560, -560, 1456, 133, -560, 634, 1104, -560, -560, -560,
- 575, 134, 178, -560, -560, -560, 4059, -560, 282, -560,
- -560, 107, -560, -560, -560, 273, -560, -560, -560, -560,
- -560, -560, 190, 164, 190, 164, 210, 247, -560, 575,
- 230, 595, 233, -560, 59, 303, 861, 861, -560, -560,
- -560, 1670, -560, -560, -560, -560, -560, -560, -560, -560,
- -560, -560, 1762, -560, -560, 3952, -560, 183, -560, 253,
- 310, 334, -560, -560, -560, -560, -560, 257, -560, 170,
- 420, 669, -560, -560, -560, 249, -560, -560, 836, 642,
- -560, -560, -560, -560, -560, -560, 138, -560, -560, -560,
- -560, -560, -560, 323, -560, 735, 251, -560, 634, -560,
- -560, -560, -560, -560, -560, -560, -560, -560, -560, -560,
- -560, -560, -560, 2751, 2751, -560, 138, 138, 138, 138,
- -560, -560, 3845, -560, 4215, -560, 4315, 56, 28, 3845,
- -560, -560, 436, 440, -560, -560, -560, -560, -560, -560,
- -560, 320, -560, -560, -560, -560, -560, 1313, -560, 309,
- 298, -560, -18, -560, 80, -560, 28, -560, -560, -560,
- 686, -560, 358, -560, 816, 782, -560, 364, -560, 183,
- 836, 846, 1590, 3135, 2406, 1783, 871, 965, 968, 171,
- 297, -560, -560, -560, -560, -560, -560, 107, -560, -560,
- 1104, -560, 56, -560, -560, 4618, -560, -560, -560, -560,
- 294, -560, 4360, 295, 56, -560, 3012, 333, 849, 1863,
- -560, -560, 337, 117, 333, -560, -560, -560, -560, -560,
- -560, -560, -560, -560, -560, -560, -560, 129, -560, 1124,
- -560, -560, -560, 2751, 75, 2751, 4763, 2480, 968, 1232,
- -560, 2751, 457, -560, -560, 457, -560, -560, 13, 167,
- -560, -560, 2751, -560, -560, -560, -560, 476, -560, -560,
- -560, 84, -560, -560, -560, -560, 107, -560, -560, -560,
- -560, -560, 84, -560, -560, 107, -560, -560, -560, -560,
- -560, 359, 440, 440, 440, -560, -560, 440, -560, -560,
- 643, 400, -560, -560, 388, -560, -560, -560, -560, -560,
- 84, -560, -560, 1108, 1183, 1230, -560, 4657, -560, -560,
- -560, 1289, 1289, -560, -560, 249, 3258, 2519, 1325, 1325,
- 2558, -560, -560, -560, -560, 317, -560, -560, 882, 503,
- 816, 507, 894, 514, -560, 183, 904, 519, 3381, 2632,
- 183, 809, -560, -560, 741, -560, 401, -560, 4618, -560,
- -560, -560, -560, -560, -560, -560, -560, 56, -560, 56,
- -560, 56, 407, -560, -560, -560, -560, -560, 107, -560,
- 685, -560, 3012, -560, -560, -560, -560, -560, -560, 968,
- 117, -560, 405, 4511, 2751, 251, 1124, -560, -560, -560,
- -560, -560, -560, -560, -560, -560, -560, -560, -560, -560,
- -560, -560, 1271, -560, -560, 528, -560, -560, 4869, 2671,
- -560, -560, 206, 93, -560, 183, -560, 22, -560, -560,
- 3738, -560, 575, 316, 395, -560, -560, 1313, -560, -560,
- -560, -560, 936, 816, 507, -560, 183, 104, -560, 1006,
- 4763, 2710, 1629, -560, -560, 1018, 816, 165, -560, 183,
- -560, 1943, 1964, 553, 2044, 2124, 1032, -560, -560, -560,
- 871, 965, 968, -560, -560, 968, -560, -560, 968, -560,
- -560, -560, 621, -560, -560, -560, -560, 249, -560, -560,
- 247, -560, 575, 595, -560, 3012, -560, -560, -560, 3504,
- 2632, -560, 117, -560, -560, -560, -560, 13, -560, -560,
- -560, -560, -560, -560, -560, -560, -560, -560, 431, -560,
- 27, 190, 164, 523, -560, 124, -560, -560, 395, -560,
- -560, 1108, 1183, 1230, -560, -560, 1401, 1230, -560, -560,
- -560, -560, -560, -560, 666, -560, -560, 1289, 1289, 2145,
- 2225, 2305, 1325, 1325, -560, -560, -560, -560, -560, -560,
- 2751, 2751, 2751, 4467, 437, -560, -560, 2326, -560, -560,
- 117, -560, -560, -560, -560, -560, 481, 481, -560, -560,
- -560, -560, 3012, 2751, -560, -560
-};
-
-/* YYPGOTO[NTERM-NUM]. */
-static const yytype_int16 yypgoto[] =
-{
- -560, -560, -560, -560, -560, -560, -35, -12, -3, -347,
- -58, 500, -560, -192, -560, -29, -167, 45, -560, -2,
- -104, 67, -560, -560, 64, -560, -560, 37, -42, -560,
- 256, 4, -560, -560, -560, -560, -560, -560, -560, 2,
- -11, -41, 58, -63, -560, -560, -560, -560, 50, 1,
- -560, -253, -560, 0, -220, -56, -10, 224, -8, -560,
- -560, 57, 160, 39, -22, -26, -560, -560, 29, -5,
- -157, -127, -53, -76, -27, -16, 321, 408, -560, -31,
- -560, -560, -560, -560, -560, -560, -560, -560, -560, -560,
- -214, -560, -560, 8, 414, -560, -560, 300, 114, -351,
- -560, -560, -560, -560, -560, -560, -560, 446, -560, -560,
- -560, -78, 10, 62, -560, -560, 456, -560, -90, -75,
- -55, -560, -156, -235, -308, -560, -39, -560, -560, -306,
- -1, -57, -40, -271, 348, -560, -560, -560, 191, -560,
- -560, -560, -560, -560, -560, -560, -70, -560, 72, -560,
- -560, 9, -560, -560, -140, 61, -560, 223, -44, -73,
- -559, -67, -560, 208, 47, -560, -560, 55, -560, 106,
- -560, 366, -145, -560, -141, -560, -257, -560, -560, 313,
- -69, -268, -150, -310, -560, 24
-};
-
-/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
- positive, shift that token. If negative, reduce the rule which
- number is the opposite. If zero, do what YYDEFACT says.
- If YYTABLE_NINF, syntax error. */
-#define YYTABLE_NINF -482
-static const yytype_int16 yytable[] =
-{
- 45, 125, 234, 60, 140, 139, 227, 52, 132, 197,
- 263, 197, 207, 271, 151, 201, 270, 185, 186, 200,
- 209, 200, 235, 259, 219, 413, 215, 194, 253, 194,
- 262, 328, 374, 362, 383, 278, 532, 351, 360, 395,
- 51, 131, 361, 202, 432, 421, 269, 507, 286, 128,
- 287, 250, 45, 207, 138, 265, 295, 223, 70, 172,
- 714, 209, 135, 379, 384, 585, 520, 50, 130, 224,
- 49, 129, 297, 524, 251, 1, 164, 229, 5, 125,
- 300, 508, 140, 139, 324, 489, 132, 88, 226, 506,
- 304, 771, 151, 294, 506, 359, 205, 38, 39, 305,
- 505, 290, 178, 322, 293, 505, 325, 206, 525, 71,
- 173, 179, 348, 512, 217, -187, -102, -187, 18, 131,
- 203, 177, -135, 184, 24, 508, 180, 128, 26, 217,
- 226, 446, 138, 106, 228, 181, 351, 172, 292, 519,
- 135, 767, 433, 365, 187, 623, 130, 349, 349, 129,
- 74, 75, 41, 404, 164, 772, 79, 399, 329, 624,
- -102, 447, 18, 373, 330, 373, 174, 229, 24, 331,
- 212, 22, 26, 200, 294, 207, -187, 236, -187, 532,
- 298, 175, 176, 209, 607, 77, 78, -61, 173, 294,
- 638, -481, -481, 302, 243, 180, 226, 290, 516, 517,
- 293, 680, -134, 394, 207, 443, 397, 139, 445, 262,
- 132, 509, 209, 435, 303, 407, 151, -136, 518, 226,
- 197, 197, 337, 526, 219, 201, 451, 422, 372, 377,
- 333, 698, 674, 555, 265, 230, 231, 426, 415, 677,
- 335, 293, 293, 131, 33, 389, 349, 462, 386, 387,
- 388, 128, 297, 527, 436, 775, 396, 390, 102, 523,
- 517, 172, 373, 392, 321, 296, 400, 452, 453, 454,
- 130, 455, 315, 129, 525, 420, 427, 276, 398, 628,
- 687, 111, 550, 112, 465, 466, 174, 35, 428, 406,
- 629, 467, 294, 205, 38, 39, 620, 401, 490, 621,
- 290, 175, 176, 293, 449, 519, 237, 409, 715, 74,
- 75, 537, 173, 533, -315, 79, -315, 553, 641, 551,
- 259, -316, 349, -316, 638, 253, 28, 730, 29, 667,
- 668, 470, 408, 481, 476, 669, 485, 420, 475, 224,
- 475, 31, 410, 587, 766, -314, 586, -314, 250, 594,
- 637, 411, 680, 259, 373, 351, 592, 648, 253, 636,
- 541, 544, 541, 414, 540, 416, 548, 224, 511, 506,
- 200, 473, 648, 483, 617, 525, 613, 608, 194, 290,
- 505, 250, 293, 293, 518, 423, 441, 425, 525, 477,
- 610, 486, 421, 444, 536, 660, 457, 394, 472, 492,
- 397, 139, 660, 41, 132, 557, 326, 327, 519, 574,
- 151, 250, 578, 577, 503, 612, 545, 549, 730, 559,
- 626, 519, 541, 631, 632, 633, 618, 582, 634, 359,
- 343, 785, 345, 433, 609, 502, 503, 131, 38, 39,
- 478, 653, 487, 293, 654, 128, 348, 340, 114, 115,
- 396, 488, 516, 517, 665, 172, 661, 616, 523, 517,
- 506, 610, 22, 259, 130, 349, 588, 129, 253, 590,
- 262, 76, 398, 189, 190, 191, 684, 619, 764, 192,
- 193, 627, 250, 362, 728, 259, 612, 518, 360, 630,
- 253, 250, 727, 685, 640, 265, 544, 200, 241, 242,
- 518, 275, 434, 502, 435, 609, 173, 341, 342, 587,
- 344, 673, 586, 250, 251, -167, 180, 38, 39, 259,
- 346, 347, 676, 592, 253, 689, 492, 679, 583, 493,
- 497, 690, 494, 493, 495, 33, 494, 664, 495, 695,
- 708, 709, 711, 441, 702, 436, 710, 250, 721, 463,
- 464, 45, 372, 647, 652, 720, 610, 437, 691, 683,
- 657, 377, 610, 541, 770, 749, 750, 699, 722, 782,
- 643, 751, 650, 773, 738, 648, 517, 697, 656, 726,
- 739, 612, 238, 250, 293, 643, 763, 612, 725, 365,
- 574, 705, 484, 578, 610, 366, 648, 207, 349, 349,
- 429, 706, 349, 450, 316, 209, 609, 760, 761, 762,
- 539, 543, 547, 686, 317, 250, 724, 769, 700, 612,
- 424, 660, 587, 711, 723, 586, 660, 684, 596, 683,
- 784, 716, 259, 757, 758, 768, 259, 253, 609, 759,
- 595, 253, 707, 262, 541, 544, 541, 442, 540, 541,
- 548, 701, 541, 618, 200, 496, 699, 207, 729, 0,
- 250, 745, 194, 290, 250, 209, 293, 293, 265, 0,
- 293, 0, 547, 293, 646, 651, 0, 0, 778, 779,
- 0, 692, 659, 693, 780, 694, 0, 251, 0, 659,
- 765, 783, 0, 349, 0, 340, 205, 38, 39, 0,
- 545, 549, 0, 720, 619, 0, 0, 700, 0, 587,
- 683, 544, 586, 0, 0, 200, 37, 38, 39, 259,
- 200, 340, 544, 0, 253, 189, 190, 288, 0, 511,
- 0, 289, 193, 386, 387, 448, 0, 539, 543, 547,
- 0, 0, 189, 190, 191, 539, 543, 250, 370, 193,
- 0, 0, 539, 543, 0, 341, 342, 343, 344, 345,
- 574, 0, 0, 578, 577, 38, 39, 0, 346, 347,
- 372, 647, 652, 348, 635, 776, 777, 513, 514, 515,
- 0, 341, 342, 343, 344, 345, 657, 377, 643, 0,
- 650, 38, 39, 656, 346, 347, 452, 453, 454, 348,
- 455, 0, 213, 0, 656, -118, 37, 38, 39, 643,
- 696, 0, 0, 547, 0, -118, -118, -118, 0, 73,
- 243, 0, 226, 0, 0, -118, -118, -118, 0, -118,
- 76, 77, 78, -118, -118, -118, -118, 189, 190, 288,
- -118, -118, -118, 375, 193, 0, 0, -118, -118, 0,
- 0, 32, -118, 0, -118, -118, -118, -118, 0, -118,
- 0, -118, 37, 38, 39, 0, 40, -118, 0, -118,
- 0, -118, 688, 521, 522, 515, -118, 0, -118, 0,
- 91, -118, 92, 93, -118, 95, 0, 97, 0, -118,
- 99, 0, 646, 651, 101, 755, 756, 646, 104, 756,
- 0, 0, 756, 0, -118, 0, 0, -118, 659, 0,
- 0, 32, 0, 659, 0, 0, 108, 109, -118, -118,
- 0, -118, 37, 38, 39, 0, 40, 189, 190, 380,
- 0, -118, 214, 381, 193, -118, 459, 528, 529, 515,
- 386, 387, 589, 0, 118, 119, 120, 121, 122, 123,
- 124, 0, 189, 190, 380, 0, 755, 756, 418, 193,
- 0, 755, 189, 190, 191, 0, -38, 72, 538, 193,
- 7, 0, 755, 670, 671, 672, 73, 755, 74, 75,
- 76, 77, 78, 0, 79, 670, 671, 675, 8, 9,
- 80, 10, 11, 0, 81, 670, 671, 678, 13, 14,
- 15, 16, 0, 82, 18, 19, 20, 21, 22, 23,
- 24, 0, 25, 83, 26, 0, 0, 84, 27, 28,
- 85, 29, 86, 0, 87, 88, 30, 731, 732, 733,
- 0, 0, 89, 0, 31, 0, 90, 91, 0, 92,
- 93, 94, 95, 96, 97, 0, 98, 99, 0, 100,
- 0, 101, 0, 102, 103, 104, 189, 190, 380, 189,
- 190, 380, 542, 193, 0, 546, 193, 0, 0, 105,
- 0, 106, 107, 108, 109, 110, 111, 0, 112, 0,
- 0, 33, 34, 35, 36, 0, 113, 37, 38, 39,
- 0, 114, 115, 116, 0, 0, 41, 736, 737, 733,
- 117, 118, 119, 120, 121, 122, 123, 124, 7, 747,
- 748, 733, 0, 0, 73, 0, 74, 75, 76, 77,
- 78, 0, 79, 752, 753, 733, 8, 9, 80, 10,
- 11, 0, 81, 0, 0, 0, 13, 14, 15, 16,
- 0, 597, 18, 19, 20, 21, 22, 23, 24, 0,
- 25, 83, 26, 0, 0, 84, 27, 28, 85, 29,
- 86, 0, 87, 88, 30, 0, 0, 0, 0, 0,
- 89, 0, 31, 0, 90, 91, 0, 92, 93, 94,
- 95, 96, 97, 0, 98, 99, 0, 100, 0, 101,
- 0, 102, 103, 104, 598, 0, 0, 0, 599, 189,
- 190, 191, 0, 600, 0, 642, 193, 105, 0, 106,
- 107, 108, 109, 110, 111, 0, 112, 0, 0, 33,
- 34, 35, 36, 0, 113, 37, 38, 39, 0, 114,
- 115, 116, -40, 367, 41, 0, 7, 0, 117, 118,
- 119, 120, 121, 122, 123, 124, 76, 77, 78, 0,
- 0, 601, 602, 0, 0, 0, 80, 10, 11, 0,
- 12, 0, 603, 0, 13, 14, 15, 16, 0, 604,
- 0, 19, 20, 21, 189, 190, 380, 0, 25, 83,
- 642, 193, 0, 84, 0, 28, 85, 29, 86, 0,
- 87, 0, 30, 0, 0, 0, 10, 11, 89, 12,
- 31, 0, 90, 13, 14, 15, 16, 94, 0, 96,
- 19, 20, 98, 0, 0, 100, 0, 25, 0, 102,
- 103, 189, 190, 380, 28, 0, 29, 649, 193, 0,
- 0, 30, 0, 0, 0, 105, 0, 0, 107, 31,
- 0, 0, 111, 0, 112, 367, 0, 0, 7, 35,
- 36, 0, 113, 37, 38, 39, 0, 0, 76, 77,
- 78, 0, 41, 0, 0, 340, 117, 0, 80, 10,
- 11, 0, 12, 0, 0, 0, 13, 14, 15, 16,
- 189, 190, 380, 19, 20, 21, 655, 193, 308, 36,
- 25, 83, 0, 0, 0, 84, 0, 28, 85, 29,
- 86, 41, 87, 0, 30, 0, 0, 0, 0, 0,
- 89, 0, 31, 368, 90, 0, 189, 190, 380, 94,
- 0, 96, 666, 193, 98, 341, 342, 100, 344, 0,
- 0, 102, 103, 0, 0, 38, 39, 0, 346, 347,
- 0, 0, 0, 348, 0, 0, 0, 105, 0, 0,
- 107, 0, 0, 0, 111, 0, 112, 367, 0, 0,
- 7, 35, 36, 0, 113, 37, 38, 39, 0, 0,
- 76, 77, 78, 0, 41, 0, 0, 0, 117, 0,
- 80, 10, 11, 0, 12, 0, 0, 0, 13, 14,
- 15, 16, 189, 190, 191, 19, 20, 21, 649, 193,
- 0, 0, 25, 83, 0, 0, 0, 84, 0, 28,
- 85, 29, 86, 0, 87, 0, 30, 0, 0, 0,
- 0, 0, 89, 0, 31, 0, 90, 0, 73, 0,
- 0, 94, 0, 96, 0, 0, 98, 0, 0, 100,
- 0, 0, 0, 102, 103, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 105,
- 22, 0, 107, 0, 0, 0, 111, 0, 112, 0,
- 0, 0, 0, 35, 36, 0, 113, 37, 38, 39,
- 0, 0, 0, 0, 0, 307, 41, 391, 0, 91,
- 117, 92, 93, 0, 95, 0, 97, 0, 0, 0,
- -187, -187, -187, -187, 0, 0, 0, 104, -187, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 108, 109, 0, 174, 0,
- 0, 0, 0, 33, 0, 308, 0, 0, 0, -187,
- 0, -187, -187, 175, 176, 309, 310, -187, 0, 0,
- 0, 311, 312, 313, 314, 120, 121, 122, 123, 124,
- 0, -187, 0, -187, -187, 0, -187, 0, -187, 0,
- 0, -187, 0, 0, 0, -187, 0, 0, 0, -187,
- -239, -239, -239, -239, 530, 517, 0, 0, -239, 0,
- 0, 0, 0, 0, 0, 0, 0, -187, -187, -187,
- -187, 0, -187, -187, 0, -187, 0, -187, 0, 0,
- -187, 0, 0, 0, -187, 0, 0, -187, -187, 0,
- 0, 0, 0, 746, 517, -187, -187, -187, -187, -187,
- -187, -187, 0, 0, 0, 0, -187, -187, -187, 0,
- 0, -239, 0, -239, -239, 0, -239, 0, -239, 0,
- 0, -239, 0, 0, 0, -239, -187, 0, 0, -239,
- 0, 0, 0, 0, -187, -187, -187, -187, -187, -187,
- -187, 0, -159, -159, -159, -159, 0, -239, -239, -239,
- -159, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, -220, -220, -220, -220, -239, 0, 0,
- 0, -220, 0, 0, 0, -239, -239, -239, -239, -239,
- -239, -239, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, -159, 0, -159, -159, 0, -159, 0,
- -159, 0, 0, -159, 0, 0, 0, -159, 0, 0,
- 0, -159, 0, 0, -220, 0, -220, -220, 0, -220,
- 0, -220, 0, 0, -220, 0, 0, 0, -220, -159,
- -159, -159, -220, -178, -178, -178, -178, 0, 0, 0,
- 0, -178, 0, 0, 0, 0, 0, 0, 0, -159,
- -220, -220, -220, 0, 0, 0, 0, -159, -159, -159,
- -159, -159, -159, -159, 0, 0, 0, 0, 0, 0,
- -220, 0, 0, 0, 0, 0, 0, 0, -220, -220,
- -220, -220, -220, -220, -220, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, -178, 0, -178, -178, 0, -178,
- 0, -178, 0, 0, -178, 0, 0, 0, -178, 0,
- 0, 0, -178, -228, -228, -228, -228, 0, 0, 0,
- 0, -228, 0, 0, 0, 0, 0, 0, 0, 0,
- -178, -178, -178, 0, -227, -227, -227, -227, 0, 0,
- 0, 0, -227, 0, 0, 0, 0, 0, 0, 0,
- -178, 0, 0, 0, 0, 0, 0, 0, -178, -178,
- -178, -178, -178, -178, -178, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, -228, 0, -228, -228, 0, -228,
- 0, -228, 0, 0, -228, 0, 0, 0, -228, 0,
- 0, 0, -228, 0, 0, -227, 0, -227, -227, 0,
- -227, 0, -227, 0, 0, -227, 0, 0, 0, -227,
- -228, -228, -228, -227, -226, -226, -226, -226, 0, 0,
- 0, 0, -226, 0, 0, 0, 0, 0, 0, 0,
- -228, -227, -227, -227, 0, 0, 0, 0, -228, -228,
- -228, -228, -228, -228, -228, 0, 0, 0, 0, 0,
- 0, -227, 0, 0, 0, 0, 0, 0, 0, -227,
- -227, -227, -227, -227, -227, -227, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, -226, 0, -226, -226, 0,
- -226, 0, -226, 0, 0, -226, 0, 0, 0, -226,
- 0, 0, 0, -226, -222, -222, -222, -222, 0, 0,
- 0, 0, -222, 0, 0, 0, 0, 0, 0, 0,
- 0, -226, -226, -226, 0, -224, -224, -224, -224, 0,
- 0, 0, 0, -224, 0, 0, 0, 0, 0, 0,
- 0, -226, 0, 0, 0, 0, 0, 0, 0, -226,
- -226, -226, -226, -226, -226, -226, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, -222, 0, -222, -222, 0,
- -222, 0, -222, 0, 0, -222, 0, 0, 0, -222,
- 0, 0, 0, -222, 0, 0, -224, 0, -224, -224,
- 0, -224, 0, -224, 0, 0, -224, 0, 0, 0,
- -224, -222, -222, -222, -224, -223, -223, -223, -223, 0,
- 0, 0, 0, -223, 0, 0, 0, 0, 0, 0,
- 0, -222, -224, -224, -224, 0, 0, 0, 0, -222,
- -222, -222, -222, -222, -222, -222, 0, 0, 0, 0,
- 0, 0, -224, 0, 0, 0, 0, 0, 0, 0,
- -224, -224, -224, -224, -224, -224, -224, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, -223, 0, -223, -223,
- 0, -223, 0, -223, 0, 0, -223, 0, 0, 0,
- -223, 0, 0, 0, -223, -225, -225, -225, -225, 0,
- 0, 0, 0, -225, 0, 0, 0, 0, 0, 0,
- 0, 0, -223, -223, -223, 0, -180, -180, -180, -180,
- 0, 0, 0, 0, -180, 0, 0, 0, 0, 0,
- 0, 0, -223, 0, 0, 0, 0, 0, 0, 0,
- -223, -223, -223, -223, -223, -223, -223, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, -225, 0, -225, -225,
- 0, -225, 0, -225, 0, 0, -225, 0, 0, 0,
- -225, 0, 0, 0, -225, 0, 0, -180, 0, -180,
- -180, 0, -180, 0, -180, 0, 0, -180, 0, 0,
- 0, -180, -225, -225, -225, -180, 73, 0, 74, 75,
- 0, 0, 0, 0, 79, 0, 0, 0, 0, 0,
- 0, 0, -225, -180, -180, -180, 0, 0, 0, 0,
- -225, -225, -225, -225, -225, -225, -225, 0, 0, 0,
- 0, 0, 0, -180, 0, 0, 0, 0, 0, 0,
- 0, -180, -180, -180, -180, -180, -180, -180, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 91, 0, 92,
- 93, 0, 95, 0, 97, 0, 0, 99, 0, 0,
- 73, 101, 74, 75, 0, 104, 0, 0, 79, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 108, 109, 534, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 73,
- 0, 74, 75, 535, 0, 0, 0, 79, 0, 0,
- 0, 118, 119, 120, 121, 122, 123, 124, 0, 0,
- 0, 91, 0, 92, 93, 0, 95, 0, 97, 0,
- 0, 99, 0, 0, 0, 101, 0, 0, -234, 104,
- -234, -234, 0, 0, 0, 0, -234, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 108, 109, 614,
- 91, 0, 92, 93, 0, 95, 0, 97, 0, 0,
- 99, 0, 0, 0, 101, 0, 0, 615, 104, 0,
- 0, 0, 0, 0, 0, 118, 119, 120, 121, 122,
- 123, 124, 0, 0, 0, 0, 108, 109, 662, -234,
- 0, -234, -234, 0, -234, 0, -234, 0, 0, -234,
- 0, 0, 73, -234, 74, 75, 663, -234, 0, 0,
- 79, 0, 0, 0, 118, 119, 120, 121, 122, 123,
- 124, 0, 0, 0, 0, -234, -234, -234, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 73, 0, 712, 713, -234, 0, 0, 0, 79,
- 0, 0, 0, -234, -234, -234, -234, -234, -234, -234,
- 0, 0, 0, 91, 0, 92, 93, 0, 95, 0,
- 97, 0, 0, 99, 0, 0, 0, 101, 0, 0,
- 73, 104, 740, 741, 0, 0, 0, 0, 742, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 108,
- 109, 681, 91, 0, 92, 93, 0, 95, 0, 97,
- 0, 0, 99, 0, 0, 0, 101, 0, 0, 682,
- 104, 73, 0, 0, 0, 0, 0, 118, 119, 120,
- 121, 122, 123, 124, 0, 0, 0, 0, 108, 109,
- 681, 91, 0, 92, 93, 0, 95, 0, 97, 0,
- 0, 99, 0, 0, 0, 101, 0, 0, 682, 104,
- 0, 0, 0, 0, 0, 0, 118, 119, 120, 121,
- 122, 123, 124, 0, 0, 0, 0, 108, 109, 743,
- 0, 0, 91, 0, 92, 93, 0, 95, 0, 97,
- 0, 0, 99, 0, 0, 0, 101, 744, 0, 0,
- 104, 0, 0, 0, 0, 118, 119, 120, 121, 122,
- 123, 124, 0, 0, 0, 0, 0, 0, 108, 109,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 459, 0,
- 0, 0, 0, 0, 0, 0, 118, 119, 120, 121,
- 122, 123, 124, 7, 0, 0, 0, 0, 0, 0,
- 243, 74, 244, 76, 77, 78, 0, 79, 0, 0,
- 0, 8, 9, 80, 10, 11, 0, 81, 0, 0,
- 0, 13, 14, 15, 16, 0, 0, 18, 19, 20,
- 21, 22, 23, 24, 0, 25, 83, 26, 0, 0,
- 84, 27, 28, 85, 29, 86, 0, 87, 88, 30,
- 0, 0, 0, 0, 0, 89, 0, 31, 0, 90,
- 0, 0, 0, 0, 94, 0, 96, 0, 0, 98,
- 0, 0, 100, 0, 0, 0, 102, 103, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 105, 0, 106, 107, 0, 0, 245, 111,
- 0, 112, 0, 0, 33, 34, 246, 36, 0, 113,
- 247, 38, 39, 0, 248, 249, 7, 0, 0, 41,
- 0, 0, 0, 117, 74, 75, 76, 77, 78, 0,
- 79, 0, 0, 0, 8, 9, 80, 10, 11, 0,
- 81, 0, 0, 0, 13, 14, 15, 16, 0, 0,
- 18, 19, 20, 21, 22, 23, 24, 0, 25, 83,
- 26, 0, 0, 84, 27, 28, 85, 29, 86, 0,
- 87, 88, 30, 0, 0, 0, 0, 0, 89, 0,
- 31, 0, 90, 0, 0, 0, 0, 94, 0, 96,
- 0, 0, 98, 0, 0, 100, 0, 0, 0, 102,
- 103, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 105, 0, 106, 107, 0,
- 0, 584, 111, 0, 112, 0, 0, 33, 34, 35,
- 36, 0, 113, 37, 38, 39, 0, 248, 249, 7,
- 0, 0, 41, 0, 0, 0, 117, 0, 0, 76,
- 77, 78, 0, 0, 0, 0, 0, 8, 9, 80,
- 10, 11, 0, 81, 0, 0, 0, 13, 14, 15,
- 16, 0, 0, 18, 19, 20, 21, 22, 23, 24,
- 0, 25, 83, 26, 0, 0, 84, 27, 28, 85,
- 29, 86, 0, 87, 88, 30, 0, 0, 0, 0,
- 0, 89, 0, 31, 0, 90, 0, 0, 0, 0,
- 94, 0, 96, 0, 0, 98, 0, 0, 100, 0,
- 0, 0, 102, 103, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 105, 0,
- 106, 107, 0, 0, 0, 111, 0, 112, 0, 0,
- 33, 34, 35, 36, 0, 113, 37, 38, 39, 0,
- 248, 249, 7, 0, 0, 41, 0, 0, 0, 117,
- 0, 0, 76, 77, 78, 0, 0, 0, 0, 0,
- 8, 9, 80, 10, 11, 0, 81, 0, 0, 0,
- 13, 14, 15, 16, 0, 0, 18, 19, 20, 21,
- 22, 23, 24, 0, 25, 83, 26, 0, 0, 84,
- 27, 28, 85, 29, 86, 0, 87, 88, 30, 0,
- 0, 0, 0, 0, 89, 0, 31, 0, 90, 0,
- 0, 0, 0, 94, 0, 96, 0, 0, 98, 0,
- 0, 100, 0, 0, 0, 102, 103, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 105, 0, 106, 107, 0, 0, 0, 111, 0,
- 112, 0, 0, 33, 34, 246, 36, 0, 113, 247,
- 38, 39, 0, 248, 249, 7, 0, 0, 41, 0,
- 0, 0, 117, 0, 0, 76, 77, 78, 0, 0,
- 0, 0, 0, 8, 9, 80, 10, 11, 0, 81,
- 0, 0, 0, 13, 14, 15, 16, 0, 0, 18,
- 19, 20, 21, 22, 23, 24, 0, 25, 83, 26,
- 0, 0, 84, 27, 28, 85, 29, 86, 0, 87,
- 88, 30, 0, 0, 0, 0, 0, 89, 0, 31,
- 0, 90, 0, 0, 0, 0, 94, 0, 96, 0,
- 0, 98, 0, 0, 100, 0, 0, 0, 0, 103,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 105, 0, 106, 107, 0, 0,
- 0, 0, 0, 0, 0, 0, 33, 34, 35, 36,
- 0, 113, 37, 38, 39, 0, 248, 249, 7, 0,
- 0, 41, 0, 0, 0, 117, 0, 0, 76, 77,
- 78, 0, 0, 0, 0, 0, 8, 9, 80, 10,
- 11, 0, 81, 0, 0, 0, 13, 14, 15, 16,
- 0, 0, 18, 19, 20, 21, 22, 23, 24, 0,
- 25, 83, 26, 0, 0, 84, 27, 28, 85, 29,
- 86, 0, 87, 88, 30, 0, 0, 0, 0, 0,
- 89, 0, 31, 0, 90, 0, 0, 0, 0, 94,
- 0, 96, 0, 0, 98, 0, 0, 100, 0, 0,
- 0, 0, 103, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 105, 0, 106,
- 107, 0, 0, 0, 0, 0, 0, 0, 0, 33,
- 34, 246, 36, 0, 113, 247, 38, 39, 0, 248,
- 249, 7, 0, 0, 41, 0, 0, 0, 117, 0,
- 0, 76, 77, 78, 0, 0, 0, 0, 0, 0,
- 0, 80, 10, 11, 0, 12, 0, 0, 0, 13,
- 14, 15, 16, 0, 0, 0, 19, 20, 21, 0,
- 0, 0, 0, 25, 83, 0, 0, 0, 84, 0,
- 28, 85, 29, 86, 0, 87, 0, 30, 0, 0,
- 0, 0, 0, 89, 0, 31, 0, 90, 0, 0,
- 0, 0, 94, 0, 96, 0, 0, 98, 0, 0,
- 100, 0, 0, 0, 102, 103, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 105, 0, 0, 107, 0, 0, 0, 111, 0, 112,
- 0, 0, 7, 0, 35, 36, 0, 113, 37, 38,
- 39, 0, 76, 77, 78, 0, 0, 41, 0, 0,
- 0, 117, 80, 10, 11, 0, 12, 0, 0, 0,
- 13, 14, 15, 16, 0, 0, 0, 19, 20, 21,
- 0, 0, 0, 0, 25, 83, 0, 0, 0, 84,
- 0, 28, 85, 29, 86, 0, 87, 0, 30, 0,
- 0, 0, 0, 0, 89, 0, 31, 0, 90, 0,
- 0, 0, 0, 94, 0, 96, 0, 0, 98, 0,
- 0, 100, 0, 0, 0, 102, 103, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 105, 0, 0, 107, 0, 0, 0, 111, 7,
- 112, 0, 0, 0, 0, 35, 36, 0, 113, 76,
- 77, 78, 363, 0, 0, 0, 0, 0, 41, 80,
- 10, 11, 117, 12, 0, 0, 0, 13, 14, 15,
- 16, 0, 0, 0, 19, 20, 21, 0, 0, 0,
- 0, 25, 83, 0, 0, 0, 84, 0, 28, 85,
- 29, 86, 0, 87, 0, 30, 0, 0, 0, 0,
- 0, 89, 0, 31, 0, 90, 0, 0, 0, 0,
- 94, 0, 96, 0, 0, 98, 0, 0, 100, 0,
- 0, 0, 102, 103, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 105, 0,
- 0, 107, 0, 0, 0, 111, 7, 112, 0, 0,
- 0, 0, 35, 36, 0, 113, 76, 77, 78, 0,
- 0, 0, 0, 0, 0, 41, 80, 10, 11, 117,
- 12, 0, 0, 0, 13, 14, 15, 16, 0, 0,
- 0, 19, 20, 21, 0, 0, 0, 0, 25, 83,
- 0, 0, 0, 84, 0, 28, 85, 29, 86, 0,
- 87, 0, 30, 0, 0, 0, 0, 0, 89, 0,
- 31, 0, 90, 0, 0, 0, 0, 94, 0, 96,
- 0, 0, 98, 0, 0, 100, 0, 0, 0, 102,
- 103, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 105, 0, 0, 107, 0,
- 0, 0, 111, 7, 112, 0, 0, 0, 0, 246,
- 36, 0, 113, 76, 77, 78, 0, 0, 0, 0,
- 0, 0, 41, 80, 10, 11, 117, 402, 0, 0,
- 0, 13, 14, 15, 16, 0, 0, 0, 19, 20,
- 21, 0, 0, 0, 0, 25, 83, 0, 0, 0,
- 84, 0, 28, 85, 29, 86, 0, 87, 0, 30,
- 0, 0, 0, 0, 0, 89, 0, 31, 0, 90,
- 0, 0, 0, 0, 94, 0, 96, 0, 0, 98,
- 0, 0, 100, 0, 0, 0, 0, 103, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 105, 0, 0, 107, 0, 0, 0, -2,
- 6, 0, 0, 7, 0, 0, 35, 36, 0, 113,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 41,
- 0, 8, 9, 117, 10, 11, 0, 12, 0, 0,
- 0, 13, 14, 15, 16, -10, 17, 18, 19, 20,
- 21, 22, 23, 24, 0, 25, 468, 26, 0, 7,
- 0, 27, 28, 0, 29, 0, 0, 0, 0, 30,
- 0, 0, 0, 0, 0, 0, 0, 31, 9, 0,
- 10, 11, 0, 12, 0, 0, 0, 13, 14, 15,
- 16, -83, 0, 18, 19, 20, 21, 22, 23, 24,
- 0, 25, 0, 26, 0, 0, 0, 27, 28, 0,
- 29, 0, 0, 0, 0, 30, 0, 0, 0, 32,
- 0, 0, 0, 31, 33, 34, 35, 36, 0, 0,
- 37, 38, 39, 0, 40, 0, 0, 0, 0, 41,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 479, 0, 0, 7,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 33, 34, 35, 36, 0, 0, 37, 38, 39, 0,
- 10, 11, 0, 12, 0, 41, 469, 13, 14, 15,
- 16, -95, 0, 18, 19, 20, 21, 22, 23, 24,
- 0, 25, 0, 26, 7, 0, 0, 27, 28, 0,
- 29, 0, 0, 0, 0, 30, 0, 0, 0, 0,
- 560, 561, 0, 31, 0, 10, 11, 562, 12, 563,
- 564, 565, 13, 14, 15, 16, 0, 0, 0, 19,
- 20, 21, 0, 0, 0, 566, 25, 567, 0, 568,
- 0, 569, 0, 28, 0, 29, 0, 570, 571, 88,
- 30, 0, 0, 0, 0, 0, 0, 0, 31, 0,
- 33, 34, 35, 36, 0, 0, 37, 38, 39, 0,
- 0, 0, 0, 0, 0, 41, 480, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 106, 0, 0, 0, 0,
- 0, 7, 0, 0, 0, 0, 0, 35, 36, 0,
- 0, 37, 38, 39, 0, 572, 0, 560, 561, 0,
- 41, 573, 10, 11, 562, 12, 563, 564, 565, 13,
- 14, 15, 16, 0, 0, 0, 19, 20, 21, 0,
- 0, 0, 566, 25, 567, 7, 568, 0, 569, 0,
- 28, 0, 29, 0, 570, 571, 88, 30, 0, 0,
- 0, 560, 561, 0, 0, 31, 10, 11, 562, 12,
- 563, 564, 565, 13, 14, 15, 16, 0, 0, 0,
- 19, 20, 21, 0, 0, 0, 566, 25, 567, 0,
- 568, 0, 569, 0, 28, 0, 29, 0, 570, 571,
- 0, 30, 106, 0, 0, 0, 0, 0, 0, 31,
- 0, 0, 0, 0, 35, 36, 0, 0, 37, 38,
- 39, 0, 572, 0, 0, 0, 0, 41, 781, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 703, 0, 0, 0,
- 0, 0, 7, 0, 0, 0, 0, 0, 35, 36,
- 0, 0, 37, 38, 39, 0, 572, 0, 0, 0,
- 0, 41, 704, 10, 11, 0, 12, 0, 0, 0,
- 13, 14, 15, 16, 0, 0, 0, 19, 20, 21,
- 0, 0, 0, 0, 25, 0, 0, 0, 0, 74,
- 75, 28, 0, 29, 0, 79, 0, 0, 30, 8,
- 9, 0, 10, 11, 0, 81, 31, 0, 0, 13,
- 14, 15, 16, 0, 0, 18, 19, 20, 0, 22,
- 23, 24, 0, 25, 0, 26, 0, 0, 0, 27,
- 28, 0, 29, 0, 0, 0, 88, 30, 0, 0,
- 0, 0, 0, 0, 0, 31, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 35, 36, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 41, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 106, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 33, 34, 308, 36, 0, 0, 205, 38,
- 39, 0, 248, 249, 0, 8, 9, 41, 10, 11,
- 0, 81, 0, 0, 0, 13, 14, 15, 16, 0,
- 0, 18, 19, 20, 0, 22, 23, 24, 0, 25,
- 0, 26, 0, 0, 0, 27, 28, 0, 29, 0,
- 0, 0, 88, 30, 0, 0, 0, 0, 0, 0,
- 0, 31, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 102, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 106, 0,
- 0, 0, 0, 111, 0, 112, 0, 0, 33, 34,
- 308, 36, 0, 0, 205, 38, 39, 0, 248, 249,
- 0, 8, 9, 41, 10, 11, 0, 81, 0, 0,
- 0, 13, 14, 15, 16, 0, 0, 18, 19, 20,
- 0, 22, 23, 24, 0, 25, 0, 26, 0, 0,
- 0, 27, 28, 0, 29, 0, 0, 0, 88, 30,
- 0, 0, 0, 0, 0, 0, 0, 31, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 106, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 33, 34, 308, 36, 0, 0,
- 205, 38, 39, 0, 248, 249, 0, 0, 0, 41
-};
-
-static const yytype_int16 yycheck[] =
-{
- 3, 4, 77, 3, 4, 4, 73, 3, 4, 35,
- 86, 37, 47, 86, 4, 37, 86, 28, 29, 35,
- 47, 37, 77, 86, 65, 239, 55, 35, 86, 37,
- 86, 17, 189, 183, 191, 88, 383, 182, 183, 206,
- 3, 4, 183, 41, 279, 265, 86, 357, 105, 4,
- 107, 86, 55, 88, 4, 86, 113, 67, 3, 4,
- 619, 88, 4, 190, 191, 416, 374, 3, 4, 68,
- 3, 4, 116, 379, 86, 99, 4, 18, 0, 82,
- 119, 1, 82, 82, 162, 338, 82, 59, 13, 357,
- 147, 64, 82, 109, 362, 113, 121, 122, 123, 156,
- 357, 109, 130, 160, 109, 362, 163, 132, 379, 3,
- 4, 130, 130, 366, 7, 11, 36, 13, 38, 82,
- 36, 7, 0, 130, 44, 1, 12, 82, 48, 7,
- 13, 288, 82, 105, 18, 21, 281, 82, 109, 374,
- 82, 700, 13, 184, 30, 132, 82, 182, 183, 82,
- 12, 13, 130, 216, 82, 128, 18, 210, 144, 146,
- 36, 288, 38, 189, 13, 191, 110, 18, 44, 18,
- 130, 42, 48, 189, 190, 210, 11, 125, 13, 526,
- 13, 125, 126, 210, 109, 15, 16, 0, 82, 205,
- 500, 132, 133, 135, 11, 81, 13, 205, 94, 95,
- 205, 548, 0, 206, 239, 283, 206, 206, 286, 265,
- 206, 131, 239, 84, 128, 225, 206, 0, 374, 13,
- 246, 247, 132, 380, 265, 247, 304, 267, 189, 190,
- 100, 582, 540, 400, 265, 142, 143, 67, 241, 545,
- 100, 246, 247, 206, 115, 95, 281, 325, 91, 92,
- 93, 206, 296, 380, 125, 131, 206, 95, 87, 94,
- 95, 206, 288, 130, 158, 127, 132, 61, 62, 63,
- 206, 65, 158, 206, 545, 246, 106, 105, 206, 471,
- 551, 110, 111, 112, 328, 329, 110, 117, 118, 7,
- 482, 332, 308, 121, 122, 123, 452, 119, 339, 455,
- 308, 125, 126, 308, 302, 540, 130, 143, 102, 12,
- 13, 384, 206, 383, 11, 18, 13, 390, 510, 389,
- 383, 11, 357, 13, 634, 383, 53, 637, 55, 12,
- 13, 334, 142, 336, 334, 18, 336, 308, 334, 338,
- 336, 68, 132, 416, 695, 11, 416, 13, 383, 427,
- 500, 104, 699, 416, 380, 500, 423, 514, 416, 500,
- 386, 387, 388, 133, 386, 132, 388, 366, 364, 637,
- 386, 334, 529, 336, 447, 646, 446, 444, 386, 387,
- 637, 416, 387, 388, 540, 132, 280, 130, 659, 334,
- 446, 336, 612, 144, 384, 522, 145, 400, 334, 90,
- 400, 400, 529, 130, 400, 405, 127, 128, 643, 412,
- 400, 446, 412, 412, 116, 446, 387, 388, 728, 125,
- 459, 656, 448, 492, 493, 494, 448, 132, 497, 113,
- 114, 782, 116, 13, 446, 115, 116, 400, 122, 123,
- 334, 517, 336, 448, 517, 400, 130, 52, 125, 126,
- 400, 337, 94, 95, 527, 400, 526, 447, 94, 95,
- 728, 517, 42, 526, 400, 500, 133, 400, 526, 132,
- 526, 14, 400, 91, 92, 93, 549, 448, 692, 97,
- 98, 5, 517, 633, 634, 548, 517, 643, 633, 130,
- 548, 526, 633, 550, 94, 526, 522, 513, 84, 85,
- 656, 87, 82, 115, 84, 517, 400, 112, 113, 582,
- 115, 8, 582, 548, 526, 8, 402, 122, 123, 582,
- 125, 126, 8, 590, 582, 554, 90, 8, 414, 93,
- 90, 130, 96, 93, 98, 115, 96, 527, 98, 132,
- 12, 13, 618, 437, 139, 125, 18, 582, 623, 326,
- 327, 554, 513, 514, 515, 622, 612, 137, 558, 549,
- 521, 522, 618, 589, 133, 12, 13, 589, 623, 132,
- 513, 18, 515, 50, 650, 732, 95, 580, 521, 632,
- 650, 612, 82, 618, 589, 528, 690, 618, 630, 630,
- 593, 593, 336, 593, 650, 187, 753, 632, 633, 634,
- 279, 593, 637, 303, 158, 632, 618, 685, 686, 687,
- 386, 387, 388, 551, 158, 650, 627, 707, 589, 650,
- 272, 748, 695, 699, 625, 695, 753, 700, 437, 619,
- 770, 622, 695, 12, 13, 702, 699, 695, 650, 18,
- 432, 699, 595, 699, 670, 671, 672, 281, 670, 675,
- 672, 590, 678, 675, 670, 342, 678, 692, 634, -1,
- 695, 651, 670, 671, 699, 692, 671, 672, 699, -1,
- 675, -1, 448, 678, 514, 515, -1, -1, 12, 13,
- -1, 567, 522, 569, 18, 571, -1, 699, -1, 529,
- 693, 769, -1, 728, -1, 52, 121, 122, 123, -1,
- 671, 672, -1, 770, 675, -1, -1, 678, -1, 782,
- 700, 737, 782, -1, -1, 731, 121, 122, 123, 782,
- 736, 52, 748, -1, 782, 91, 92, 93, -1, 725,
- -1, 97, 98, 91, 92, 93, -1, 513, 514, 515,
- -1, -1, 91, 92, 93, 521, 522, 782, 97, 98,
- -1, -1, 528, 529, -1, 112, 113, 114, 115, 116,
- 763, -1, -1, 763, 763, 122, 123, -1, 125, 126,
- 731, 732, 733, 130, 131, 736, 737, 91, 92, 93,
- -1, 112, 113, 114, 115, 116, 747, 748, 731, -1,
- 733, 122, 123, 736, 125, 126, 61, 62, 63, 130,
- 65, -1, 1, -1, 747, 4, 121, 122, 123, 752,
- 125, -1, -1, 589, -1, 14, 15, 16, -1, 10,
- 11, -1, 13, -1, -1, 24, 25, 26, -1, 28,
- 14, 15, 16, 32, 33, 34, 35, 91, 92, 93,
- 39, 40, 41, 97, 98, -1, -1, 46, 47, -1,
- -1, 110, 51, -1, 53, 54, 55, 56, -1, 58,
- -1, 60, 121, 122, 123, -1, 125, 66, -1, 68,
- -1, 70, 131, 91, 92, 93, 75, -1, 77, -1,
- 71, 80, 73, 74, 83, 76, -1, 78, -1, 88,
- 81, -1, 732, 733, 85, 671, 672, 737, 89, 675,
- -1, -1, 678, -1, 103, -1, -1, 106, 748, -1,
- -1, 110, -1, 753, -1, -1, 107, 108, 117, 118,
- -1, 120, 121, 122, 123, -1, 125, 91, 92, 93,
- -1, 130, 131, 97, 98, 134, 127, 91, 92, 93,
- 91, 92, 93, -1, 135, 136, 137, 138, 139, 140,
- 141, -1, 91, 92, 93, -1, 732, 733, 97, 98,
- -1, 737, 91, 92, 93, -1, 0, 1, 97, 98,
- 4, -1, 748, 91, 92, 93, 10, 753, 12, 13,
- 14, 15, 16, -1, 18, 91, 92, 93, 22, 23,
- 24, 25, 26, -1, 28, 91, 92, 93, 32, 33,
- 34, 35, -1, 37, 38, 39, 40, 41, 42, 43,
- 44, -1, 46, 47, 48, -1, -1, 51, 52, 53,
- 54, 55, 56, -1, 58, 59, 60, 91, 92, 93,
- -1, -1, 66, -1, 68, -1, 70, 71, -1, 73,
- 74, 75, 76, 77, 78, -1, 80, 81, -1, 83,
- -1, 85, -1, 87, 88, 89, 91, 92, 93, 91,
- 92, 93, 97, 98, -1, 97, 98, -1, -1, 103,
- -1, 105, 106, 107, 108, 109, 110, -1, 112, -1,
- -1, 115, 116, 117, 118, -1, 120, 121, 122, 123,
- -1, 125, 126, 127, -1, -1, 130, 91, 92, 93,
- 134, 135, 136, 137, 138, 139, 140, 141, 4, 91,
- 92, 93, -1, -1, 10, -1, 12, 13, 14, 15,
- 16, -1, 18, 91, 92, 93, 22, 23, 24, 25,
- 26, -1, 28, -1, -1, -1, 32, 33, 34, 35,
- -1, 17, 38, 39, 40, 41, 42, 43, 44, -1,
- 46, 47, 48, -1, -1, 51, 52, 53, 54, 55,
- 56, -1, 58, 59, 60, -1, -1, -1, -1, -1,
- 66, -1, 68, -1, 70, 71, -1, 73, 74, 75,
- 76, 77, 78, -1, 80, 81, -1, 83, -1, 85,
- -1, 87, 88, 89, 70, -1, -1, -1, 74, 91,
- 92, 93, -1, 79, -1, 97, 98, 103, -1, 105,
- 106, 107, 108, 109, 110, -1, 112, -1, -1, 115,
- 116, 117, 118, -1, 120, 121, 122, 123, -1, 125,
- 126, 127, 0, 1, 130, -1, 4, -1, 134, 135,
- 136, 137, 138, 139, 140, 141, 14, 15, 16, -1,
- -1, 127, 128, -1, -1, -1, 24, 25, 26, -1,
- 28, -1, 138, -1, 32, 33, 34, 35, -1, 145,
- -1, 39, 40, 41, 91, 92, 93, -1, 46, 47,
- 97, 98, -1, 51, -1, 53, 54, 55, 56, -1,
- 58, -1, 60, -1, -1, -1, 25, 26, 66, 28,
- 68, -1, 70, 32, 33, 34, 35, 75, -1, 77,
- 39, 40, 80, -1, -1, 83, -1, 46, -1, 87,
- 88, 91, 92, 93, 53, -1, 55, 97, 98, -1,
- -1, 60, -1, -1, -1, 103, -1, -1, 106, 68,
- -1, -1, 110, -1, 112, 1, -1, -1, 4, 117,
- 118, -1, 120, 121, 122, 123, -1, -1, 14, 15,
- 16, -1, 130, -1, -1, 52, 134, -1, 24, 25,
- 26, -1, 28, -1, -1, -1, 32, 33, 34, 35,
- 91, 92, 93, 39, 40, 41, 97, 98, 117, 118,
- 46, 47, -1, -1, -1, 51, -1, 53, 54, 55,
- 56, 130, 58, -1, 60, -1, -1, -1, -1, -1,
- 66, -1, 68, 69, 70, -1, 91, 92, 93, 75,
- -1, 77, 97, 98, 80, 112, 113, 83, 115, -1,
- -1, 87, 88, -1, -1, 122, 123, -1, 125, 126,
- -1, -1, -1, 130, -1, -1, -1, 103, -1, -1,
- 106, -1, -1, -1, 110, -1, 112, 1, -1, -1,
- 4, 117, 118, -1, 120, 121, 122, 123, -1, -1,
- 14, 15, 16, -1, 130, -1, -1, -1, 134, -1,
- 24, 25, 26, -1, 28, -1, -1, -1, 32, 33,
- 34, 35, 91, 92, 93, 39, 40, 41, 97, 98,
- -1, -1, 46, 47, -1, -1, -1, 51, -1, 53,
- 54, 55, 56, -1, 58, -1, 60, -1, -1, -1,
- -1, -1, 66, -1, 68, -1, 70, -1, 10, -1,
- -1, 75, -1, 77, -1, -1, 80, -1, -1, 83,
- -1, -1, -1, 87, 88, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 103,
- 42, -1, 106, -1, -1, -1, 110, -1, 112, -1,
- -1, -1, -1, 117, 118, -1, 120, 121, 122, 123,
- -1, -1, -1, -1, -1, 67, 130, 131, -1, 71,
- 134, 73, 74, -1, 76, -1, 78, -1, -1, -1,
- 10, 11, 12, 13, -1, -1, -1, 89, 18, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 107, 108, -1, 110, -1,
- -1, -1, -1, 115, -1, 117, -1, -1, -1, 10,
- -1, 12, 13, 125, 126, 127, 128, 18, -1, -1,
- -1, 133, 134, 135, 136, 137, 138, 139, 140, 141,
- -1, 71, -1, 73, 74, -1, 76, -1, 78, -1,
- -1, 81, -1, -1, -1, 85, -1, -1, -1, 89,
- 10, 11, 12, 13, 94, 95, -1, -1, 18, -1,
- -1, -1, -1, -1, -1, -1, -1, 107, 108, 109,
- 71, -1, 73, 74, -1, 76, -1, 78, -1, -1,
- 81, -1, -1, -1, 85, -1, -1, 127, 89, -1,
- -1, -1, -1, 94, 95, 135, 136, 137, 138, 139,
- 140, 141, -1, -1, -1, -1, 107, 108, 109, -1,
- -1, 71, -1, 73, 74, -1, 76, -1, 78, -1,
- -1, 81, -1, -1, -1, 85, 127, -1, -1, 89,
- -1, -1, -1, -1, 135, 136, 137, 138, 139, 140,
- 141, -1, 10, 11, 12, 13, -1, 107, 108, 109,
- 18, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 10, 11, 12, 13, 127, -1, -1,
- -1, 18, -1, -1, -1, 135, 136, 137, 138, 139,
- 140, 141, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 71, -1, 73, 74, -1, 76, -1,
- 78, -1, -1, 81, -1, -1, -1, 85, -1, -1,
- -1, 89, -1, -1, 71, -1, 73, 74, -1, 76,
- -1, 78, -1, -1, 81, -1, -1, -1, 85, 107,
- 108, 109, 89, 10, 11, 12, 13, -1, -1, -1,
- -1, 18, -1, -1, -1, -1, -1, -1, -1, 127,
- 107, 108, 109, -1, -1, -1, -1, 135, 136, 137,
- 138, 139, 140, 141, -1, -1, -1, -1, -1, -1,
- 127, -1, -1, -1, -1, -1, -1, -1, 135, 136,
- 137, 138, 139, 140, 141, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 71, -1, 73, 74, -1, 76,
- -1, 78, -1, -1, 81, -1, -1, -1, 85, -1,
- -1, -1, 89, 10, 11, 12, 13, -1, -1, -1,
- -1, 18, -1, -1, -1, -1, -1, -1, -1, -1,
- 107, 108, 109, -1, 10, 11, 12, 13, -1, -1,
- -1, -1, 18, -1, -1, -1, -1, -1, -1, -1,
- 127, -1, -1, -1, -1, -1, -1, -1, 135, 136,
- 137, 138, 139, 140, 141, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 71, -1, 73, 74, -1, 76,
- -1, 78, -1, -1, 81, -1, -1, -1, 85, -1,
- -1, -1, 89, -1, -1, 71, -1, 73, 74, -1,
- 76, -1, 78, -1, -1, 81, -1, -1, -1, 85,
- 107, 108, 109, 89, 10, 11, 12, 13, -1, -1,
- -1, -1, 18, -1, -1, -1, -1, -1, -1, -1,
- 127, 107, 108, 109, -1, -1, -1, -1, 135, 136,
- 137, 138, 139, 140, 141, -1, -1, -1, -1, -1,
- -1, 127, -1, -1, -1, -1, -1, -1, -1, 135,
- 136, 137, 138, 139, 140, 141, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 71, -1, 73, 74, -1,
- 76, -1, 78, -1, -1, 81, -1, -1, -1, 85,
- -1, -1, -1, 89, 10, 11, 12, 13, -1, -1,
- -1, -1, 18, -1, -1, -1, -1, -1, -1, -1,
- -1, 107, 108, 109, -1, 10, 11, 12, 13, -1,
- -1, -1, -1, 18, -1, -1, -1, -1, -1, -1,
- -1, 127, -1, -1, -1, -1, -1, -1, -1, 135,
- 136, 137, 138, 139, 140, 141, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 71, -1, 73, 74, -1,
- 76, -1, 78, -1, -1, 81, -1, -1, -1, 85,
- -1, -1, -1, 89, -1, -1, 71, -1, 73, 74,
- -1, 76, -1, 78, -1, -1, 81, -1, -1, -1,
- 85, 107, 108, 109, 89, 10, 11, 12, 13, -1,
- -1, -1, -1, 18, -1, -1, -1, -1, -1, -1,
- -1, 127, 107, 108, 109, -1, -1, -1, -1, 135,
- 136, 137, 138, 139, 140, 141, -1, -1, -1, -1,
- -1, -1, 127, -1, -1, -1, -1, -1, -1, -1,
- 135, 136, 137, 138, 139, 140, 141, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 71, -1, 73, 74,
- -1, 76, -1, 78, -1, -1, 81, -1, -1, -1,
- 85, -1, -1, -1, 89, 10, 11, 12, 13, -1,
- -1, -1, -1, 18, -1, -1, -1, -1, -1, -1,
- -1, -1, 107, 108, 109, -1, 10, 11, 12, 13,
- -1, -1, -1, -1, 18, -1, -1, -1, -1, -1,
- -1, -1, 127, -1, -1, -1, -1, -1, -1, -1,
- 135, 136, 137, 138, 139, 140, 141, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 71, -1, 73, 74,
- -1, 76, -1, 78, -1, -1, 81, -1, -1, -1,
- 85, -1, -1, -1, 89, -1, -1, 71, -1, 73,
- 74, -1, 76, -1, 78, -1, -1, 81, -1, -1,
- -1, 85, 107, 108, 109, 89, 10, -1, 12, 13,
- -1, -1, -1, -1, 18, -1, -1, -1, -1, -1,
- -1, -1, 127, 107, 108, 109, -1, -1, -1, -1,
- 135, 136, 137, 138, 139, 140, 141, -1, -1, -1,
- -1, -1, -1, 127, -1, -1, -1, -1, -1, -1,
- -1, 135, 136, 137, 138, 139, 140, 141, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 71, -1, 73,
- 74, -1, 76, -1, 78, -1, -1, 81, -1, -1,
- 10, 85, 12, 13, -1, 89, -1, -1, 18, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 107, 108, 109, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 10,
- -1, 12, 13, 127, -1, -1, -1, 18, -1, -1,
- -1, 135, 136, 137, 138, 139, 140, 141, -1, -1,
- -1, 71, -1, 73, 74, -1, 76, -1, 78, -1,
- -1, 81, -1, -1, -1, 85, -1, -1, 10, 89,
- 12, 13, -1, -1, -1, -1, 18, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 107, 108, 109,
- 71, -1, 73, 74, -1, 76, -1, 78, -1, -1,
- 81, -1, -1, -1, 85, -1, -1, 127, 89, -1,
- -1, -1, -1, -1, -1, 135, 136, 137, 138, 139,
- 140, 141, -1, -1, -1, -1, 107, 108, 109, 71,
- -1, 73, 74, -1, 76, -1, 78, -1, -1, 81,
- -1, -1, 10, 85, 12, 13, 127, 89, -1, -1,
- 18, -1, -1, -1, 135, 136, 137, 138, 139, 140,
- 141, -1, -1, -1, -1, 107, 108, 109, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 10, -1, 12, 13, 127, -1, -1, -1, 18,
- -1, -1, -1, 135, 136, 137, 138, 139, 140, 141,
- -1, -1, -1, 71, -1, 73, 74, -1, 76, -1,
- 78, -1, -1, 81, -1, -1, -1, 85, -1, -1,
- 10, 89, 12, 13, -1, -1, -1, -1, 18, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 107,
- 108, 109, 71, -1, 73, 74, -1, 76, -1, 78,
- -1, -1, 81, -1, -1, -1, 85, -1, -1, 127,
- 89, 10, -1, -1, -1, -1, -1, 135, 136, 137,
- 138, 139, 140, 141, -1, -1, -1, -1, 107, 108,
- 109, 71, -1, 73, 74, -1, 76, -1, 78, -1,
- -1, 81, -1, -1, -1, 85, -1, -1, 127, 89,
- -1, -1, -1, -1, -1, -1, 135, 136, 137, 138,
- 139, 140, 141, -1, -1, -1, -1, 107, 108, 109,
- -1, -1, 71, -1, 73, 74, -1, 76, -1, 78,
- -1, -1, 81, -1, -1, -1, 85, 127, -1, -1,
- 89, -1, -1, -1, -1, 135, 136, 137, 138, 139,
- 140, 141, -1, -1, -1, -1, -1, -1, 107, 108,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 127, -1,
- -1, -1, -1, -1, -1, -1, 135, 136, 137, 138,
- 139, 140, 141, 4, -1, -1, -1, -1, -1, -1,
- 11, 12, 13, 14, 15, 16, -1, 18, -1, -1,
- -1, 22, 23, 24, 25, 26, -1, 28, -1, -1,
- -1, 32, 33, 34, 35, -1, -1, 38, 39, 40,
- 41, 42, 43, 44, -1, 46, 47, 48, -1, -1,
- 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
- -1, -1, -1, -1, -1, 66, -1, 68, -1, 70,
- -1, -1, -1, -1, 75, -1, 77, -1, -1, 80,
- -1, -1, 83, -1, -1, -1, 87, 88, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 103, -1, 105, 106, -1, -1, 109, 110,
- -1, 112, -1, -1, 115, 116, 117, 118, -1, 120,
- 121, 122, 123, -1, 125, 126, 4, -1, -1, 130,
- -1, -1, -1, 134, 12, 13, 14, 15, 16, -1,
- 18, -1, -1, -1, 22, 23, 24, 25, 26, -1,
- 28, -1, -1, -1, 32, 33, 34, 35, -1, -1,
- 38, 39, 40, 41, 42, 43, 44, -1, 46, 47,
- 48, -1, -1, 51, 52, 53, 54, 55, 56, -1,
- 58, 59, 60, -1, -1, -1, -1, -1, 66, -1,
- 68, -1, 70, -1, -1, -1, -1, 75, -1, 77,
- -1, -1, 80, -1, -1, 83, -1, -1, -1, 87,
- 88, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 103, -1, 105, 106, -1,
- -1, 109, 110, -1, 112, -1, -1, 115, 116, 117,
- 118, -1, 120, 121, 122, 123, -1, 125, 126, 4,
- -1, -1, 130, -1, -1, -1, 134, -1, -1, 14,
- 15, 16, -1, -1, -1, -1, -1, 22, 23, 24,
- 25, 26, -1, 28, -1, -1, -1, 32, 33, 34,
- 35, -1, -1, 38, 39, 40, 41, 42, 43, 44,
- -1, 46, 47, 48, -1, -1, 51, 52, 53, 54,
- 55, 56, -1, 58, 59, 60, -1, -1, -1, -1,
- -1, 66, -1, 68, -1, 70, -1, -1, -1, -1,
- 75, -1, 77, -1, -1, 80, -1, -1, 83, -1,
- -1, -1, 87, 88, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 103, -1,
- 105, 106, -1, -1, -1, 110, -1, 112, -1, -1,
- 115, 116, 117, 118, -1, 120, 121, 122, 123, -1,
- 125, 126, 4, -1, -1, 130, -1, -1, -1, 134,
- -1, -1, 14, 15, 16, -1, -1, -1, -1, -1,
- 22, 23, 24, 25, 26, -1, 28, -1, -1, -1,
- 32, 33, 34, 35, -1, -1, 38, 39, 40, 41,
- 42, 43, 44, -1, 46, 47, 48, -1, -1, 51,
- 52, 53, 54, 55, 56, -1, 58, 59, 60, -1,
- -1, -1, -1, -1, 66, -1, 68, -1, 70, -1,
- -1, -1, -1, 75, -1, 77, -1, -1, 80, -1,
- -1, 83, -1, -1, -1, 87, 88, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 103, -1, 105, 106, -1, -1, -1, 110, -1,
- 112, -1, -1, 115, 116, 117, 118, -1, 120, 121,
- 122, 123, -1, 125, 126, 4, -1, -1, 130, -1,
- -1, -1, 134, -1, -1, 14, 15, 16, -1, -1,
- -1, -1, -1, 22, 23, 24, 25, 26, -1, 28,
- -1, -1, -1, 32, 33, 34, 35, -1, -1, 38,
- 39, 40, 41, 42, 43, 44, -1, 46, 47, 48,
- -1, -1, 51, 52, 53, 54, 55, 56, -1, 58,
- 59, 60, -1, -1, -1, -1, -1, 66, -1, 68,
- -1, 70, -1, -1, -1, -1, 75, -1, 77, -1,
- -1, 80, -1, -1, 83, -1, -1, -1, -1, 88,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 103, -1, 105, 106, -1, -1,
- -1, -1, -1, -1, -1, -1, 115, 116, 117, 118,
- -1, 120, 121, 122, 123, -1, 125, 126, 4, -1,
- -1, 130, -1, -1, -1, 134, -1, -1, 14, 15,
- 16, -1, -1, -1, -1, -1, 22, 23, 24, 25,
- 26, -1, 28, -1, -1, -1, 32, 33, 34, 35,
- -1, -1, 38, 39, 40, 41, 42, 43, 44, -1,
- 46, 47, 48, -1, -1, 51, 52, 53, 54, 55,
- 56, -1, 58, 59, 60, -1, -1, -1, -1, -1,
- 66, -1, 68, -1, 70, -1, -1, -1, -1, 75,
- -1, 77, -1, -1, 80, -1, -1, 83, -1, -1,
- -1, -1, 88, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 103, -1, 105,
- 106, -1, -1, -1, -1, -1, -1, -1, -1, 115,
- 116, 117, 118, -1, 120, 121, 122, 123, -1, 125,
- 126, 4, -1, -1, 130, -1, -1, -1, 134, -1,
- -1, 14, 15, 16, -1, -1, -1, -1, -1, -1,
- -1, 24, 25, 26, -1, 28, -1, -1, -1, 32,
- 33, 34, 35, -1, -1, -1, 39, 40, 41, -1,
- -1, -1, -1, 46, 47, -1, -1, -1, 51, -1,
- 53, 54, 55, 56, -1, 58, -1, 60, -1, -1,
- -1, -1, -1, 66, -1, 68, -1, 70, -1, -1,
- -1, -1, 75, -1, 77, -1, -1, 80, -1, -1,
- 83, -1, -1, -1, 87, 88, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 103, -1, -1, 106, -1, -1, -1, 110, -1, 112,
- -1, -1, 4, -1, 117, 118, -1, 120, 121, 122,
- 123, -1, 14, 15, 16, -1, -1, 130, -1, -1,
- -1, 134, 24, 25, 26, -1, 28, -1, -1, -1,
- 32, 33, 34, 35, -1, -1, -1, 39, 40, 41,
- -1, -1, -1, -1, 46, 47, -1, -1, -1, 51,
- -1, 53, 54, 55, 56, -1, 58, -1, 60, -1,
- -1, -1, -1, -1, 66, -1, 68, -1, 70, -1,
- -1, -1, -1, 75, -1, 77, -1, -1, 80, -1,
- -1, 83, -1, -1, -1, 87, 88, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 103, -1, -1, 106, -1, -1, -1, 110, 4,
- 112, -1, -1, -1, -1, 117, 118, -1, 120, 14,
- 15, 16, 124, -1, -1, -1, -1, -1, 130, 24,
- 25, 26, 134, 28, -1, -1, -1, 32, 33, 34,
- 35, -1, -1, -1, 39, 40, 41, -1, -1, -1,
- -1, 46, 47, -1, -1, -1, 51, -1, 53, 54,
- 55, 56, -1, 58, -1, 60, -1, -1, -1, -1,
- -1, 66, -1, 68, -1, 70, -1, -1, -1, -1,
- 75, -1, 77, -1, -1, 80, -1, -1, 83, -1,
- -1, -1, 87, 88, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 103, -1,
- -1, 106, -1, -1, -1, 110, 4, 112, -1, -1,
- -1, -1, 117, 118, -1, 120, 14, 15, 16, -1,
- -1, -1, -1, -1, -1, 130, 24, 25, 26, 134,
- 28, -1, -1, -1, 32, 33, 34, 35, -1, -1,
- -1, 39, 40, 41, -1, -1, -1, -1, 46, 47,
- -1, -1, -1, 51, -1, 53, 54, 55, 56, -1,
- 58, -1, 60, -1, -1, -1, -1, -1, 66, -1,
- 68, -1, 70, -1, -1, -1, -1, 75, -1, 77,
- -1, -1, 80, -1, -1, 83, -1, -1, -1, 87,
- 88, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 103, -1, -1, 106, -1,
- -1, -1, 110, 4, 112, -1, -1, -1, -1, 117,
- 118, -1, 120, 14, 15, 16, -1, -1, -1, -1,
- -1, -1, 130, 24, 25, 26, 134, 28, -1, -1,
- -1, 32, 33, 34, 35, -1, -1, -1, 39, 40,
- 41, -1, -1, -1, -1, 46, 47, -1, -1, -1,
- 51, -1, 53, 54, 55, 56, -1, 58, -1, 60,
- -1, -1, -1, -1, -1, 66, -1, 68, -1, 70,
- -1, -1, -1, -1, 75, -1, 77, -1, -1, 80,
- -1, -1, 83, -1, -1, -1, -1, 88, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 103, -1, -1, 106, -1, -1, -1, 0,
- 1, -1, -1, 4, -1, -1, 117, 118, -1, 120,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 130,
- -1, 22, 23, 134, 25, 26, -1, 28, -1, -1,
- -1, 32, 33, 34, 35, 36, 37, 38, 39, 40,
- 41, 42, 43, 44, -1, 46, 1, 48, -1, 4,
- -1, 52, 53, -1, 55, -1, -1, -1, -1, 60,
- -1, -1, -1, -1, -1, -1, -1, 68, 23, -1,
- 25, 26, -1, 28, -1, -1, -1, 32, 33, 34,
- 35, 36, -1, 38, 39, 40, 41, 42, 43, 44,
- -1, 46, -1, 48, -1, -1, -1, 52, 53, -1,
- 55, -1, -1, -1, -1, 60, -1, -1, -1, 110,
- -1, -1, -1, 68, 115, 116, 117, 118, -1, -1,
- 121, 122, 123, -1, 125, -1, -1, -1, -1, 130,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 1, -1, -1, 4,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 115, 116, 117, 118, -1, -1, 121, 122, 123, -1,
- 25, 26, -1, 28, -1, 130, 131, 32, 33, 34,
- 35, 36, -1, 38, 39, 40, 41, 42, 43, 44,
- -1, 46, -1, 48, 4, -1, -1, 52, 53, -1,
- 55, -1, -1, -1, -1, 60, -1, -1, -1, -1,
- 20, 21, -1, 68, -1, 25, 26, 27, 28, 29,
- 30, 31, 32, 33, 34, 35, -1, -1, -1, 39,
- 40, 41, -1, -1, -1, 45, 46, 47, -1, 49,
- -1, 51, -1, 53, -1, 55, -1, 57, 58, 59,
- 60, -1, -1, -1, -1, -1, -1, -1, 68, -1,
- 115, 116, 117, 118, -1, -1, 121, 122, 123, -1,
- -1, -1, -1, -1, -1, 130, 131, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 105, -1, -1, -1, -1,
- -1, 4, -1, -1, -1, -1, -1, 117, 118, -1,
- -1, 121, 122, 123, -1, 125, -1, 20, 21, -1,
- 130, 131, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, -1, -1, -1, 39, 40, 41, -1,
- -1, -1, 45, 46, 47, 4, 49, -1, 51, -1,
- 53, -1, 55, -1, 57, 58, 59, 60, -1, -1,
- -1, 20, 21, -1, -1, 68, 25, 26, 27, 28,
- 29, 30, 31, 32, 33, 34, 35, -1, -1, -1,
- 39, 40, 41, -1, -1, -1, 45, 46, 47, -1,
- 49, -1, 51, -1, 53, -1, 55, -1, 57, 58,
- -1, 60, 105, -1, -1, -1, -1, -1, -1, 68,
- -1, -1, -1, -1, 117, 118, -1, -1, 121, 122,
- 123, -1, 125, -1, -1, -1, -1, 130, 131, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 105, -1, -1, -1,
- -1, -1, 4, -1, -1, -1, -1, -1, 117, 118,
- -1, -1, 121, 122, 123, -1, 125, -1, -1, -1,
- -1, 130, 131, 25, 26, -1, 28, -1, -1, -1,
- 32, 33, 34, 35, -1, -1, -1, 39, 40, 41,
- -1, -1, -1, -1, 46, -1, -1, -1, -1, 12,
- 13, 53, -1, 55, -1, 18, -1, -1, 60, 22,
- 23, -1, 25, 26, -1, 28, 68, -1, -1, 32,
- 33, 34, 35, -1, -1, 38, 39, 40, -1, 42,
- 43, 44, -1, 46, -1, 48, -1, -1, -1, 52,
- 53, -1, 55, -1, -1, -1, 59, 60, -1, -1,
- -1, -1, -1, -1, -1, 68, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 117, 118, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 130, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 105, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 115, 116, 117, 118, -1, -1, 121, 122,
- 123, -1, 125, 126, -1, 22, 23, 130, 25, 26,
- -1, 28, -1, -1, -1, 32, 33, 34, 35, -1,
- -1, 38, 39, 40, -1, 42, 43, 44, -1, 46,
- -1, 48, -1, -1, -1, 52, 53, -1, 55, -1,
- -1, -1, 59, 60, -1, -1, -1, -1, -1, -1,
- -1, 68, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 87, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 105, -1,
- -1, -1, -1, 110, -1, 112, -1, -1, 115, 116,
- 117, 118, -1, -1, 121, 122, 123, -1, 125, 126,
- -1, 22, 23, 130, 25, 26, -1, 28, -1, -1,
- -1, 32, 33, 34, 35, -1, -1, 38, 39, 40,
- -1, 42, 43, 44, -1, 46, -1, 48, -1, -1,
- -1, 52, 53, -1, 55, -1, -1, -1, 59, 60,
- -1, -1, -1, -1, -1, -1, -1, 68, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 105, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 115, 116, 117, 118, -1, -1,
- 121, 122, 123, -1, 125, 126, -1, -1, -1, 130
-};
-
-/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
- symbol of state STATE-NUM. */
-static const yytype_uint16 yystos[] =
-{
- 0, 99, 148, 150, 149, 0, 1, 4, 22, 23,
- 25, 26, 28, 32, 33, 34, 35, 37, 38, 39,
- 40, 41, 42, 43, 44, 46, 48, 52, 53, 55,
- 60, 68, 110, 115, 116, 117, 118, 121, 122, 123,
- 125, 130, 151, 152, 153, 155, 157, 161, 162, 168,
- 171, 174, 178, 179, 180, 183, 187, 192, 193, 194,
- 200, 202, 203, 223, 225, 226, 227, 228, 229, 233,
- 314, 316, 1, 10, 12, 13, 14, 15, 16, 18,
- 24, 28, 37, 47, 51, 54, 56, 58, 59, 66,
- 70, 71, 73, 74, 75, 76, 77, 78, 80, 81,
- 83, 85, 87, 88, 89, 103, 105, 106, 107, 108,
- 109, 110, 112, 120, 125, 126, 127, 134, 135, 136,
- 137, 138, 139, 140, 141, 155, 158, 163, 164, 168,
- 171, 174, 178, 185, 188, 189, 190, 191, 195, 196,
- 200, 235, 242, 243, 244, 248, 249, 250, 255, 256,
- 257, 259, 261, 262, 263, 268, 269, 270, 275, 282,
- 289, 291, 292, 293, 295, 296, 303, 304, 305, 306,
- 307, 312, 314, 316, 110, 125, 126, 245, 130, 130,
- 245, 245, 317, 315, 130, 187, 187, 245, 186, 91,
- 92, 93, 97, 98, 205, 207, 211, 212, 213, 214,
- 222, 211, 186, 36, 160, 121, 132, 153, 219, 221,
- 236, 237, 130, 1, 131, 162, 184, 7, 230, 188,
- 195, 200, 295, 203, 196, 198, 13, 308, 18, 18,
- 142, 143, 266, 267, 266, 267, 125, 130, 158, 241,
- 245, 241, 241, 11, 13, 109, 117, 121, 125, 126,
- 153, 154, 156, 157, 164, 168, 171, 174, 178, 190,
- 196, 201, 202, 220, 221, 226, 246, 247, 254, 279,
- 293, 306, 308, 314, 316, 241, 105, 197, 219, 251,
- 288, 313, 277, 278, 279, 280, 278, 278, 93, 97,
- 205, 206, 215, 216, 222, 278, 127, 305, 13, 273,
- 273, 155, 189, 128, 278, 278, 310, 67, 117, 127,
- 128, 133, 134, 135, 136, 245, 254, 263, 264, 272,
- 274, 316, 278, 258, 258, 278, 127, 128, 17, 144,
- 13, 18, 309, 100, 169, 100, 172, 132, 224, 234,
- 52, 112, 113, 114, 115, 116, 125, 126, 130, 153,
- 318, 319, 321, 322, 323, 325, 328, 329, 330, 113,
- 319, 321, 329, 124, 175, 188, 224, 1, 69, 189,
- 97, 208, 210, 212, 217, 97, 209, 210, 216, 218,
- 93, 97, 210, 217, 218, 222, 91, 92, 93, 95,
- 95, 131, 130, 215, 155, 163, 195, 200, 295, 219,
- 132, 119, 28, 181, 190, 231, 7, 203, 142, 143,
- 132, 104, 167, 237, 133, 155, 132, 281, 97, 205,
- 215, 201, 279, 132, 281, 130, 67, 106, 118, 223,
- 252, 253, 270, 13, 82, 84, 125, 137, 283, 285,
- 287, 316, 318, 258, 144, 258, 217, 218, 93, 186,
- 244, 258, 61, 62, 63, 65, 298, 145, 311, 127,
- 259, 260, 258, 304, 304, 305, 305, 188, 1, 131,
- 155, 170, 171, 174, 177, 178, 200, 314, 316, 1,
- 131, 155, 173, 174, 177, 200, 314, 316, 245, 198,
- 188, 331, 90, 93, 96, 98, 326, 90, 326, 327,
- 324, 320, 115, 116, 319, 323, 328, 330, 1, 131,
- 176, 178, 198, 91, 92, 93, 94, 95, 269, 270,
- 271, 91, 92, 94, 276, 280, 217, 218, 91, 92,
- 94, 154, 156, 293, 109, 127, 259, 306, 97, 204,
- 211, 212, 97, 204, 212, 215, 97, 204, 211, 215,
- 111, 293, 294, 306, 159, 163, 182, 200, 232, 125,
- 20, 21, 27, 29, 30, 31, 45, 47, 49, 51,
- 57, 58, 125, 131, 155, 165, 166, 196, 200, 238,
- 239, 240, 132, 245, 109, 246, 293, 306, 133, 93,
- 132, 302, 308, 199, 258, 310, 285, 17, 70, 74,
- 79, 127, 128, 138, 145, 284, 286, 109, 308, 154,
- 202, 220, 226, 293, 109, 127, 259, 306, 211, 215,
- 269, 269, 297, 132, 146, 265, 273, 5, 160, 160,
- 130, 327, 327, 327, 327, 131, 321, 329, 330, 332,
- 94, 160, 97, 208, 212, 217, 209, 210, 217, 97,
- 208, 209, 210, 220, 306, 97, 208, 210, 218, 209,
- 218, 293, 109, 127, 259, 306, 97, 12, 13, 18,
- 91, 92, 93, 8, 271, 93, 8, 276, 93, 8,
- 156, 109, 127, 259, 306, 278, 260, 280, 131, 162,
- 130, 200, 245, 245, 245, 132, 125, 155, 246, 211,
- 215, 302, 139, 105, 131, 166, 240, 311, 12, 13,
- 18, 220, 12, 13, 307, 102, 298, 299, 300, 301,
- 308, 266, 267, 277, 187, 175, 219, 321, 329, 332,
- 330, 91, 92, 93, 271, 276, 91, 92, 220, 293,
- 12, 13, 18, 109, 127, 259, 94, 91, 92, 12,
- 13, 18, 91, 92, 204, 204, 204, 12, 13, 18,
- 258, 258, 258, 167, 237, 155, 246, 307, 308, 265,
- 133, 64, 128, 50, 290, 131, 210, 210, 12, 13,
- 18, 131, 132, 258, 301, 246
-};
-
-#define yyerrok (yyerrstatus = 0)
-#define yyclearin (yychar = YYEMPTY)
-#define YYEMPTY (-2)
-#define YYEOF 0
-
-#define YYACCEPT goto yyacceptlab
-#define YYABORT goto yyabortlab
-#define YYERROR goto yyerrorlab
-
-
-/* Like YYERROR except do call yyerror. This remains here temporarily
- to ease the transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
-
-#define YYFAIL goto yyerrlab
-
-#define YYRECOVERING() (!!yyerrstatus)
-
-#define YYBACKUP(Token, Value) \
-do \
- if (yychar == YYEMPTY && yylen == 1) \
- { \
- yychar = (Token); \
- yylval = (Value); \
- yytoken = YYTRANSLATE (yychar); \
- YYPOPSTACK (1); \
- goto yybackup; \
- } \
- else \
- { \
- yyerror (&yylloc, parser, YY_("syntax error: cannot back up")); \
- YYERROR; \
- } \
-while (YYID (0))
-
-
-#define YYTERROR 1
-#define YYERRCODE 256
-
-
-/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
- If N is 0, then set CURRENT to the empty location which ends
- the previous symbol: RHS[0] (always defined). */
-
-#define YYRHSLOC(Rhs, K) ((Rhs)[K])
-#ifndef YYLLOC_DEFAULT
-# define YYLLOC_DEFAULT(Current, Rhs, N) \
- do \
- if (YYID (N)) \
- { \
- (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
- (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
- (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
- (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
- } \
- else \
- { \
- (Current).first_line = (Current).last_line = \
- YYRHSLOC (Rhs, 0).last_line; \
- (Current).first_column = (Current).last_column = \
- YYRHSLOC (Rhs, 0).last_column; \
- } \
- while (YYID (0))
-#endif
-
-
-/* YY_LOCATION_PRINT -- Print the location on the stream.
- This macro was not mandated originally: define only if we know
- we won't break user code: when these are the locations we know. */
-
-#ifndef YY_LOCATION_PRINT
-# if YYLTYPE_IS_TRIVIAL
-# define YY_LOCATION_PRINT(File, Loc) \
- fprintf (File, "%d.%d-%d.%d", \
- (Loc).first_line, (Loc).first_column, \
- (Loc).last_line, (Loc).last_column)
-# else
-# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
-# endif
-#endif
-
-
-/* YYLEX -- calling `yylex' with the right arguments. */
-
-#ifdef YYLEX_PARAM
-# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
-#else
-# define YYLEX yylex (&yylval, &yylloc, parser)
-#endif
-
-/* Enable debugging if requested. */
-#if YYDEBUG
-
-# ifndef YYFPRINTF
-# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
-# define YYFPRINTF fprintf
-# endif
-
-# define YYDPRINTF(Args) \
-do { \
- if (yydebug) \
- YYFPRINTF Args; \
-} while (YYID (0))
-
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
-do { \
- if (yydebug) \
- { \
- YYFPRINTF (stderr, "%s ", Title); \
- yy_symbol_print (stderr, \
- Type, Value, Location, parser); \
- YYFPRINTF (stderr, "\n"); \
- } \
-} while (YYID (0))
-
-
-/*--------------------------------.
-| Print this symbol on YYOUTPUT. |
-`--------------------------------*/
-
-/*ARGSUSED*/
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static void
-yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, Lily_parser *parser)
-#else
-static void
-yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, parser)
- FILE *yyoutput;
- int yytype;
- YYSTYPE const * const yyvaluep;
- YYLTYPE const * const yylocationp;
- Lily_parser *parser;
-#endif
-{
- if (!yyvaluep)
- return;
- YYUSE (yylocationp);
- YYUSE (parser);
-# ifdef YYPRINT
- if (yytype < YYNTOKENS)
- YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
-# else
- YYUSE (yyoutput);
-# endif
- switch (yytype)
- {
- default:
- break;
- }
-}
-
-
-/*--------------------------------.
-| Print this symbol on YYOUTPUT. |
-`--------------------------------*/
-
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static void
-yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, Lily_parser *parser)
-#else
-static void
-yy_symbol_print (yyoutput, yytype, yyvaluep, yylocationp, parser)
- FILE *yyoutput;
- int yytype;
- YYSTYPE const * const yyvaluep;
- YYLTYPE const * const yylocationp;
- Lily_parser *parser;
-#endif
-{
- if (yytype < YYNTOKENS)
- YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
- else
- YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
-
- YY_LOCATION_PRINT (yyoutput, *yylocationp);
- YYFPRINTF (yyoutput, ": ");
- yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, parser);
- YYFPRINTF (yyoutput, ")");
-}
-
-/*------------------------------------------------------------------.
-| yy_stack_print -- Print the state stack from its BOTTOM up to its |
-| TOP (included). |
-`------------------------------------------------------------------*/
-
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static void
-yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
-#else
-static void
-yy_stack_print (bottom, top)
- yytype_int16 *bottom;
- yytype_int16 *top;
-#endif
-{
- YYFPRINTF (stderr, "Stack now");
- for (; bottom <= top; ++bottom)
- YYFPRINTF (stderr, " %d", *bottom);
- YYFPRINTF (stderr, "\n");
-}
-
-# define YY_STACK_PRINT(Bottom, Top) \
-do { \
- if (yydebug) \
- yy_stack_print ((Bottom), (Top)); \
-} while (YYID (0))
-
-
-/*------------------------------------------------.
-| Report that the YYRULE is going to be reduced. |
-`------------------------------------------------*/
-
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static void
-yy_reduce_print (YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule, Lily_parser *parser)
-#else
-static void
-yy_reduce_print (yyvsp, yylsp, yyrule, parser)
- YYSTYPE *yyvsp;
- YYLTYPE *yylsp;
- int yyrule;
- Lily_parser *parser;
-#endif
-{
- int yynrhs = yyr2[yyrule];
- int yyi;
- unsigned long int yylno = yyrline[yyrule];
- YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
- yyrule - 1, yylno);
- /* The symbols being reduced. */
- for (yyi = 0; yyi < yynrhs; yyi++)
- {
- fprintf (stderr, " $%d = ", yyi + 1);
- yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
- &(yyvsp[(yyi + 1) - (yynrhs)])
- , &(yylsp[(yyi + 1) - (yynrhs)]) , parser);
- fprintf (stderr, "\n");
- }
-}
-
-# define YY_REDUCE_PRINT(Rule) \
-do { \
- if (yydebug) \
- yy_reduce_print (yyvsp, yylsp, Rule, parser); \
-} while (YYID (0))
-
-/* Nonzero means print parse trace. It is left uninitialized so that
- multiple parsers can coexist. */
-int yydebug;
-#else /* !YYDEBUG */
-# define YYDPRINTF(Args)
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
-# define YY_STACK_PRINT(Bottom, Top)
-# define YY_REDUCE_PRINT(Rule)
-#endif /* !YYDEBUG */
-
-
-/* YYINITDEPTH -- initial size of the parser's stacks. */
-#ifndef YYINITDEPTH
-# define YYINITDEPTH 200
-#endif
-
-/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
- if the built-in stack extension method is used).
-
- Do not make this value too large; the results are undefined if
- YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
- evaluated with infinite-precision integer arithmetic. */
-
-#ifndef YYMAXDEPTH
-# define YYMAXDEPTH 10000
-#endif
-
-\f
-
-#if YYERROR_VERBOSE
-
-# ifndef yystrlen
-# if defined __GLIBC__ && defined _STRING_H
-# define yystrlen strlen
-# else
-/* Return the length of YYSTR. */
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static YYSIZE_T
-yystrlen (const char *yystr)
-#else
-static YYSIZE_T
-yystrlen (yystr)
- const char *yystr;
-#endif
-{
- YYSIZE_T yylen;
- for (yylen = 0; yystr[yylen]; yylen++)
- continue;
- return yylen;
-}
-# endif
-# endif
-
-# ifndef yystpcpy
-# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
-# define yystpcpy stpcpy
-# else
-/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
- YYDEST. */
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static char *
-yystpcpy (char *yydest, const char *yysrc)
-#else
-static char *
-yystpcpy (yydest, yysrc)
- char *yydest;
- const char *yysrc;
-#endif
-{
- char *yyd = yydest;
- const char *yys = yysrc;
-
- while ((*yyd++ = *yys++) != '\0')
- continue;
-
- return yyd - 1;
-}
-# endif
-# endif
-
-# ifndef yytnamerr
-/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
- quotes and backslashes, so that it's suitable for yyerror. The
- heuristic is that double-quoting is unnecessary unless the string
- contains an apostrophe, a comma, or backslash (other than
- backslash-backslash). YYSTR is taken from yytname. If YYRES is
- null, do not copy; instead, return the length of what the result
- would have been. */
-static YYSIZE_T
-yytnamerr (char *yyres, const char *yystr)
-{
- if (*yystr == '"')
- {
- YYSIZE_T yyn = 0;
- char const *yyp = yystr;
-
- for (;;)
- switch (*++yyp)
- {
- case '\'':
- case ',':
- goto do_not_strip_quotes;
-
- case '\\':
- if (*++yyp != '\\')
- goto do_not_strip_quotes;
- /* Fall through. */
- default:
- if (yyres)
- yyres[yyn] = *yyp;
- yyn++;
- break;
-
- case '"':
- if (yyres)
- yyres[yyn] = '\0';
- return yyn;
- }
- do_not_strip_quotes: ;
- }
-
- if (! yyres)
- return yystrlen (yystr);
-
- return yystpcpy (yyres, yystr) - yyres;
-}
-# endif
-
-/* Copy into YYRESULT an error message about the unexpected token
- YYCHAR while in state YYSTATE. Return the number of bytes copied,
- including the terminating null byte. If YYRESULT is null, do not
- copy anything; just return the number of bytes that would be
- copied. As a special case, return 0 if an ordinary "syntax error"
- message will do. Return YYSIZE_MAXIMUM if overflow occurs during
- size calculation. */
-static YYSIZE_T
-yysyntax_error (char *yyresult, int yystate, int yychar)
-{
- int yyn = yypact[yystate];
-
- if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
- return 0;
- else
- {
- int yytype = YYTRANSLATE (yychar);
- YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
- YYSIZE_T yysize = yysize0;
- YYSIZE_T yysize1;
- int yysize_overflow = 0;
- enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
- char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
- int yyx;
-
-# if 0
- /* This is so xgettext sees the translatable formats that are
- constructed on the fly. */
- YY_("syntax error, unexpected %s");
- YY_("syntax error, unexpected %s, expecting %s");
- YY_("syntax error, unexpected %s, expecting %s or %s");
- YY_("syntax error, unexpected %s, expecting %s or %s or %s");
- YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
-# endif
- char *yyfmt;
- char const *yyf;
- static char const yyunexpected[] = "syntax error, unexpected %s";
- static char const yyexpecting[] = ", expecting %s";
- static char const yyor[] = " or %s";
- char yyformat[sizeof yyunexpected
- + sizeof yyexpecting - 1
- + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
- * (sizeof yyor - 1))];
- char const *yyprefix = yyexpecting;
-
- /* Start YYX at -YYN if negative to avoid negative indexes in
- YYCHECK. */
- int yyxbegin = yyn < 0 ? -yyn : 0;
-
- /* Stay within bounds of both yycheck and yytname. */
- int yychecklim = YYLAST - yyn + 1;
- int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
- int yycount = 1;
-
- yyarg[0] = yytname[yytype];
- yyfmt = yystpcpy (yyformat, yyunexpected);
-
- for (yyx = yyxbegin; yyx < yyxend; ++yyx)
- if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
- {
- if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
- {
- yycount = 1;
- yysize = yysize0;
- yyformat[sizeof yyunexpected - 1] = '\0';
- break;
- }
- yyarg[yycount++] = yytname[yyx];
- yysize1 = yysize + yytnamerr (0, yytname[yyx]);
- yysize_overflow |= (yysize1 < yysize);
- yysize = yysize1;
- yyfmt = yystpcpy (yyfmt, yyprefix);
- yyprefix = yyor;
- }
-
- yyf = YY_(yyformat);
- yysize1 = yysize + yystrlen (yyf);
- yysize_overflow |= (yysize1 < yysize);
- yysize = yysize1;
-
- if (yysize_overflow)
- return YYSIZE_MAXIMUM;
-
- if (yyresult)
- {
- /* Avoid sprintf, as that infringes on the user's name space.
- Don't have undefined behavior even if the translation
- produced a string with the wrong number of "%s"s. */
- char *yyp = yyresult;
- int yyi = 0;
- while ((*yyp = *yyf) != '\0')
- {
- if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
- {
- yyp += yytnamerr (yyp, yyarg[yyi++]);
- yyf += 2;
- }
- else
- {
- yyp++;
- yyf++;
- }
- }
- }
- return yysize;
- }
-}
-#endif /* YYERROR_VERBOSE */
-\f
-
-/*-----------------------------------------------.
-| Release the memory associated to this symbol. |
-`-----------------------------------------------*/
-
-/*ARGSUSED*/
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-static void
-yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, Lily_parser *parser)
-#else
-static void
-yydestruct (yymsg, yytype, yyvaluep, yylocationp, parser)
- const char *yymsg;
- int yytype;
- YYSTYPE *yyvaluep;
- YYLTYPE *yylocationp;
- Lily_parser *parser;
-#endif
-{
- YYUSE (yyvaluep);
- YYUSE (yylocationp);
- YYUSE (parser);
-
- if (!yymsg)
- yymsg = "Deleting";
- YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
-
- switch (yytype)
- {
-
- default:
- break;
- }
-}
-\f
-
-/* Prevent warnings from -Wmissing-prototypes. */
-
-#ifdef YYPARSE_PARAM
-#if defined __STDC__ || defined __cplusplus
-int yyparse (void *YYPARSE_PARAM);
-#else
-int yyparse ();
-#endif
-#else /* ! YYPARSE_PARAM */
-#if defined __STDC__ || defined __cplusplus
-int yyparse (Lily_parser *parser);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-
-
-
-
-
-
-/*----------.
-| yyparse. |
-`----------*/
-
-#ifdef YYPARSE_PARAM
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-int
-yyparse (void *YYPARSE_PARAM)
-#else
-int
-yyparse (YYPARSE_PARAM)
- void *YYPARSE_PARAM;
-#endif
-#else /* ! YYPARSE_PARAM */
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-int
-yyparse (Lily_parser *parser)
-#else
-int
-yyparse (parser)
- Lily_parser *parser;
-#endif
-#endif
-{
- /* The look-ahead symbol. */
-int yychar;
-
-/* The semantic value of the look-ahead symbol. */
-YYSTYPE yylval;
-
-/* Number of syntax errors so far. */
-int yynerrs;
-/* Location data for the look-ahead symbol. */
-YYLTYPE yylloc;
-
- int yystate;
- int yyn;
- int yyresult;
- /* Number of tokens to shift before error messages enabled. */
- int yyerrstatus;
- /* Look-ahead token as an internal (translated) token number. */
- int yytoken = 0;
-#if YYERROR_VERBOSE
- /* Buffer for error messages, and its allocated size. */
- char yymsgbuf[128];
- char *yymsg = yymsgbuf;
- YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
-#endif
-
- /* Three stacks and their tools:
- `yyss': related to states,
- `yyvs': related to semantic values,
- `yyls': related to locations.
-
- Refer to the stacks thru separate pointers, to allow yyoverflow
- to reallocate them elsewhere. */
-
- /* The state stack. */
- yytype_int16 yyssa[YYINITDEPTH];
- yytype_int16 *yyss = yyssa;
- yytype_int16 *yyssp;
-
- /* The semantic value stack. */
- YYSTYPE yyvsa[YYINITDEPTH];
- YYSTYPE *yyvs = yyvsa;
- YYSTYPE *yyvsp;
-
- /* The location stack. */
- YYLTYPE yylsa[YYINITDEPTH];
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
- /* The locations where the error started and ended. */
- YYLTYPE yyerror_range[2];
-
-#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
-
- YYSIZE_T yystacksize = YYINITDEPTH;
-
- /* The variables used to return semantic value and location from the
- action routines. */
- YYSTYPE yyval;
- YYLTYPE yyloc;
-
- /* The number of symbols on the RHS of the reduced rule.
- Keep to zero when no symbol should be popped. */
- int yylen = 0;
-
- YYDPRINTF ((stderr, "Starting parse\n"));
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss;
- yyvsp = yyvs;
- yylsp = yyls;
-#if YYLTYPE_IS_TRIVIAL
- /* Initialize the default location before parsing starts. */
- yylloc.first_line = yylloc.last_line = 1;
- yylloc.first_column = yylloc.last_column = 0;
-#endif
-
- goto yysetstate;
-
-/*------------------------------------------------------------.
-| yynewstate -- Push a new state, which is found in yystate. |
-`------------------------------------------------------------*/
- yynewstate:
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. So pushing a state here evens the stacks. */
- yyssp++;
-
- yysetstate:
- *yyssp = yystate;
-
- if (yyss + yystacksize - 1 <= yyssp)
- {
- /* Get the current used size of the three stacks, in elements. */
- YYSIZE_T yysize = yyssp - yyss + 1;
-
-#ifdef yyoverflow
- {
- /* Give user a chance to reallocate the stack. Use copies of
- these so that the &'s don't force the real ones into
- memory. */
- YYSTYPE *yyvs1 = yyvs;
- yytype_int16 *yyss1 = yyss;
- YYLTYPE *yyls1 = yyls;
-
- /* Each stack pointer address is followed by the size of the
- data in use in that stack, in bytes. This used to be a
- conditional around just the two extra args, but that might
- be undefined if yyoverflow is a macro. */
- yyoverflow (YY_("memory exhausted"),
- &yyss1, yysize * sizeof (*yyssp),
- &yyvs1, yysize * sizeof (*yyvsp),
- &yyls1, yysize * sizeof (*yylsp),
- &yystacksize);
- yyls = yyls1;
- yyss = yyss1;
- yyvs = yyvs1;
- }
-#else /* no yyoverflow */
-# ifndef YYSTACK_RELOCATE
- goto yyexhaustedlab;
-# else
- /* Extend the stack our own way. */
- if (YYMAXDEPTH <= yystacksize)
- goto yyexhaustedlab;
- yystacksize *= 2;
- if (YYMAXDEPTH < yystacksize)
- yystacksize = YYMAXDEPTH;
-
- {
- yytype_int16 *yyss1 = yyss;
- union yyalloc *yyptr =
- (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
- if (! yyptr)
- goto yyexhaustedlab;
- YYSTACK_RELOCATE (yyss);
- YYSTACK_RELOCATE (yyvs);
- YYSTACK_RELOCATE (yyls);
-# undef YYSTACK_RELOCATE
- if (yyss1 != yyssa)
- YYSTACK_FREE (yyss1);
- }
-# endif
-#endif /* no yyoverflow */
-
- yyssp = yyss + yysize - 1;
- yyvsp = yyvs + yysize - 1;
- yylsp = yyls + yysize - 1;
-
- YYDPRINTF ((stderr, "Stack size increased to %lu\n",
- (unsigned long int) yystacksize));
-
- if (yyss + yystacksize - 1 <= yyssp)
- YYABORT;
- }
-
- YYDPRINTF ((stderr, "Entering state %d\n", yystate));
-
- goto yybackup;
-
-/*-----------.
-| yybackup. |
-`-----------*/
-yybackup:
-
- /* Do appropriate processing given the current state. Read a
- look-ahead token if we need one and don't already have one. */
-
- /* First try to decide what to do without reference to look-ahead token. */
- yyn = yypact[yystate];
- if (yyn == YYPACT_NINF)
- goto yydefault;
-
- /* Not known => get a look-ahead token if don't already have one. */
-
- /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
- if (yychar == YYEMPTY)
- {
- YYDPRINTF ((stderr, "Reading a token: "));
- yychar = YYLEX;
- }
-
- if (yychar <= YYEOF)
- {
- yychar = yytoken = YYEOF;
- YYDPRINTF ((stderr, "Now at end of input.\n"));
- }
- else
- {
- yytoken = YYTRANSLATE (yychar);
- YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
- }
-
- /* If the proper action on seeing token YYTOKEN is to reduce or to
- detect an error, take that action. */
- yyn += yytoken;
- if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
- goto yydefault;
- yyn = yytable[yyn];
- if (yyn <= 0)
- {
- if (yyn == 0 || yyn == YYTABLE_NINF)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Count tokens shifted since error; after three, turn off error
- status. */
- if (yyerrstatus)
- yyerrstatus--;
-
- /* Shift the look-ahead token. */
- YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
-
- /* Discard the shifted token unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- yystate = yyn;
- *++yyvsp = yylval;
- *++yylsp = yylloc;
- goto yynewstate;
-
-
-/*-----------------------------------------------------------.
-| yydefault -- do the default action for the current state. |
-`-----------------------------------------------------------*/
-yydefault:
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
- goto yyreduce;
-
-
-/*-----------------------------.
-| yyreduce -- Do a reduction. |
-`-----------------------------*/
-yyreduce:
- /* yyn is the number of a rule to reduce with. */
- yylen = yyr2[yyn];
-
- /* If YYLEN is nonzero, implement the default value of the action:
- `$$ = $1'.
-
- Otherwise, the following line sets YYVAL to garbage.
- This behavior is undocumented and Bison
- users should not rely upon it. Assigning to YYVAL
- unconditionally makes the parser a bit smaller, and it avoids a
- GCC warning that YYVAL may be used uninitialized. */
- yyval = yyvsp[1-yylen];
-
- /* Default location. */
- YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
- YY_REDUCE_PRINT (yyn);
- switch (yyn)
- {
- case 3:
-#line 566 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_note_state (nn);
- ;}
- break;
-
- case 4:
-#line 569 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- parser->lexer_->set_identifier (ly_symbol2scm ("parseStringResult"), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 5:
-#line 575 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { ;}
- break;
-
- case 6:
-#line 576 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- ;}
- break;
-
- case 7:
-#line 578 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- ;}
- break;
-
- case 8:
-#line 580 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->error_level_ = 1;
- ;}
- break;
-
- case 9:
-#line 583 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->error_level_ = 1;
- ;}
- break;
-
- case 10:
-#line 590 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->add_scope (get_header (parser));
- ;}
- break;
-
- case 11:
-#line 592 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->set_identifier (ly_symbol2scm ("$defaultheader"), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 12:
-#line 595 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Book *book = (yyvsp[(1) - (1)].book);
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-book-handler");
- scm_call_2 (proc, parser->self_scm (), book->self_scm ());
- book->unprotect ();
- ;}
- break;
-
- case 13:
-#line 601 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Book *bookpart = (yyvsp[(1) - (1)].book);
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-bookpart-handler");
- scm_call_2 (proc, parser->self_scm (), bookpart->self_scm ());
- bookpart->unprotect ();
- ;}
- break;
-
- case 14:
-#line 607 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Score *score = (yyvsp[(1) - (1)].score);
-
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-score-handler");
- scm_call_2 (proc, parser->self_scm (), score->self_scm ());
- score->unprotect ();
- ;}
- break;
-
- case 15:
-#line 614 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *music = unsmob_music ((yyvsp[(1) - (1)].scm));
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-music-handler");
- scm_call_2 (proc, parser->self_scm (), music->self_scm ());
- ;}
- break;
-
- case 16:
-#line 619 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-text-handler");
- scm_call_2 (proc, parser->self_scm (), scm_list_1 ((yyvsp[(1) - (1)].scm)));
- ;}
- break;
-
- case 17:
-#line 623 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("toplevel-text-handler");
- scm_call_2 (proc, parser->self_scm (), (yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 18:
-#line 627 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM id = SCM_EOL;
- Output_def * od = (yyvsp[(1) - (1)].outputdef);
-
- if ((yyvsp[(1) - (1)].outputdef)->c_variable ("is-paper") == SCM_BOOL_T)
- id = ly_symbol2scm ("$defaultpaper");
- else if ((yyvsp[(1) - (1)].outputdef)->c_variable ("is-midi") == SCM_BOOL_T)
- id = ly_symbol2scm ("$defaultmidi");
- else if ((yyvsp[(1) - (1)].outputdef)->c_variable ("is-layout") == SCM_BOOL_T)
- id = ly_symbol2scm ("$defaultlayout");
-
- parser->lexer_->set_identifier (id, od->self_scm ());
- od->unprotect();
- ;}
- break;
-
- case 19:
-#line 645 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = parser->lexer_->eval_scm_token ((yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 27:
-#line 659 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].score)->self_scm ();
- (yyvsp[(1) - (1)].score)->unprotect ();
- ;}
- break;
-
- case 29:
-#line 665 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].book)->self_scm ();
- (yyvsp[(1) - (1)].book)->unprotect ();
- ;}
- break;
-
- case 30:
-#line 670 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].book)->self_scm ();
- (yyvsp[(1) - (1)].book)->unprotect ();
- ;}
- break;
-
- case 31:
-#line 675 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].outputdef)->self_scm ();
- (yyvsp[(1) - (1)].outputdef)->unprotect ();
- ;}
- break;
-
- case 37:
-#line 695 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("music-function", (yyloc),
- (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 38:
-#line 703 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("void-music", (yyloc));
- ;}
- break;
-
- case 40:
-#line 707 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyvsp[(3) - (3)].scm) = scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL);
- if (unsmob_music ((yyvsp[(2) - (3)].scm)))
- (yyvsp[(3) - (3)].scm) = scm_cons ((yyvsp[(2) - (3)].scm), (yyvsp[(3) - (3)].scm));
- if (unsmob_music ((yyvsp[(1) - (3)].scm)))
- (yyvsp[(3) - (3)].scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- (yyval.scm) = MAKE_SYNTAX ("sequential-music", (yyloc), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 41:
-#line 715 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->error_level_ = 1;
- ;}
- break;
-
- case 42:
-#line 718 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->error_level_ = 1;
- ;}
- break;
-
- case 44:
-#line 726 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
-
- ;}
- break;
-
- case 45:
-#line 732 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = parser->lexer_->remove_scope ();
- ;}
- break;
-
- case 46:
-#line 741 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 47:
-#line 742 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 48:
-#line 746 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->set_identifier ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 49:
-#line 749 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM path = scm_cons (scm_string_to_symbol ((yyvsp[(1) - (4)].scm)), (yyvsp[(2) - (4)].scm));
- parser->lexer_->set_identifier (path, (yyvsp[(4) - (4)].scm));
- ;
-/*
- TODO: devise standard for protection in parser.
-
- The parser stack lives on the C-stack, which means that
-all objects can be unprotected as soon as they're here.
-
-*/
- ;}
- break;
-
- case 50:
-#line 761 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { ;}
- break;
-
- case 51:
-#line 766 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].score)->self_scm ();
- (yyvsp[(1) - (1)].score)->unprotect ();
- ;}
- break;
-
- case 52:
-#line 770 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].book)->self_scm ();
- (yyvsp[(1) - (1)].book)->unprotect ();
- ;}
- break;
-
- case 53:
-#line 774 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].book)->self_scm ();
- (yyvsp[(1) - (1)].book)->unprotect ();
- ;}
- break;
-
- case 54:
-#line 778 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].outputdef)->self_scm ();
- (yyvsp[(1) - (1)].outputdef)->unprotect ();
- ;}
- break;
-
- case 55:
-#line 782 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 56:
-#line 785 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 57:
-#line 788 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 58:
-#line 791 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 59:
-#line 794 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 60:
-#line 797 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 61:
-#line 800 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 62:
-#line 803 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 63:
-#line 806 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 64:
-#line 809 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 65:
-#line 816 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(3) - (4)].scm);
- ;}
- break;
-
- case 68:
-#line 828 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_music ((yyvsp[(1) - (1)].scm))) {
- SCM proc = parser->lexer_->lookup_identifier ("context-mod-music-handler");
- (yyvsp[(1) - (1)].scm) = scm_call_2 (proc, parser->self_scm (), (yyvsp[(1) - (1)].scm));
- }
- if (unsmob_context_mod ((yyvsp[(1) - (1)].scm)))
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- else {
- parser->parser_error ((yylsp[(1) - (1)]), _ ("not a context mod"));
- }
- ;}
- break;
-
- case 69:
-#line 843 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = Context_def::make_scm ();
- unsmob_context_def ((yyval.scm))->origin ()->set_spot ((yyloc));
- ;}
- break;
-
- case 70:
-#line 847 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- unsmob_context_def ((yyval.scm))->origin ()->set_spot ((yyloc));
- ;}
- break;
-
- case 71:
-#line 851 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- unsmob_context_def ((yyval.scm))->add_context_mod ((yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 72:
-#line 854 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_def *td = unsmob_context_def ((yyval.scm));
- SCM new_mods = unsmob_context_mod ((yyvsp[(2) - (2)].scm))->get_mods ();
- for (SCM m = new_mods; scm_is_pair (m); m = scm_cdr (m)) {
- td->add_context_mod (scm_car (m));
- }
- ;}
- break;
-
- case 73:
-#line 861 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_def *td = unsmob_context_def ((yyval.scm));
- SCM new_mods = unsmob_context_mod ((yyvsp[(2) - (2)].scm))->get_mods ();
- for (SCM m = new_mods; scm_is_pair (m); m = scm_cdr (m)) {
- td->add_context_mod (scm_car (m));
- }
- ;}
- break;
-
- case 74:
-#line 873 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = (yyvsp[(3) - (4)].book);
- pop_paper (parser);
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), SCM_BOOL_F);
- ;}
- break;
-
- case 75:
-#line 884 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = new Book;
- init_papers (parser);
- (yyval.book)->origin ()->set_spot ((yyloc));
- (yyval.book)->paper_ = dynamic_cast<Output_def*> (unsmob_output_def (parser->lexer_->lookup_identifier ("$defaultpaper"))->clone ());
- (yyval.book)->paper_->unprotect ();
- push_paper (parser, (yyval.book)->paper_);
- (yyval.book)->header_ = get_header (parser);
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), (yyval.book)->self_scm ());
- ;}
- break;
-
- case 76:
-#line 894 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = unsmob_book ((yyvsp[(1) - (1)].scm));
- (yyval.book)->protect ();
- (yyval.book)->origin ()->set_spot ((yyloc));
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), (yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 77:
-#line 900 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book)->paper_ = (yyvsp[(2) - (2)].outputdef);
- (yyvsp[(2) - (2)].outputdef)->unprotect ();
- set_paper (parser, (yyvsp[(2) - (2)].outputdef));
- ;}
- break;
-
- case 78:
-#line 905 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Book *bookpart = (yyvsp[(2) - (2)].book);
- SCM proc = parser->lexer_->lookup_identifier ("book-bookpart-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), bookpart->self_scm ());
- bookpart->unprotect ();
- ;}
- break;
-
- case 79:
-#line 911 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Score *score = (yyvsp[(2) - (2)].score);
- SCM proc = parser->lexer_->lookup_identifier ("book-score-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), score->self_scm ());
- score->unprotect ();
- ;}
- break;
-
- case 80:
-#line 917 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *music = unsmob_music ((yyvsp[(2) - (2)].scm));
- SCM proc = parser->lexer_->lookup_identifier ("book-music-handler");
- scm_call_3 (proc, parser->self_scm (), (yyval.book)->self_scm (), music->self_scm ());
- ;}
- break;
-
- case 81:
-#line 922 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("book-text-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), scm_list_1 ((yyvsp[(2) - (2)].scm)));
- ;}
- break;
-
- case 82:
-#line 926 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("book-text-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 83:
-#line 931 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->add_scope ((yyvsp[(1) - (1)].book)->header_);
- ;}
- break;
-
- case 85:
-#line 934 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { ;}
- break;
-
- case 86:
-#line 935 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book)->paper_ = 0;
- (yyval.book)->scores_ = SCM_EOL;
- (yyval.book)->bookparts_ = SCM_EOL;
- ;}
- break;
-
- case 87:
-#line 943 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = (yyvsp[(3) - (4)].book);
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), SCM_BOOL_F);
- ;}
- break;
-
- case 88:
-#line 950 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = new Book;
- (yyval.book)->origin ()->set_spot ((yyloc));
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), (yyval.book)->self_scm ());
- ;}
- break;
-
- case 89:
-#line 955 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book) = unsmob_book ((yyvsp[(1) - (1)].scm));
- (yyval.book)->protect ();
- (yyval.book)->origin ()->set_spot ((yyloc));
- parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), (yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 90:
-#line 961 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book)->paper_ = (yyvsp[(2) - (2)].outputdef);
- (yyvsp[(2) - (2)].outputdef)->unprotect ();
- ;}
- break;
-
- case 91:
-#line 965 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Score *score = (yyvsp[(2) - (2)].score);
- SCM proc = parser->lexer_->lookup_identifier ("bookpart-score-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), score->self_scm ());
- score->unprotect ();
- ;}
- break;
-
- case 92:
-#line 971 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *music = unsmob_music ((yyvsp[(2) - (2)].scm));
- SCM proc = parser->lexer_->lookup_identifier ("bookpart-music-handler");
- scm_call_3 (proc, parser->self_scm (), (yyval.book)->self_scm (), music->self_scm ());
- ;}
- break;
-
- case 93:
-#line 976 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("bookpart-text-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), scm_list_1 ((yyvsp[(2) - (2)].scm)));
- ;}
- break;
-
- case 94:
-#line 980 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM proc = parser->lexer_->lookup_identifier ("bookpart-text-handler");
- scm_call_2 (proc, (yyval.book)->self_scm (), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 95:
-#line 985 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!ly_is_module ((yyvsp[(1) - (1)].book)->header_))
- (yyvsp[(1) - (1)].book)->header_ = ly_make_module (false);
- parser->lexer_->add_scope ((yyvsp[(1) - (1)].book)->header_);
- ;}
- break;
-
- case 97:
-#line 990 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { ;}
- break;
-
- case 98:
-#line 991 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.book)->paper_ = 0;
- (yyval.book)->scores_ = SCM_EOL;
- ;}
- break;
-
- case 99:
-#line 998 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.score) = (yyvsp[(3) - (4)].score);
- ;}
- break;
-
- case 100:
-#line 1004 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM m = (yyvsp[(1) - (1)].scm);
- SCM scorify = ly_lily_module_constant ("scorify-music");
- SCM score = scm_call_2 (scorify, m, parser->self_scm ());
-
- // pass ownernship to C++ again.
- (yyval.score) = unsmob_score (score);
- (yyval.score)->protect ();
- (yyval.score)->origin ()->set_spot ((yyloc));
- ;}
- break;
-
- case 101:
-#line 1014 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.score) = unsmob_score ((yyvsp[(1) - (1)].scm));
- (yyval.score)->protect ();
- (yyval.score)->origin ()->set_spot ((yyloc));
- ;}
- break;
-
- case 102:
-#line 1020 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!ly_is_module ((yyvsp[(1) - (1)].score)->get_header ()))
- (yyvsp[(1) - (1)].score)->set_header (ly_make_module (false));
- parser->lexer_->add_scope ((yyvsp[(1) - (1)].score)->get_header ());
- ;}
- break;
-
- case 104:
-#line 1025 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if ((yyvsp[(2) - (2)].outputdef)->lookup_variable (ly_symbol2scm ("is-paper")) == SCM_BOOL_T)
- {
- parser->parser_error ((yylsp[(2) - (2)]), _("\\paper cannot be used in \\score, use \\layout instead"));
-
- }
- else
- {
- (yyval.score)->add_output_def ((yyvsp[(2) - (2)].outputdef));
- }
- (yyvsp[(2) - (2)].outputdef)->unprotect ();
- ;}
- break;
-
- case 105:
-#line 1037 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.score)->error_found_ = true;
- ;}
- break;
-
- case 106:
-#line 1048 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.outputdef) = (yyvsp[(1) - (1)].outputdef);
- if ((yyval.outputdef)->lookup_variable (ly_symbol2scm ("is-paper")) != SCM_BOOL_T)
- {
- parser->parser_error ((yylsp[(1) - (1)]), _ ("need \\paper for paper block"));
- (yyvsp[(1) - (1)].outputdef)->unprotect ();
- (yyval.outputdef) = get_paper (parser);
- }
- ;}
- break;
-
- case 107:
-#line 1061 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.outputdef) = (yyvsp[(1) - (2)].outputdef);
-
- parser->lexer_->remove_scope ();
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 108:
-#line 1070 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.outputdef) = get_paper (parser);
- (yyval.outputdef)->input_origin_ = (yyloc);
- parser->lexer_->add_scope ((yyval.outputdef)->scope_);
- ;}
- break;
-
- case 109:
-#line 1075 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Output_def *p = get_midi (parser);
- (yyval.outputdef) = p;
- parser->lexer_->add_scope (p->scope_);
- ;}
- break;
-
- case 110:
-#line 1080 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Output_def *p = get_layout (parser);
-
- parser->lexer_->add_scope (p->scope_);
- (yyval.outputdef) = p;
- ;}
- break;
-
- case 111:
-#line 1089 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->push_initial_state ();
- (yyval.outputdef) = (yyvsp[(1) - (1)].outputdef);
- ;}
- break;
-
- case 112:
-#line 1102 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 113:
-#line 1106 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 114:
-#line 1109 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(4) - (5)].scm);
- ;}
- break;
-
- case 115:
-#line 1115 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.outputdef) = (yyvsp[(1) - (2)].outputdef);
- (yyval.outputdef)->input_origin_.set_spot ((yyloc));
- ;}
- break;
-
- case 116:
-#line 1119 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyvsp[(1) - (3)].outputdef)->unprotect ();
-
- Output_def *o = unsmob_output_def ((yyvsp[(3) - (3)].scm));
- o->input_origin_.set_spot ((yyloc));
- (yyval.outputdef) = o;
- (yyval.outputdef)->protect ();
- parser->lexer_->remove_scope ();
- parser->lexer_->add_scope (o->scope_);
- ;}
- break;
-
- case 117:
-#line 1129 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
-
- ;}
- break;
-
- case 118:
-#line 1133 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_note_state (nn);
- ;}
- break;
-
- case 119:
-#line 1137 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_context_def ((yyvsp[(3) - (3)].scm)))
- assign_context_def ((yyval.outputdef), (yyvsp[(3) - (3)].scm));
- else {
-
- SCM proc = parser->lexer_->lookup_identifier
- ("output-def-music-handler");
- scm_call_3 (proc, parser->self_scm (),
- (yyvsp[(1) - (3)].outputdef)->self_scm (), (yyvsp[(3) - (3)].scm));
- }
- ;}
- break;
-
- case 120:
-#line 1148 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
-
- ;}
- break;
-
- case 121:
-#line 1154 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("tempo", (yyloc), SCM_EOL, (yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm));
- ;}
- break;
-
- case 122:
-#line 1157 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("tempo", (yyloc), (yyvsp[(2) - (5)].scm), (yyvsp[(3) - (5)].scm), (yyvsp[(5) - (5)].scm));
- ;}
- break;
-
- case 123:
-#line 1160 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("tempo", (yyloc), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 124:
-#line 1169 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 125:
-#line 1172 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_music ((yyvsp[(2) - (2)].scm)))
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 126:
-#line 1176 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = MY_MAKE_MUSIC("Music", (yyloc));
- // ugh. code dup
- m->set_property ("error-found", SCM_BOOL_T);
- (yyval.scm) = scm_cons (m->self_scm (), (yyvsp[(1) - (2)].scm));
- m->unprotect (); /* UGH */
- ;}
- break;
-
- case 127:
-#line 1187 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(2) - (3)].scm), SCM_EOL);
- ;}
- break;
-
- case 131:
-#line 1199 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_music ((yyvsp[(1) - (1)].scm))
- || scm_is_eq ((yyvsp[(1) - (1)].scm), SCM_UNSPECIFIED))
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- else
- {
- (yyloc).warning (_ ("Ignoring non-music expression"));
- (yyval.scm) = SCM_UNSPECIFIED;
- }
- ;}
- break;
-
- case 132:
-#line 1213 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_pitch ((yyvsp[(1) - (1)].scm))) {
- Music *n = MY_MAKE_MUSIC ("NoteEvent", (yylsp[(1) - (1)]));
- n->set_property ("pitch", (yyvsp[(1) - (1)].scm));
- n->set_property ("duration",
- parser->default_duration_.smobbed_copy ());
- (yyval.scm) = n->unprotect ();
- }
- ;}
- break;
-
- case 137:
-#line 1233 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("repeat", (yyloc), (yyvsp[(2) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(4) - (4)].scm), SCM_EOL);
- ;}
- break;
-
- case 138:
-#line 1237 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("repeat", (yyloc), (yyvsp[(2) - (6)].scm), (yyvsp[(3) - (6)].scm), (yyvsp[(4) - (6)].scm), (yyvsp[(6) - (6)].scm));
- ;}
- break;
-
- case 139:
-#line 1243 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("sequential-music", (yyloc), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 140:
-#line 1246 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("sequential-music", (yyloc), (yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 141:
-#line 1252 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("simultaneous-music", (yyloc), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 142:
-#line 1255 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("simultaneous-music", (yyloc), scm_reverse_x ((yyvsp[(2) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 146:
-#line 1267 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_initial_state (); ;}
- break;
-
- case 147:
-#line 1268 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- (yyval.scm) = (yyvsp[(4) - (5)].scm);
- ;}
- break;
-
- case 148:
-#line 1273 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 149:
-#line 1277 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 150:
-#line 1281 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (unsmob_context_mod ((yyvsp[(2) - (2)].scm)))
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- else {
- parser->parser_error ((yylsp[(2) - (2)]), _ ("not a context mod"));
- (yyval.scm) = Context_mod ().smobbed_copy ();
- }
- ;}
- break;
-
- case 151:
-#line 1292 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 152:
-#line 1296 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 153:
-#line 1302 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = Context_mod ().smobbed_copy ();
- ;}
- break;
-
- case 154:
-#line 1305 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- unsmob_context_mod ((yyvsp[(1) - (2)].scm))->add_context_mod ((yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 155:
-#line 1308 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_mod *md = unsmob_context_mod ((yyvsp[(2) - (2)].scm));
- if (md)
- unsmob_context_mod ((yyvsp[(1) - (2)].scm))->add_context_mods (md->get_mods ());
- ;}
- break;
-
- case 156:
-#line 1313 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- unsmob_context_mod ((yyvsp[(1) - (2)].scm))->add_context_mods
- (unsmob_context_mod ((yyvsp[(2) - (2)].scm))->get_mods ());
- ;}
- break;
-
- case 160:
-#line 1328 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = FINISH_MAKE_SYNTAX ((yyvsp[(1) - (2)].scm), (yyloc), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 165:
-#line 1341 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 166:
-#line 1342 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 168:
-#line 1352 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 169:
-#line 1356 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 170:
-#line 1360 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 171:
-#line 1367 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 172:
-#line 1370 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 173:
-#line 1374 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 174:
-#line 1378 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 175:
-#line 1382 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), n)))
- (yyval.scm) = scm_cons (n, (yyvsp[(3) - (5)].scm));
- else {
- Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[(5) - (5)]));
- t->set_property ("digit", (yyvsp[(5) - (5)].scm));
- (yyval.scm) = t->unprotect ();
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), (yyval.scm))))
- (yyval.scm) = scm_cons ((yyval.scm), (yyvsp[(3) - (5)].scm));
- else
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (5)]), n, (yyvsp[(3) - (5)].scm), (yyvsp[(2) - (5)].scm));
- }
-
- ;}
- break;
-
- case 176:
-#line 1398 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (5)]),
- scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED),
- (yyvsp[(3) - (5)].scm), (yyvsp[(2) - (5)].scm));
- ;}
- break;
-
- case 177:
-#line 1404 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (5)]),
- scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED),
- (yyvsp[(3) - (5)].scm), (yyvsp[(2) - (5)].scm));
- ;}
- break;
-
- case 179:
-#line 1414 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 180:
-#line 1418 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 182:
-#line 1426 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 183:
-#line 1430 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), (yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm), (yyvsp[(2) - (4)].scm));
- ;}
- break;
-
- case 188:
-#line 1447 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (SCM_IDENTIFIER, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 189:
-#line 1457 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (EVENT_IDENTIFIER, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 190:
-#line 1467 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- // There is no point interpreting a lyrics string as
- // an event, since we don't allow music possibly
- // followed by durations or postevent into closed
- // music, and we only accept closed music in optional
- // arguments at the moment. If this changes, more
- // complex schemes might become interesting here as
- // well: see how we do this at the mandatory argument
- // point.
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (LYRICS_STRING, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 191:
-#line 1484 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = (yyvsp[(3) - (4)].scm);
- MYREPARSE ((yylsp[(4) - (4)]), (yyvsp[(2) - (4)].scm), UNSIGNED, (yyvsp[(4) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (UNSIGNED, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 192:
-#line 1495 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = (yyvsp[(3) - (4)].scm);
- MYREPARSE ((yylsp[(4) - (4)]), (yyvsp[(2) - (4)].scm), REAL, (yyvsp[(4) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (REAL, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 193:
-#line 1506 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (NUMBER_IDENTIFIER, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 194:
-#line 1516 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm))))
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- } else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].scm)), (yyvsp[(3) - (4)].scm));
- MYBACKUP (FRACTION, (yyvsp[(4) - (4)].scm), (yylsp[(4) - (4)]));
- }
- ;}
- break;
-
- case 195:
-#line 1526 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), n))) {
- (yyval.scm) = (yyvsp[(3) - (5)].scm);
- MYREPARSE ((yylsp[(5) - (5)]), (yyvsp[(2) - (5)].scm), REAL, n);
- } else {
- Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[(5) - (5)]));
- t->set_property ("digit", (yyvsp[(5) - (5)].scm));
- (yyval.scm) = t->unprotect ();
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), (yyval.scm))))
- (yyval.scm) = scm_cons ((yyval.scm), (yyvsp[(3) - (5)].scm));
- else {
- (yyval.scm) = scm_cons (loc_on_music ((yylsp[(3) - (5)]), (yyvsp[(1) - (5)].scm)), (yyvsp[(3) - (5)].scm));
- MYBACKUP (UNSIGNED, (yyvsp[(5) - (5)].scm), (yylsp[(5) - (5)]));
- parser->lexer_->push_extra_token ('-');
- }
- }
-
- ;}
- break;
-
- case 196:
-#line 1546 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), n))) {
- MYREPARSE ((yylsp[(5) - (5)]), (yyvsp[(2) - (5)].scm), REAL, n);
- (yyval.scm) = (yyvsp[(3) - (5)].scm);
- } else {
- MYBACKUP (REAL, n, (yylsp[(5) - (5)]));
- }
- ;}
- break;
-
- case 197:
-#line 1556 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(5) - (5)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(2) - (5)].scm), n))) {
- (yyval.scm) = scm_cons (n, (yyvsp[(3) - (5)].scm));
- } else {
- MYBACKUP (NUMBER_IDENTIFIER, n, (yylsp[(5) - (5)]));
- }
- ;}
- break;
-
- case 198:
-#line 1565 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 199:
-#line 1569 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 200:
-#line 1573 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (4)].scm), (yyvsp[(3) - (4)].scm));
- MYBACKUP(0, SCM_UNDEFINED, (yylsp[(3) - (4)]));
- ;}
- break;
-
- case 201:
-#line 1578 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 202:
-#line 1583 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 206:
-#line 1597 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 207:
-#line 1602 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 208:
-#line 1607 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 209:
-#line 1612 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 212:
-#line 1622 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- // We check how the predicate thinks about a lyrics
- // event or about a markup. If it accepts neither, we
- // backup the original token. Otherwise we commit to
- // taking the token. Depending on what the predicate
- // is willing to accept, we interpret as a string, as
- // a lyric event, or ambiguously (meaning that if
- // something looking like a duration or post event
- // follows, we take the event, otherwise the string).
- SCM lyric_event = MAKE_SYNTAX ("lyric-event", (yylsp[(3) - (3)]), (yyvsp[(3) - (3)].scm),
- parser->default_duration_.smobbed_copy ());
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm))))
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (3)].scm), lyric_event)))
- {
- (yyval.scm) = (yyvsp[(2) - (3)].scm);
- MYREPARSE ((yylsp[(3) - (3)]), (yyvsp[(1) - (3)].scm), LYRICS_STRING, (yyvsp[(3) - (3)].scm));
- } else {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm));
- }
- else if (scm_is_true (scm_call_1 ((yyvsp[(1) - (3)].scm), lyric_event)))
- {
- (yyval.scm) = (yyvsp[(2) - (3)].scm);
- MYREPARSE ((yylsp[(3) - (3)]), (yyvsp[(1) - (3)].scm), LYRIC_ELEMENT, (yyvsp[(3) - (3)].scm));
- } else {
- // This is going to flag a syntax error, we
- // know the predicate to be false.
- check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- }
- ;}
- break;
-
- case 213:
-#line 1653 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- // This should never be false
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 214:
-#line 1662 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (4)].scm), n))) {
- (yyval.scm) = (yyvsp[(2) - (4)].scm);
- MYREPARSE ((yylsp[(4) - (4)]), (yyvsp[(1) - (4)].scm), REAL, n);
- } else {
- Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[(4) - (4)]));
- t->set_property ("digit", (yyvsp[(4) - (4)].scm));
- (yyval.scm) = t->unprotect ();
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (4)].scm), (yyval.scm))))
- (yyval.scm) = scm_cons ((yyval.scm), (yyvsp[(2) - (4)].scm));
- else
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (4)]), n, (yyvsp[(2) - (4)].scm), (yyvsp[(1) - (4)].scm));
- }
-
- ;}
- break;
-
- case 215:
-#line 1679 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (4)].scm);
- SCM n = scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED);
- MYREPARSE ((yylsp[(4) - (4)]), (yyvsp[(1) - (4)].scm), REAL, n);
- ;}
- break;
-
- case 216:
-#line 1685 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED);
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(4) - (4)]), n, (yyvsp[(2) - (4)].scm), (yyvsp[(1) - (4)].scm));
- ;}
- break;
-
- case 217:
-#line 1690 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]), (yyvsp[(3) - (3)].scm), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 221:
-#line 1703 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 222:
-#line 1708 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 223:
-#line 1713 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM n = scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED);
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (4)].scm), n))) {
- (yyval.scm) = scm_cons (n, (yyvsp[(2) - (4)].scm));
- } else {
- Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[(4) - (4)]));
- t->set_property ("digit", (yyvsp[(4) - (4)].scm));
- (yyval.scm) = t->unprotect ();
- if (scm_is_true (scm_call_1 ((yyvsp[(1) - (4)].scm), (yyval.scm))))
- (yyval.scm) = scm_cons ((yyval.scm), (yyvsp[(2) - (4)].scm));
- else
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (4)]), n, (yyvsp[(2) - (4)].scm), (yyvsp[(1) - (4)].scm));
- }
-
- ;}
- break;
-
- case 224:
-#line 1729 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (4)]),
- scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED),
- (yyvsp[(2) - (4)].scm), (yyvsp[(1) - (4)].scm));
- ;}
- break;
-
- case 225:
-#line 1735 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (4)]),
- scm_difference ((yyvsp[(4) - (4)].scm), SCM_UNDEFINED),
- (yyvsp[(2) - (4)].scm), (yyvsp[(1) - (4)].scm));
- ;}
- break;
-
- case 226:
-#line 1741 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 227:
-#line 1746 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 228:
-#line 1751 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]),
- (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 231:
-#line 1761 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 232:
-#line 1765 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 235:
-#line 1774 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 236:
-#line 1778 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 242:
-#line 1795 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("music-function", (yyloc),
- (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 243:
-#line 1802 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 244:
-#line 1805 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 245:
-#line 1808 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 246:
-#line 1811 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 247:
-#line 1814 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 248:
-#line 1817 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (4)].scm), (yyvsp[(3) - (4)].scm));
- ;}
- break;
-
- case 249:
-#line 1823 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("music-function", (yyloc),
- (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 250:
-#line 1831 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = SCM_EOL; ;}
- break;
-
- case 251:
-#line 1832 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 253:
-#line 1839 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 254:
-#line 1840 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 255:
-#line 1842 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = FINISH_MAKE_SYNTAX ((yyvsp[(1) - (2)].scm), (yyloc), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 256:
-#line 1848 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_mod *ctxmod = unsmob_context_mod ((yyvsp[(4) - (4)].scm));
- SCM mods = SCM_EOL;
- if (ctxmod)
- mods = ctxmod->get_mods ();
- (yyval.scm) = START_MAKE_SYNTAX ("context-specification", (yyvsp[(2) - (4)].scm), (yyvsp[(3) - (4)].scm), mods, SCM_BOOL_F);
- ;}
- break;
-
- case 257:
-#line 1855 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_mod *ctxmod = unsmob_context_mod ((yyvsp[(4) - (4)].scm));
- SCM mods = SCM_EOL;
- if (ctxmod)
- mods = ctxmod->get_mods ();
- (yyval.scm) = START_MAKE_SYNTAX ("context-specification", (yyvsp[(2) - (4)].scm), (yyvsp[(3) - (4)].scm), mods, SCM_BOOL_T);
- ;}
- break;
-
- case 258:
-#line 1865 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if ((yyvsp[(1) - (2)].scm) == ly_symbol2scm ("chords"))
- {
- (yyval.scm) = MAKE_SYNTAX ("unrelativable-music", (yyloc), (yyvsp[(2) - (2)].scm));
- }
- else
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- }
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 259:
-#line 1876 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Context_mod *ctxmod = unsmob_context_mod ((yyvsp[(2) - (3)].scm));
- SCM mods = SCM_EOL;
- if (ctxmod)
- mods = ctxmod->get_mods ();
- (yyval.scm) = MAKE_SYNTAX ("context-specification", (yyloc), (yyvsp[(1) - (3)].scm), SCM_EOL, mods, SCM_BOOL_T, (yyvsp[(3) - (3)].scm));
- if ((yyvsp[(1) - (3)].scm) == ly_symbol2scm ("ChordNames"))
- {
- (yyval.scm) = MAKE_SYNTAX ("unrelativable-music", (yyloc), (yyval.scm));
- }
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 260:
-#line 1891 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_note_state (nn);
-
- (yyval.scm) = ly_symbol2scm ("notes");
- ;}
- break;
-
- case 261:
-#line 1898 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("drumPitchNames");
- parser->lexer_->push_note_state (nn);
-
- (yyval.scm) = ly_symbol2scm ("drums");
- ;}
- break;
-
- case 262:
-#line 1904 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->push_figuredbass_state ();
-
- (yyval.scm) = ly_symbol2scm ("figures");
- ;}
- break;
-
- case 263:
-#line 1909 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("chordmodifiers");
- parser->lexer_->chordmodifier_tab_ = alist_to_hashq (nn);
- nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_chord_state (nn);
- (yyval.scm) = ly_symbol2scm ("chords");
-
- ;}
- break;
-
- case 264:
-#line 1918 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_lyric_state ();
- (yyval.scm) = ly_symbol2scm ("lyrics");
- ;}
- break;
-
- case 265:
-#line 1924 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("drumPitchNames");
- parser->lexer_->push_note_state (nn);
-
- (yyval.scm) = ly_symbol2scm ("DrumStaff");
- ;}
- break;
-
- case 266:
-#line 1930 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->push_figuredbass_state ();
-
- (yyval.scm) = ly_symbol2scm ("FiguredBass");
- ;}
- break;
-
- case 267:
-#line 1935 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("chordmodifiers");
- parser->lexer_->chordmodifier_tab_ = alist_to_hashq (nn);
- nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_chord_state (nn);
- (yyval.scm) = ly_symbol2scm ("ChordNames");
- ;}
- break;
-
- case 268:
-#line 1943 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_lyric_state ();
- (yyval.scm) = ly_symbol2scm ("Lyrics");
- ;}
- break;
-
- case 269:
-#line 1949 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_lyric_state (); ;}
- break;
-
- case 270:
-#line 1951 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- /* Can also use music at the expensive of two S/Rs similar to
- \repeat \alternative */
- parser->lexer_->pop_state ();
-
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), SCM_EOL);
- ;}
- break;
-
- case 271:
-#line 1958 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->push_lyric_state ();
- ;}
- break;
-
- case 272:
-#line 1960 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- (yyval.scm) = scm_cons ((yyvsp[(4) - (4)].scm), (yyvsp[(1) - (4)].scm));
- ;}
- break;
-
- case 273:
-#line 1967 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("add-lyrics", (yyloc), (yyvsp[(1) - (2)].scm), scm_reverse_x ((yyvsp[(2) - (2)].scm), SCM_EOL));
- ;}
- break;
-
- case 274:
-#line 1970 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->push_lyric_state ();
- ;}
- break;
-
- case 275:
-#line 1972 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- parser->lexer_->pop_state ();
- (yyval.scm) = MAKE_SYNTAX ("lyric-combine", (yyloc), (yyvsp[(2) - (4)].scm), (yyvsp[(4) - (4)].scm));
- ;}
- break;
-
- case 276:
-#line 1979 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("context-change", (yyloc), scm_string_to_symbol ((yyvsp[(2) - (4)].scm)), (yyvsp[(4) - (4)].scm));
- ;}
- break;
-
- case 277:
-#line 1986 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (1)].scm), SCM_EOL);
- ;}
- break;
-
- case 278:
-#line 1989 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 279:
-#line 1995 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(1) - (1)].scm), SCM_EOL);
- ;}
- break;
-
- case 280:
-#line 2001 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_3 (ly_symbol2scm ("assign"),
- scm_string_to_symbol ((yyvsp[(1) - (3)].scm)), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 281:
-#line 2005 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 (ly_symbol2scm ("unset"),
- scm_string_to_symbol ((yyvsp[(2) - (2)].scm)));
- ;}
- break;
-
- case 282:
-#line 2009 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_append (scm_list_2 (scm_list_3 (ly_symbol2scm ("push"),
- scm_string_to_symbol ((yyvsp[(2) - (5)].scm)), (yyvsp[(5) - (5)].scm)),
- (yyvsp[(3) - (5)].scm)));
- ;}
- break;
-
- case 283:
-#line 2014 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_3 (ly_symbol2scm ("pop"),
- scm_string_to_symbol ((yyvsp[(2) - (3)].scm)), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 284:
-#line 2021 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("consists"); ;}
- break;
-
- case 285:
-#line 2022 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("remove"); ;}
- break;
-
- case 286:
-#line 2024 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("accepts"); ;}
- break;
-
- case 287:
-#line 2025 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("default-child"); ;}
- break;
-
- case 288:
-#line 2026 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("denies"); ;}
- break;
-
- case 289:
-#line 2028 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("alias"); ;}
- break;
-
- case 290:
-#line 2029 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("translator-type"); ;}
- break;
-
- case 291:
-#line 2030 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("description"); ;}
- break;
-
- case 292:
-#line 2031 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_symbol2scm ("context-name"); ;}
- break;
-
- case 293:
-#line 2035 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 294:
-#line 2036 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 ((yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 295:
-#line 2040 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!scm_is_string ((yyvsp[(2) - (2)].scm))
- && ly_symbol2scm ("consists") != (yyvsp[(1) - (2)].scm)
- && ly_symbol2scm ("remove") != (yyvsp[(1) - (2)].scm))
- {
- (yyval.scm) = SCM_EOL;
- parser->parser_error ((yylsp[(1) - (2)]), _ ("only \\consists and \\remove take non-string argument."));
- }
- else
- {
- (yyval.scm) = scm_list_2 ((yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- }
- ;}
- break;
-
- case 296:
-#line 2056 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!is_regular_identifier ((yyvsp[(1) - (1)].scm)))
- {
- (yyloc).error (_("Grob name should be alphanumeric"));
- }
-
- (yyval.scm) = scm_list_2 (ly_symbol2scm ("Bottom"),
- scm_string_to_symbol ((yyvsp[(1) - (1)].scm)));
- ;}
- break;
-
- case 297:
-#line 2065 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 (scm_string_to_symbol ((yyvsp[(1) - (3)].scm)),
- scm_string_to_symbol ((yyvsp[(3) - (3)].scm)));
- ;}
- break;
-
- case 298:
-#line 2072 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_append (scm_list_2 (scm_list_n (scm_car ((yyvsp[(2) - (5)].scm)),
- ly_symbol2scm ("OverrideProperty"),
- scm_cadr ((yyvsp[(2) - (5)].scm)),
- (yyvsp[(5) - (5)].scm), SCM_UNDEFINED),
- (yyvsp[(3) - (5)].scm)));
- ;}
- break;
-
- case 299:
-#line 2079 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_4 (scm_car ((yyvsp[(2) - (3)].scm)),
- ly_symbol2scm ("RevertProperty"),
- scm_cadr ((yyvsp[(2) - (3)].scm)),
- (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 300:
-#line 2085 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_4 (scm_car ((yyvsp[(2) - (4)].scm)),
- ly_symbol2scm ("PropertySet"),
- scm_cadr ((yyvsp[(2) - (4)].scm)),
- (yyvsp[(4) - (4)].scm));
- ;}
- break;
-
- case 301:
-#line 2091 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_3 (scm_car ((yyvsp[(2) - (2)].scm)),
- ly_symbol2scm ("PropertyUnset"),
- scm_cadr ((yyvsp[(2) - (2)].scm)));
- ;}
- break;
-
- case 302:
-#line 2099 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = LOWLEVEL_MAKE_SYNTAX (ly_lily_module_constant ("property-operation"), scm_cons2 (parser->self_scm (), make_input ((yyloc)), (yyvsp[(1) - (1)].scm)));
- ;}
- break;
-
- case 303:
-#line 2105 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 304:
-#line 2108 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 305:
-#line 2111 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_string_append (scm_list_2 ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm)));
- ;}
- break;
-
- case 306:
-#line 2116 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 307:
-#line 2119 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 308:
-#line 2122 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 317:
-#line 2143 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- // Let the rhythmic music iterator sort this mess out.
- if (scm_is_pair ((yyvsp[(2) - (2)].scm))) {
- if (unsmob_pitch ((yyvsp[(1) - (2)].scm))) {
- Music *n = MY_MAKE_MUSIC ("NoteEvent", (yylsp[(1) - (2)]));
- n->set_property ("pitch", (yyvsp[(1) - (2)].scm));
- n->set_property ("duration",
- parser->default_duration_.smobbed_copy ());
- (yyval.scm) = n->unprotect ();
- }
- unsmob_music ((yyval.scm))->set_property ("articulations",
- scm_reverse_x ((yyvsp[(2) - (2)].scm), SCM_EOL));
- }
- ;}
- break;
-
- case 318:
-#line 2157 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM elts = ly_append2 ((yyvsp[(1) - (2)].scm), scm_reverse_x ((yyvsp[(2) - (2)].scm), SCM_EOL));
-
- Input i;
- /* why is this giving wrong start location? -ns
- * i = @$; */
- i.set_location ((yylsp[(1) - (2)]), (yylsp[(2) - (2)]));
- (yyval.scm) = MAKE_SYNTAX ("event-chord", i, elts);
- ;}
- break;
-
- case 319:
-#line 2166 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Input i;
- i.set_location ((yylsp[(1) - (3)]), (yylsp[(3) - (3)]));
- (yyval.scm) = MAKE_SYNTAX ("repetition-chord", i,
- (yyvsp[(2) - (3)].scm), scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 320:
-#line 2172 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Input i;
- i.set_location ((yylsp[(1) - (3)]), (yylsp[(3) - (3)]));
- (yyval.scm) = MAKE_SYNTAX ("multi-measure-rest", i, (yyvsp[(2) - (3)].scm),
- scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 323:
-#line 2185 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = unsmob_music ((yyvsp[(1) - (3)].scm));
- SCM dur = unsmob_duration ((yyvsp[(2) - (3)].scm))->smobbed_copy ();
- SCM es = m->get_property ("elements");
- SCM postevs = scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL);
-
- for (SCM s = es; scm_is_pair (s); s = scm_cdr (s))
- unsmob_music (scm_car (s))->set_property ("duration", dur);
- es = ly_append2 (es, postevs);
-
- m-> set_property ("elements", es);
- m->set_spot ((yyloc));
- (yyval.scm) = m->self_scm ();
- ;}
- break;
-
- case 324:
-#line 2203 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("event-chord", (yyloc), scm_reverse_x ((yyvsp[(2) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 325:
-#line 2209 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = SCM_EOL; ;}
- break;
-
- case 326:
-#line 2210 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!SCM_UNBNDP ((yyvsp[(2) - (2)].scm)))
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 327:
-#line 2218 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- int q = (yyvsp[(3) - (5)].i);
- int ex = (yyvsp[(2) - (5)].i);
- SCM check = (yyvsp[(4) - (5)].scm);
- SCM post = (yyvsp[(5) - (5)].scm);
-
- Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
- n->set_property ("pitch", (yyvsp[(1) - (5)].scm));
- if (q % 2)
- n->set_property ("cautionary", SCM_BOOL_T);
- if (ex % 2 || q % 2)
- n->set_property ("force-accidental", SCM_BOOL_T);
-
- if (scm_is_pair (post)) {
- SCM arts = scm_reverse_x (post, SCM_EOL);
- n->set_property ("articulations", arts);
- }
- if (scm_is_number (check))
- {
- int q = scm_to_int (check);
- n->set_property ("absolute-octave", scm_from_int (q-1));
- }
-
- (yyval.scm) = n->unprotect ();
- ;}
- break;
-
- case 328:
-#line 2243 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
- n->set_property ("drum-type", (yyvsp[(1) - (2)].scm));
-
- if (scm_is_pair ((yyvsp[(2) - (2)].scm))) {
- SCM arts = scm_reverse_x ((yyvsp[(2) - (2)].scm), SCM_EOL);
- n->set_property ("articulations", arts);
- }
- (yyval.scm) = n->unprotect ();
- ;}
- break;
-
- case 329:
-#line 2254 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = unsmob_music ((yyvsp[(1) - (1)].scm));
-
- while (m && m->is_mus_type ("music-wrapper-music")) {
- (yyval.scm) = m->get_property ("element");
- m = unsmob_music ((yyval.scm));
- }
-
- if (!(m && m->is_mus_type ("rhythmic-event"))) {
- parser->parser_error ((yyloc), _ ("not a rhythmic event"));
- (yyval.scm) = SCM_UNDEFINED;
- }
- ;}
- break;
-
- case 332:
-#line 2280 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("music-function", (yyloc),
- (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 333:
-#line 2287 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("music-function", (yyloc),
- (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 334:
-#line 2294 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 335:
-#line 2297 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = MY_MAKE_MUSIC ("LigatureEvent", (yyloc));
- m->set_property ("span-direction", scm_from_int (START));
- (yyval.scm) = m->unprotect();
- ;}
- break;
-
- case 336:
-#line 2302 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = MY_MAKE_MUSIC ("LigatureEvent", (yyloc));
- m->set_property ("span-direction", scm_from_int (STOP));
- (yyval.scm) = m->unprotect ();
- ;}
- break;
-
- case 337:
-#line 2307 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("voice-separator", (yyloc));
- ;}
- break;
-
- case 338:
-#line 2310 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM pipe = parser->lexer_->lookup_identifier ("pipeSymbol");
-
- Music *m = unsmob_music (pipe);
- if (m)
- {
- m = m->clone ();
- m->set_spot ((yyloc));
- (yyval.scm) = m->unprotect ();
- }
- else
- (yyval.scm) = MAKE_SYNTAX ("bar-check", (yyloc));
-
- ;}
- break;
-
- case 339:
-#line 2327 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MY_MAKE_MUSIC ("PesOrFlexaEvent", (yyloc))->unprotect ();
- ;}
- break;
-
- case 340:
-#line 2330 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 341:
-#line 2337 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 342:
-#line 2340 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- unsmob_music ((yyvsp[(2) - (2)].scm))->set_spot ((yylsp[(2) - (2)]));
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyval.scm));
- ;}
- break;
-
- case 343:
-#line 2347 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 344:
-#line 2350 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- if ((yyvsp[(1) - (2)].i))
- {
- unsmob_music ((yyval.scm))->set_property ("direction", scm_from_int ((yyvsp[(1) - (2)].i)));
- }
- ;}
- break;
-
- case 345:
-#line 2357 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!parser->lexer_->is_lyric_state ())
- parser->parser_error ((yylsp[(1) - (1)]), _ ("have to be in Lyric mode for lyrics"));
- (yyval.scm) = MY_MAKE_MUSIC ("HyphenEvent", (yyloc))->unprotect ();
- ;}
- break;
-
- case 346:
-#line 2362 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!parser->lexer_->is_lyric_state ())
- parser->parser_error ((yylsp[(1) - (1)]), _ ("have to be in Lyric mode for lyrics"));
- (yyval.scm) = MY_MAKE_MUSIC ("ExtenderEvent", (yyloc))->unprotect ();
- ;}
- break;
-
- case 347:
-#line 2367 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if ((yyvsp[(1) - (2)].i))
- {
- Music *m = unsmob_music ((yyvsp[(2) - (2)].scm));
- m->set_property ("direction", scm_from_int ((yyvsp[(1) - (2)].i)));
- }
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 348:
-#line 2375 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if ((yyvsp[(1) - (2)].i))
- {
- Music *m = unsmob_music ((yyvsp[(2) - (2)].scm));
- m->set_property ("direction", scm_from_int ((yyvsp[(1) - (2)].i)));
- }
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 349:
-#line 2384 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- unsmob_music ((yyval.scm))->set_property ("direction", scm_from_int (UP));
- ;}
- break;
-
- case 350:
-#line 2389 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- unsmob_music ((yyval.scm))->set_property ("direction", scm_from_int (DOWN));
- ;}
- break;
-
- case 352:
-#line 2397 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 353:
-#line 2403 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *s = MY_MAKE_MUSIC ("StringNumberEvent", (yyloc));
- s->set_property ("string-number", scm_from_int ((yyvsp[(1) - (1)].i)));
- (yyval.scm) = s->unprotect ();
- ;}
- break;
-
- case 354:
-#line 2411 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("bracketOpenSymbol");
- ;}
- break;
-
- case 355:
-#line 2414 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("bracketCloseSymbol");
- ;}
- break;
-
- case 356:
-#line 2417 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("tildeSymbol");
- ;}
- break;
-
- case 357:
-#line 2420 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("parenthesisOpenSymbol");
- ;}
- break;
-
- case 358:
-#line 2423 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("parenthesisCloseSymbol");
- ;}
- break;
-
- case 359:
-#line 2426 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("escapedExclamationSymbol");
- ;}
- break;
-
- case 360:
-#line 2429 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("escapedParenthesisOpenSymbol");
- ;}
- break;
-
- case 361:
-#line 2432 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("escapedParenthesisCloseSymbol");
- ;}
- break;
-
- case 362:
-#line 2435 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("escapedBiggerSymbol");
- ;}
- break;
-
- case 363:
-#line 2438 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("escapedSmallerSymbol");
- ;}
- break;
-
- case 364:
-#line 2444 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM predefd = parser->lexer_->lookup_identifier_symbol ((yyvsp[(1) - (1)].scm));
- Music *m = 0;
- if (unsmob_music (predefd))
- {
- m = unsmob_music (predefd)->clone ();
- m->set_spot ((yyloc));
- }
- else
- {
- m = MY_MAKE_MUSIC ("Music", (yyloc));
- }
- (yyval.scm) = m->unprotect ();
- ;}
- break;
-
- case 366:
-#line 2459 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 367:
-#line 2462 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *a = MY_MAKE_MUSIC ("TremoloEvent", (yyloc));
- a->set_property ("tremolo-type", scm_from_int ((yyvsp[(1) - (1)].i)));
- (yyval.scm) = a->unprotect ();
- ;}
- break;
-
- case 369:
-#line 2471 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 370:
-#line 2474 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM s = parser->lexer_->lookup_identifier ("dash" + ly_scm2string ((yyvsp[(1) - (1)].scm)));
- Music *a = MY_MAKE_MUSIC ("ArticulationEvent", (yyloc));
- if (scm_is_string (s))
- a->set_property ("articulation-type", s);
- else parser->parser_error ((yylsp[(1) - (1)]), _ ("expecting string as script definition"));
- (yyval.scm) = a->unprotect ();
- ;}
- break;
-
- case 371:
-#line 2485 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = SCM_EOL; ;}
- break;
-
- case 372:
-#line 2486 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = scm_from_int (0); ;}
- break;
-
- case 373:
-#line 2487 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = scm_from_int (-(yyvsp[(2) - (2)].i)); ;}
- break;
-
- case 374:
-#line 2488 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = scm_from_int ((yyvsp[(2) - (2)].i)); ;}
- break;
-
- case 375:
-#line 2492 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) = 1;
- ;}
- break;
-
- case 376:
-#line 2495 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) ++;
- ;}
- break;
-
- case 377:
-#line 2501 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) = 1;
- ;}
- break;
-
- case 378:
-#line 2504 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i)++;
- ;}
- break;
-
- case 379:
-#line 2510 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 380:
-#line 2513 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Pitch p = *unsmob_pitch ((yyvsp[(1) - (2)].scm));
- p = p.transposed (Pitch ((yyvsp[(2) - (2)].i),0,0));
- (yyval.scm) = p.smobbed_copy ();
- ;}
- break;
-
- case 381:
-#line 2518 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Pitch p =* unsmob_pitch ((yyvsp[(1) - (2)].scm));
- p = p.transposed (Pitch (-(yyvsp[(2) - (2)].i),0,0));
- (yyval.scm) = p.smobbed_copy ();
- ;}
- break;
-
- case 382:
-#line 2530 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 383:
-#line 2533 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Pitch p = *unsmob_pitch ((yyvsp[(1) - (2)].scm));
- p = p.transposed (Pitch ((yyvsp[(2) - (2)].i),0,0));
- (yyval.scm) = p.smobbed_copy ();
- ;}
- break;
-
- case 384:
-#line 2538 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Pitch p = *unsmob_pitch ((yyvsp[(1) - (2)].scm));
-
- p = p.transposed (Pitch (-(yyvsp[(2) - (2)].i),0,0));
- (yyval.scm) = p.smobbed_copy ();
- ;}
- break;
-
- case 385:
-#line 2547 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 389:
-#line 2559 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
- t->set_property ("text", (yyvsp[(1) - (1)].scm));
- (yyval.scm) = t->unprotect ();
- ;}
- break;
-
- case 390:
-#line 2564 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
- t->set_property ("text",
- make_simple_markup ((yyvsp[(1) - (1)].scm)));
- (yyval.scm) = t->unprotect ();
- ;}
- break;
-
- case 391:
-#line 2573 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yyloc));
- t->set_property ("digit", (yyvsp[(1) - (1)].scm));
- (yyval.scm) = t->unprotect ();
- ;}
- break;
-
- case 392:
-#line 2581 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Hat");
- ;}
- break;
-
- case 393:
-#line 2584 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Plus");
- ;}
- break;
-
- case 394:
-#line 2587 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Dash");
- ;}
- break;
-
- case 395:
-#line 2590 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Bar");
- ;}
- break;
-
- case 396:
-#line 2593 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Larger");
- ;}
- break;
-
- case 397:
-#line 2596 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Dot");
- ;}
- break;
-
- case 398:
-#line 2599 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_locale_string ("Underscore");
- ;}
- break;
-
- case 399:
-#line 2605 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = DOWN; ;}
- break;
-
- case 400:
-#line 2606 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = UP; ;}
- break;
-
- case 401:
-#line 2607 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = CENTER; ;}
- break;
-
- case 402:
-#line 2611 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 403:
-#line 2617 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_UNDEFINED;
- ;}
- break;
-
- case 404:
-#line 2620 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- parser->default_duration_ = *unsmob_duration ((yyval.scm));
- ;}
- break;
-
- case 405:
-#line 2629 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (SCM_UNBNDP ((yyval.scm)))
- (yyval.scm) = parser->default_duration_.smobbed_copy ();
- ;}
- break;
-
- case 406:
-#line 2636 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- int len = 0;
- if (!is_duration ((yyvsp[(1) - (2)].i)))
- parser->parser_error ((yylsp[(1) - (2)]), _f ("not a duration: %d", (yyvsp[(1) - (2)].i)));
- else
- len = intlog2 ((yyvsp[(1) - (2)].i));
-
- (yyval.scm) = Duration (len, (yyvsp[(2) - (2)].i)).smobbed_copy ();
- ;}
- break;
-
- case 407:
-#line 2645 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Duration *d = unsmob_duration ((yyvsp[(1) - (2)].scm));
- Duration k (d->duration_log (), d->dot_count () + (yyvsp[(2) - (2)].i));
- k = k.compressed (d->factor ());
- *d = k;
- (yyval.scm) = (yyvsp[(1) - (2)].scm);
- ;}
- break;
-
- case 408:
-#line 2655 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 409:
-#line 2658 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = unsmob_duration ((yyval.scm))->compressed ( (yyvsp[(3) - (3)].i)) .smobbed_copy ();
- ;}
- break;
-
- case 410:
-#line 2661 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Rational m (scm_to_int (scm_car ((yyvsp[(3) - (3)].scm))), scm_to_int (scm_cdr ((yyvsp[(3) - (3)].scm))));
-
- (yyval.scm) = unsmob_duration ((yyval.scm))->compressed (m).smobbed_copy ();
- ;}
- break;
-
- case 411:
-#line 2669 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) = 0;
- ;}
- break;
-
- case 412:
-#line 2672 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) ++;
- ;}
- break;
-
- case 413:
-#line 2678 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) = 0;
- ;}
- break;
-
- case 414:
-#line 2681 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!is_duration ((yyvsp[(2) - (2)].i)))
- parser->parser_error ((yylsp[(2) - (2)]), _f ("not a duration: %d", (yyvsp[(2) - (2)].i)));
- (yyval.i) = (yyvsp[(2) - (2)].i);
- ;}
- break;
-
- case 415:
-#line 2689 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 416:
-#line 2690 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 417:
-#line 2691 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 418:
-#line 2695 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_rational2scm (FLAT_ALTERATION); ;}
- break;
-
- case 419:
-#line 2696 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = ly_rational2scm (SHARP_ALTERATION); ;}
- break;
-
- case 420:
-#line 2697 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = scm_from_int (0); ;}
- break;
-
- case 421:
-#line 2701 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *bfr = MY_MAKE_MUSIC ("BassFigureEvent", (yyloc));
- (yyval.scm) = bfr->unprotect ();
- ;}
- break;
-
- case 422:
-#line 2705 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *bfr = MY_MAKE_MUSIC ("BassFigureEvent", (yyloc));
- (yyval.scm) = bfr->self_scm ();
-
- if (scm_is_number ((yyvsp[(1) - (1)].scm)))
- bfr->set_property ("figure", (yyvsp[(1) - (1)].scm));
- else if (Text_interface::is_markup ((yyvsp[(1) - (1)].scm)))
- bfr->set_property ("text", (yyvsp[(1) - (1)].scm));
-
- bfr->unprotect ();
- ;}
- break;
-
- case 423:
-#line 2716 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (2)].scm);
- unsmob_music ((yyvsp[(1) - (2)].scm))->set_property ("bracket-stop", SCM_BOOL_T);
- ;}
- break;
-
- case 424:
-#line 2720 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = unsmob_music ((yyvsp[(1) - (2)].scm));
- if (scm_to_double ((yyvsp[(2) - (2)].scm))) {
- SCM salter = m->get_property ("alteration");
- SCM alter = scm_is_number (salter) ? salter : scm_from_int (0);
- m->set_property ("alteration",
- scm_sum (alter, (yyvsp[(2) - (2)].scm)));
- } else {
- m->set_property ("alteration", scm_from_int (0));
- }
- ;}
- break;
-
- case 425:
-#line 2731 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *m = unsmob_music ((yyvsp[(1) - (2)].scm));
- if ((yyvsp[(2) - (2)].scm) == ly_symbol2scm ("plus"))
- {
- m->set_property ("augmented", SCM_BOOL_T);
- }
- else if ((yyvsp[(2) - (2)].scm) == ly_symbol2scm ("slash"))
- {
- m->set_property ("diminished", SCM_BOOL_T);
- }
- else if ((yyvsp[(2) - (2)].scm) == ly_symbol2scm ("exclamation"))
- {
- m->set_property ("no-continuation", SCM_BOOL_T);
- }
- else if ((yyvsp[(2) - (2)].scm) == ly_symbol2scm ("backslash"))
- {
- m->set_property ("augmented-slash", SCM_BOOL_T);
- }
- ;}
- break;
-
- case 426:
-#line 2754 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("plus");
- ;}
- break;
-
- case 427:
-#line 2757 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("exclamation");
- ;}
- break;
-
- case 428:
-#line 2760 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("slash");
- ;}
- break;
-
- case 429:
-#line 2763 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("backslash");
- ;}
- break;
-
- case 430:
-#line 2769 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 431:
-#line 2772 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- unsmob_music ((yyval.scm))->set_property ("bracket-start", SCM_BOOL_T);
- ;}
- break;
-
- case 432:
-#line 2779 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 433:
-#line 2782 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 434:
-#line 2788 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(2) - (3)].scm), SCM_EOL);
- ;}
- break;
-
- case 435:
-#line 2795 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = 0; ;}
- break;
-
- case 436:
-#line 2796 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = 1; ;}
- break;
-
- case 437:
-#line 2800 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!parser->lexer_->is_note_state ())
- parser->parser_error ((yylsp[(1) - (6)]), _ ("have to be in Note mode for notes"));
- if ((yyvsp[(2) - (6)].i) || (yyvsp[(3) - (6)].i) || scm_is_number ((yyvsp[(4) - (6)].scm)) || !SCM_UNBNDP ((yyvsp[(5) - (6)].scm)) || (yyvsp[(6) - (6)].i))
- {
- Music *n = 0;
- if ((yyvsp[(6) - (6)].i))
- n = MY_MAKE_MUSIC ("RestEvent", (yyloc));
- else
- n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
-
- n->set_property ("pitch", (yyvsp[(1) - (6)].scm));
- if (SCM_UNBNDP ((yyvsp[(5) - (6)].scm)))
- n->set_property ("duration",
- parser->default_duration_.smobbed_copy ());
- else
- n->set_property ("duration", (yyvsp[(5) - (6)].scm));
-
- if (scm_is_number ((yyvsp[(4) - (6)].scm)))
- {
- int q = scm_to_int ((yyvsp[(4) - (6)].scm));
- n->set_property ("absolute-octave", scm_from_int (q-1));
- }
-
- if ((yyvsp[(3) - (6)].i) % 2)
- n->set_property ("cautionary", SCM_BOOL_T);
- if ((yyvsp[(2) - (6)].i) % 2 || (yyvsp[(3) - (6)].i) % 2)
- n->set_property ("force-accidental", SCM_BOOL_T);
-
- (yyval.scm) = n->unprotect ();
- }
- ;}
- break;
-
- case 438:
-#line 2832 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
- n->set_property ("duration", (yyvsp[(2) - (2)].scm));
- n->set_property ("drum-type", (yyvsp[(1) - (2)].scm));
-
- (yyval.scm) = n->unprotect ();
- ;}
- break;
-
- case 439:
-#line 2839 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Music *ev = 0;
- if (ly_scm2string ((yyvsp[(1) - (2)].scm)) == "s") {
- /* Space */
- ev = MY_MAKE_MUSIC ("SkipEvent", (yyloc));
- }
- else {
- ev = MY_MAKE_MUSIC ("RestEvent", (yyloc));
-
- }
- ev->set_property ("duration", (yyvsp[(2) - (2)].scm));
- (yyval.scm) = ev->unprotect ();
- ;}
- break;
-
- case 440:
-#line 2855 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (!parser->lexer_->is_chord_state ())
- parser->parser_error ((yylsp[(1) - (1)]), _ ("have to be in Chord mode for chords"));
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 441:
-#line 2860 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- for (SCM s = (yyvsp[(1) - (2)].scm); scm_is_pair (s); s = scm_cdr (s))
- {
- unsmob_music (scm_car (s))->set_property ("duration", (yyvsp[(2) - (2)].scm));
- }
- (yyval.scm) = (yyvsp[(1) - (2)].scm);
- ;}
- break;
-
- case 442:
-#line 2870 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 443:
-#line 2873 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 445:
-#line 2880 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("lyric-event", (yyloc), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- if (scm_is_pair ((yyvsp[(3) - (3)].scm)))
- unsmob_music ((yyval.scm))->set_property
- ("articulations", scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 446:
-#line 2886 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("lyric-event", (yyloc), (yyvsp[(1) - (3)].scm),
- parser->default_duration_.smobbed_copy ());
- unsmob_music ((yyval.scm))->set_property
- ("articulations", scm_cons ((yyvsp[(2) - (3)].scm), scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL)));
- ;}
- break;
-
- case 447:
-#line 2892 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("lyric-event", (yyloc), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- if (scm_is_pair ((yyvsp[(3) - (3)].scm)))
- unsmob_music ((yyval.scm))->set_property
- ("articulations", scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 448:
-#line 2902 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = MAKE_SYNTAX ("lyric-event", (yyloc), (yyvsp[(1) - (3)].scm), (yyvsp[(2) - (3)].scm));
- if (scm_is_pair ((yyvsp[(3) - (3)].scm)))
- unsmob_music ((yyval.scm))->set_property
- ("articulations", scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 449:
-#line 2911 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = make_chord_elements ((yyloc), (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm), SCM_EOL);
- ;}
- break;
-
- case 450:
-#line 2914 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM its = scm_reverse_x ((yyvsp[(4) - (4)].scm), SCM_EOL);
- (yyval.scm) = make_chord_elements ((yyloc), (yyvsp[(1) - (4)].scm), (yyvsp[(2) - (4)].scm), scm_cons ((yyvsp[(3) - (4)].scm), its));
- ;}
- break;
-
- case 451:
-#line 2921 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 452:
-#line 2924 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyval.scm));
- ;}
- break;
-
- case 453:
-#line 2930 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("chord-colon");
- ;}
- break;
-
- case 454:
-#line 2933 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = ly_symbol2scm ("chord-caret");
- ;}
- break;
-
- case 455:
-#line 2936 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 (ly_symbol2scm ("chord-slash"), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 456:
-#line 2939 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 (ly_symbol2scm ("chord-bass"), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 457:
-#line 2945 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 458:
-#line 2948 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(1) - (1)].scm), SCM_EOL);
- ;}
- break;
-
- case 459:
-#line 2951 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 460:
-#line 2957 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = scm_cons ((yyvsp[(1) - (1)].scm), SCM_EOL); ;}
- break;
-
- case 461:
-#line 2958 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyval.scm));
- ;}
- break;
-
- case 462:
-#line 2964 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = make_chord_step ((yyvsp[(1) - (1)].i), 0);
- ;}
- break;
-
- case 463:
-#line 2967 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = make_chord_step ((yyvsp[(1) - (2)].i), SHARP_ALTERATION);
- ;}
- break;
-
- case 464:
-#line 2970 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = make_chord_step ((yyvsp[(1) - (2)].i), FLAT_ALTERATION);
- ;}
- break;
-
- case 465:
-#line 2976 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_from_int ((yyvsp[(1) - (1)].i));
- ;}
- break;
-
- case 466:
-#line 2979 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons (scm_from_int ((yyvsp[(1) - (3)].i)), scm_from_int ((yyvsp[(3) - (3)].i)));
- ;}
- break;
-
- case 467:
-#line 2991 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_sum ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 468:
-#line 2994 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_difference ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 470:
-#line 3001 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 471:
-#line 3004 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_product ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 472:
-#line 3007 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_divide ((yyvsp[(1) - (3)].scm), (yyvsp[(3) - (3)].scm));
- ;}
- break;
-
- case 473:
-#line 3013 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { /* %prec UNARY_MINUS */
- (yyval.scm) = scm_difference ((yyvsp[(2) - (2)].scm), SCM_UNDEFINED);
- ;}
- break;
-
- case 476:
-#line 3022 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_product ((yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 477:
-#line 3025 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_product ((yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
- ;}
- break;
-
- case 481:
-#line 3037 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.i) = scm_to_int ((yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 484:
-#line 3048 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = 0; ;}
- break;
-
- case 485:
-#line 3049 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) ++; ;}
- break;
-
- case 486:
-#line 3053 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) = 0; ;}
- break;
-
- case 487:
-#line 3054 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.i) ++; ;}
- break;
-
- case 488:
-#line 3062 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 489:
-#line 3066 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_markup_state (); ;}
- break;
-
- case 490:
-#line 3067 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(3) - (3)].scm);
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 491:
-#line 3074 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 492:
-#line 3078 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_markup_state (); ;}
- break;
-
- case 493:
-#line 3079 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(3) - (3)].scm);
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 494:
-#line 3086 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 495:
-#line 3090 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { parser->lexer_->push_markup_state (); ;}
- break;
-
- case 496:
-#line 3091 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(3) - (3)].scm);
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 497:
-#line 3098 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_2 (ly_lily_module_constant ("line-markup"), (yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 498:
-#line 3101 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_car (scm_call_2 (ly_lily_module_constant ("map-markup-command-list"), (yyvsp[(1) - (2)].scm), scm_list_1 ((yyvsp[(2) - (2)].scm))));
- ;}
- break;
-
- case 499:
-#line 3104 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 500:
-#line 3111 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- if (Text_interface::is_markup ((yyvsp[(1) - (1)].scm)))
- MYBACKUP (MARKUP_IDENTIFIER, (yyvsp[(1) - (1)].scm), (yylsp[(1) - (1)]));
- else if (Text_interface::is_markup_list ((yyvsp[(1) - (1)].scm)))
- MYBACKUP (MARKUPLIST_IDENTIFIER, (yyvsp[(1) - (1)].scm), (yylsp[(1) - (1)]));
- else {
- parser->parser_error ((yylsp[(1) - (1)]), _ ("not a markup"));
- MYBACKUP (MARKUP_IDENTIFIER, scm_string (SCM_EOL), (yylsp[(1) - (1)]));
- }
- ;}
- break;
-
- case 502:
-#line 3125 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 503:
-#line 3128 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 504:
-#line 3131 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 505:
-#line 3134 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_1 ((yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 506:
-#line 3138 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 507:
-#line 3144 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_call_2 (ly_lily_module_constant ("map-markup-command-list"), (yyvsp[(1) - (2)].scm), (yyvsp[(2) - (2)].scm));
-
- ;}
- break;
-
- case 508:
-#line 3151 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(2) - (3)].scm), SCM_EOL);
- ;}
- break;
-
- case 509:
-#line 3157 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = SCM_EOL; ;}
- break;
-
- case 510:
-#line 3158 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 511:
-#line 3161 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_reverse_x ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 512:
-#line 3167 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (2)].scm), scm_reverse_x((yyvsp[(2) - (2)].scm), SCM_EOL));
- ;}
- break;
-
- case 513:
-#line 3173 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 514:
-#line 3176 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = check_scheme_arg (parser, (yylsp[(3) - (3)]), (yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm), (yyvsp[(1) - (3)].scm));
- ;}
- break;
-
- case 515:
-#line 3179 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = SCM_EOL;
- ;}
- break;
-
- case 516:
-#line 3185 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- { (yyval.scm) = (yyvsp[(1) - (1)].scm); ;}
- break;
-
- case 517:
-#line 3186 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(3) - (3)].scm), (yyvsp[(2) - (3)].scm));
- ;}
- break;
-
- case 518:
-#line 3192 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (3)].scm), scm_reverse_x ((yyvsp[(3) - (3)].scm), SCM_EOL));
- ;}
- break;
-
- case 519:
-#line 3198 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_list_1 ((yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 520:
-#line 3201 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(2) - (2)].scm), (yyvsp[(1) - (2)].scm));
- ;}
- break;
-
- case 521:
-#line 3207 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = make_simple_markup ((yyvsp[(1) - (1)].scm));
- ;}
- break;
-
- case 522:
-#line 3210 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 523:
-#line 3213 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 524:
-#line 3216 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
- case 525:
-#line 3219 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
- parser->lexer_->push_note_state (nn);
- ;}
- break;
-
- case 526:
-#line 3222 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- Score * sc = (yyvsp[(4) - (5)].score);
- (yyval.scm) = scm_list_2 (ly_lily_module_constant ("score-markup"), sc->self_scm ());
- sc->unprotect ();
- parser->lexer_->pop_state ();
- ;}
- break;
-
- case 527:
-#line 3228 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = scm_cons ((yyvsp[(1) - (2)].scm), scm_reverse_x ((yyvsp[(2) - (2)].scm), SCM_EOL));
- ;}
- break;
-
- case 528:
-#line 3232 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(2) - (2)].scm);
- ;}
- break;
-
- case 529:
-#line 3238 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- SCM mapper = ly_lily_module_constant ("map-markup-command-list");
- (yyval.scm) = scm_car (scm_call_2 (mapper, (yyvsp[(1) - (2)].scm), scm_list_1 ((yyvsp[(2) - (2)].scm))));
- ;}
- break;
-
- case 530:
-#line 3242 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
- {
- (yyval.scm) = (yyvsp[(1) - (1)].scm);
- ;}
- break;
-
-
-/* Line 1267 of yacc.c. */
-#line 7150 "out/parser.cc"
- default: break;
- }
- YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
-
- YYPOPSTACK (yylen);
- yylen = 0;
- YY_STACK_PRINT (yyss, yyssp);
-
- *++yyvsp = yyval;
- *++yylsp = yyloc;
-
- /* Now `shift' the result of the reduction. Determine what state
- that goes to, based on the state we popped back to and the rule
- number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
- if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTOKENS];
-
- goto yynewstate;
-
-
-/*------------------------------------.
-| yyerrlab -- here on detecting error |
-`------------------------------------*/
-yyerrlab:
- /* If not already recovering from an error, report this error. */
- if (!yyerrstatus)
- {
- ++yynerrs;
-#if ! YYERROR_VERBOSE
- yyerror (&yylloc, parser, YY_("syntax error"));
-#else
- {
- YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
- if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
- {
- YYSIZE_T yyalloc = 2 * yysize;
- if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
- yyalloc = YYSTACK_ALLOC_MAXIMUM;
- if (yymsg != yymsgbuf)
- YYSTACK_FREE (yymsg);
- yymsg = (char *) YYSTACK_ALLOC (yyalloc);
- if (yymsg)
- yymsg_alloc = yyalloc;
- else
- {
- yymsg = yymsgbuf;
- yymsg_alloc = sizeof yymsgbuf;
- }
- }
-
- if (0 < yysize && yysize <= yymsg_alloc)
- {
- (void) yysyntax_error (yymsg, yystate, yychar);
- yyerror (&yylloc, parser, yymsg);
- }
- else
- {
- yyerror (&yylloc, parser, YY_("syntax error"));
- if (yysize != 0)
- goto yyexhaustedlab;
- }
- }
-#endif
- }
-
- yyerror_range[0] = yylloc;
-
- if (yyerrstatus == 3)
- {
- /* If just tried and failed to reuse look-ahead token after an
- error, discard it. */
-
- if (yychar <= YYEOF)
- {
- /* Return failure if at end of input. */
- if (yychar == YYEOF)
- YYABORT;
- }
- else
- {
- yydestruct ("Error: discarding",
- yytoken, &yylval, &yylloc, parser);
- yychar = YYEMPTY;
- }
- }
-
- /* Else will try to reuse look-ahead token after shifting the error
- token. */
- goto yyerrlab1;
-
-
-/*---------------------------------------------------.
-| yyerrorlab -- error raised explicitly by YYERROR. |
-`---------------------------------------------------*/
-yyerrorlab:
-
- /* Pacify compilers like GCC when the user code never invokes
- YYERROR and the label yyerrorlab therefore never appears in user
- code. */
- if (/*CONSTCOND*/ 0)
- goto yyerrorlab;
-
- yyerror_range[0] = yylsp[1-yylen];
- /* Do not reclaim the symbols of the rule which action triggered
- this YYERROR. */
- YYPOPSTACK (yylen);
- yylen = 0;
- YY_STACK_PRINT (yyss, yyssp);
- yystate = *yyssp;
- goto yyerrlab1;
-
-
-/*-------------------------------------------------------------.
-| yyerrlab1 -- common code for both syntax error and YYERROR. |
-`-------------------------------------------------------------*/
-yyerrlab1:
- yyerrstatus = 3; /* Each real token shifted decrements this. */
-
- for (;;)
- {
- yyn = yypact[yystate];
- if (yyn != YYPACT_NINF)
- {
- yyn += YYTERROR;
- if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
- {
- yyn = yytable[yyn];
- if (0 < yyn)
- break;
- }
- }
-
- /* Pop the current state because it cannot handle the error token. */
- if (yyssp == yyss)
- YYABORT;
-
- yyerror_range[0] = *yylsp;
- yydestruct ("Error: popping",
- yystos[yystate], yyvsp, yylsp, parser);
- YYPOPSTACK (1);
- yystate = *yyssp;
- YY_STACK_PRINT (yyss, yyssp);
- }
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- *++yyvsp = yylval;
-
- yyerror_range[1] = yylloc;
- /* Using YYLLOC is tempting, but would change the location of
- the look-ahead. YYLOC is available though. */
- YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2);
- *++yylsp = yyloc;
-
- /* Shift the error token. */
- YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
-
- yystate = yyn;
- goto yynewstate;
-
-
-/*-------------------------------------.
-| yyacceptlab -- YYACCEPT comes here. |
-`-------------------------------------*/
-yyacceptlab:
- yyresult = 0;
- goto yyreturn;
-
-/*-----------------------------------.
-| yyabortlab -- YYABORT comes here. |
-`-----------------------------------*/
-yyabortlab:
- yyresult = 1;
- goto yyreturn;
-
-#ifndef yyoverflow
-/*-------------------------------------------------.
-| yyexhaustedlab -- memory exhaustion comes here. |
-`-------------------------------------------------*/
-yyexhaustedlab:
- yyerror (&yylloc, parser, YY_("memory exhausted"));
- yyresult = 2;
- /* Fall through. */
-#endif
-
-yyreturn:
- if (yychar != YYEOF && yychar != YYEMPTY)
- yydestruct ("Cleanup: discarding lookahead",
- yytoken, &yylval, &yylloc, parser);
- /* Do not reclaim the symbols of the rule which action triggered
- this YYABORT or YYACCEPT. */
- YYPOPSTACK (yylen);
- YY_STACK_PRINT (yyss, yyssp);
- while (yyssp != yyss)
- {
- yydestruct ("Cleanup: popping",
- yystos[*yyssp], yyvsp, yylsp, parser);
- YYPOPSTACK (1);
- }
-#ifndef yyoverflow
- if (yyss != yyssa)
- YYSTACK_FREE (yyss);
-#endif
-#if YYERROR_VERBOSE
- if (yymsg != yymsgbuf)
- YYSTACK_FREE (yymsg);
-#endif
- /* Make sure YYID is used. */
- return YYID (yyresult);
-}
-
-
-#line 3247 "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/lily/parser.yy"
-
-
-void
-Lily_parser::set_yydebug (bool x)
-{
- yydebug = x;
-}
-
-void
-Lily_parser::do_yyparse ()
-{
- yyparse (this);
-}
-
-
-
-
-
-/*
-
-It is a little strange to have this function in this file, but
-otherwise, we have to import music classes into the lexer.
-
-*/
-int
-Lily_lexer::try_special_identifiers (SCM *destination, SCM sid)
-{
- if (scm_is_string (sid)) {
- *destination = sid;
- return STRING_IDENTIFIER;
- } else if (unsmob_book (sid)) {
- Book *book = unsmob_book (sid)->clone ();
- *destination = book->self_scm ();
- book->unprotect ();
-
- return BOOK_IDENTIFIER;
- } else if (scm_is_number (sid)) {
- *destination = sid;
- return NUMBER_IDENTIFIER;
- } else if (unsmob_context_def (sid)) {
- Context_def *def= unsmob_context_def (sid)->clone ();
-
- *destination = def->self_scm ();
- def->unprotect ();
-
- return CONTEXT_DEF_IDENTIFIER;
- } else if (unsmob_context_mod (sid)) {
- *destination = unsmob_context_mod (sid)->smobbed_copy ();
-
- return CONTEXT_MOD_IDENTIFIER;
- } else if (unsmob_score (sid)) {
- Score *score = new Score (*unsmob_score (sid));
- *destination = score->self_scm ();
-
- score->unprotect ();
- return SCORE_IDENTIFIER;
- } else if (Music *mus = unsmob_music (sid)) {
- mus = mus->clone ();
- *destination = mus->self_scm ();
- unsmob_music (*destination)->
- set_property ("origin", make_input (last_input_));
-
- bool is_event = mus->is_mus_type ("post-event");
- mus->unprotect ();
- return is_event ? EVENT_IDENTIFIER : MUSIC_IDENTIFIER;
- } else if (unsmob_pitch (sid)) {
- *destination = unsmob_pitch (sid)->smobbed_copy ();
- return PITCH_IDENTIFIER;
- } else if (unsmob_duration (sid)) {
- *destination = unsmob_duration (sid)->smobbed_copy ();
- return DURATION_IDENTIFIER;
- } else if (unsmob_output_def (sid)) {
- Output_def *p = unsmob_output_def (sid);
- p = p->clone ();
-
- *destination = p->self_scm ();
- p->unprotect ();
- return OUTPUT_DEF_IDENTIFIER;
- } else if (Text_interface::is_markup (sid)) {
- *destination = sid;
- if (is_lyric_state ())
- return LYRIC_MARKUP_IDENTIFIER;
- return MARKUP_IDENTIFIER;
- } else if (Text_interface::is_markup_list (sid)) {
- *destination = sid;
- return MARKUPLIST_IDENTIFIER;
- }
-
- return -1;
-}
-
-SCM
-get_next_unique_context_id ()
-{
- return scm_from_locale_string ("$uniqueContextId");
-}
-
-
-SCM
-get_next_unique_lyrics_context_id ()
-{
- static int new_context_count;
- char s[128];
- snprintf (s, sizeof (s)-1, "uniqueContext%d", new_context_count++);
- return scm_from_locale_string (s);
-}
-
-SCM check_scheme_arg (Lily_parser *parser, Input loc,
- SCM arg, SCM args, SCM pred)
-{
- args = scm_cons (arg, args);
- if (scm_is_true (scm_call_1 (pred, arg)))
- return args;
- scm_set_cdr_x (scm_last_pair (args), SCM_EOL);
- MAKE_SYNTAX ("argument-error", loc, scm_length (args), pred, arg);
- scm_set_cdr_x (scm_last_pair (args), SCM_BOOL_F);
- return args;
-}
-
-SCM loc_on_music (Input loc, SCM arg)
-{
- if (Music *m = unsmob_music (arg))
- {
- m = m->clone ();
- m->set_spot (loc);
- return m->unprotect ();
- }
- return arg;
-}
-
-bool
-is_regular_identifier (SCM id)
-{
- string str = ly_scm2string (id);
- char const *s = str.c_str ();
-
- bool v = true;
-#if 0
- isalpha (*s);
- s++;
-#endif
- while (*s && v)
- {
- v = v && isalnum (*s);
- s++;
- }
- return v;
-}
-
-Music *
-make_music_with_input (SCM name, Input where)
-{
- Music *m = make_music_by_name (name);
- m->set_spot (where);
- return m;
-}
-
-SCM
-make_simple_markup (SCM a)
-{
- return a;
-}
-
-bool
-is_duration (int t)
-{
- return t && t == 1 << intlog2 (t);
-}
-
-void
-set_music_properties (Music *p, SCM a)
-{
- for (SCM k = a; scm_is_pair (k); k = scm_cdr (k))
- p->set_property (scm_caar (k), scm_cdar (k));
-}
-
-
-SCM
-make_chord_step (int step, Rational alter)
-{
- if (step == 7)
- alter += FLAT_ALTERATION;
-
- while (step < 0)
- step += 7;
- Pitch m ((step -1) / 7, (step - 1) % 7, alter);
- return m.smobbed_copy ();
-}
-
-
-SCM
-make_chord_elements (Input loc, SCM pitch, SCM dur, SCM modification_list)
-{
- SCM chord_ctor = ly_lily_module_constant ("construct-chord-elements");
- SCM res = scm_call_3 (chord_ctor, pitch, dur, modification_list);
- for (SCM s = res; scm_is_pair (s); s = scm_cdr (s))
- {
- unsmob_music (scm_car (s))->set_spot (loc);
- }
- return res;
-}
-
-int
-yylex (YYSTYPE *s, YYLTYPE *loc, Lily_parser *parser)
-{
- Lily_lexer *lex = parser->lexer_;
-
- lex->lexval_ = s;
- lex->lexloc_ = loc;
- lex->prepare_for_next_token ();
- return lex->yylex ();
-}
-