/* A Bison parser, made by GNU Bison 3.0.4.  */

/* Bison implementation for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.  */

/* 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 "3.0.4"

/* Skeleton name.  */
#define YYSKELETON_NAME "yacc.c"

/* Pure parsers.  */
#define YYPURE 1

/* Push parsers.  */
#define YYPUSH 0

/* Pull parsers.  */
#define YYPULL 1




/* Copy the first part of user declarations.  */
#line 30 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:339  */


#define yyerror Lily_parser::parser_error

/* We use custom location type: Input objects */
#define YYLTYPE Input
#define YYSTYPE SCM
#define YYLLOC_DEFAULT(Current,Rhs,N) \
	((Current).set_location ((Rhs)[1], (Rhs)[N]))

#define YYPRINT(file, type, value)					\
	do {								\
		if (scm_is_eq (value, SCM_UNSPECIFIED))			\
			break;						\
		SCM s = Display::value_to_lily_string (value);		\
		char *p = scm_to_locale_string (s);			\
		fputs (p, file);					\
		free (p);						\
	} while (0)

#line 103 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:339  */
 // -*-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 "ly-module.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"
#include "lily-imports.hh"

void
Lily_parser::parser_error (Input const *i, Lily_parser *parser, SCM *, const string &s)
{
	parser->parser_error (*i, s);
}

// The following are somewhat precarious constructs as they may change
// the value of the lookahead token.  That implies that the lookahead
// token must not yet have made an impact on the state stack other
// than causing the reduction of the current rule, or switching the
// lookahead token while Bison is mulling it over will cause trouble.

#define MYBACKUP(Token, Value, Location)				\
	do {								\
		if (yychar != YYEMPTY)					\
			parser->lexer_->push_extra_token		\
				(yylloc, yychar, yylval);		\
		if (Token)						\
			parser->lexer_->push_extra_token		\
				(Location, Token, Value);		\
		parser->lexer_->push_extra_token (Location, BACKUP);	\
		yychar = YYEMPTY;					\
	} while (0)


#define MYREPARSE(Location, Pred, Token, Value)				\
	do {								\
		if (yychar != YYEMPTY)					\
			parser->lexer_->push_extra_token		\
				(yylloc, yychar, yylval);		\
		parser->lexer_->push_extra_token			\
			(Location, Token, Value);			\
		parser->lexer_->push_extra_token			\
			(Location, REPARSE, Pred);			\
		yychar = YYEMPTY;					\
	} while (0)

#line 183 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:339  */


#define MY_MAKE_MUSIC(x, spot) \
	make_music_with_input (ly_symbol2scm (x), \
			       parser->lexer_->override_input (spot))

/* ES TODO:
- delay application of the function
*/

#define LOWLEVEL_MAKE_SYNTAX(location, proc, ...)			\
	with_location							\
		(parser->lexer_->override_input (location).smobbed_copy (), \
		 proc,							\
		 ##__VA_ARGS__)

/* Syntactic Sugar. */
#define MAKE_SYNTAX(name, location, ...)				\
	LOWLEVEL_MAKE_SYNTAX (location, Syntax::name, ##__VA_ARGS__)

#define START_MAKE_SYNTAX(name, ...)					\
	scm_list_n (Syntax::name, ##__VA_ARGS__, SCM_UNDEFINED)

#define FINISH_MAKE_SYNTAX(start, location, ...)			\
	LOWLEVEL_MAKE_SYNTAX						\
		(location,						\
		 Guile_user::apply,					\
		 scm_car (start),					\
		 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 disp = SCM_UNDEFINED);
SCM make_music_from_simple (Lily_parser *parser, Input loc, SCM pitch);
SCM loc_on_music (Lily_parser *parser, Input loc, SCM arg);
SCM make_chord_elements (Input loc, SCM pitch, SCM dur, SCM modification_list);
SCM make_chord_step (SCM step, Rational alter);
SCM make_simple_markup (SCM a);
SCM make_duration (SCM t, int dots = 0);
bool is_regular_identifier (SCM id, bool multiple=false);
SCM try_string_variants (SCM pred, SCM str);
int yylex (YYSTYPE *s, YYLTYPE *loc, Lily_parser *parser);


#line 224 "./out/parser.cc" /* yacc.c:339  */

# ifndef YY_NULLPTR
#  if defined __cplusplus && 201103L <= __cplusplus
#   define YY_NULLPTR nullptr
#  else
#   define YY_NULLPTR 0
#  endif
# endif

/* Enabling verbose error messages.  */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 1
#endif

/* In a future release of Bison, this section will be replaced
   by #include "parser.hh".  */
#ifndef YY_YY_OUT_PARSER_HH_INCLUDED
# define YY_YY_OUT_PARSER_HH_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 1
#endif
#if YYDEBUG
extern int yydebug;
#endif

/* Token type.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    END_OF_FILE = 0,
    PREC_BOT = 258,
    REPEAT = 259,
    ALTERNATIVE = 260,
    COMPOSITE = 261,
    ADDLYRICS = 262,
    UNSIGNED = 263,
    REAL = 264,
    E_UNSIGNED = 265,
    EVENT_IDENTIFIER = 266,
    EVENT_FUNCTION = 267,
    HYPHEN = 268,
    EXTENDER = 269,
    DURATION_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,
    DEFAULT = 282,
    DEFAULTCHILD = 283,
    DENIES = 284,
    DESCRIPTION = 285,
    DRUMMODE = 286,
    DRUMS = 287,
    ETC = 288,
    FIGUREMODE = 289,
    FIGURES = 290,
    HEADER = 291,
    INVALID = 292,
    LAYOUT = 293,
    LYRICMODE = 294,
    LYRICS = 295,
    LYRICSTO = 296,
    MARKUP = 297,
    MARKUPLIST = 298,
    MIDI = 299,
    NAME = 300,
    NOTEMODE = 301,
    OVERRIDE = 302,
    PAPER = 303,
    REMOVE = 304,
    REST = 305,
    REVERT = 306,
    SCORE = 307,
    SCORELINES = 308,
    SEQUENTIAL = 309,
    SET = 310,
    SIMULTANEOUS = 311,
    TEMPO = 312,
    TYPE = 313,
    UNSET = 314,
    WITH = 315,
    NEWCONTEXT = 316,
    CHORD_BASS = 317,
    CHORD_CARET = 318,
    CHORD_COLON = 319,
    CHORD_MINUS = 320,
    CHORD_SLASH = 321,
    ANGLE_OPEN = 322,
    ANGLE_CLOSE = 323,
    DOUBLE_ANGLE_OPEN = 324,
    DOUBLE_ANGLE_CLOSE = 325,
    E_BACKSLASH = 326,
    E_EXCLAMATION = 327,
    E_PLUS = 328,
    FIGURE_CLOSE = 329,
    FIGURE_OPEN = 330,
    FIGURE_SPACE = 331,
    MULTI_MEASURE_REST = 332,
    EXPECT_MARKUP = 333,
    EXPECT_SCM = 334,
    BACKUP = 335,
    REPARSE = 336,
    EXPECT_MARKUP_LIST = 337,
    EXPECT_OPTIONAL = 338,
    EXPECT_NO_MORE_ARGS = 339,
    EMBEDDED_LILY = 340,
    BOOK_IDENTIFIER = 341,
    CHORD_MODIFIER = 342,
    CHORD_REPETITION = 343,
    CONTEXT_MOD_IDENTIFIER = 344,
    DRUM_PITCH = 345,
    PITCH_IDENTIFIER = 346,
    FRACTION = 347,
    LYRIC_ELEMENT = 348,
    MARKUP_FUNCTION = 349,
    MARKUP_LIST_FUNCTION = 350,
    MARKUP_IDENTIFIER = 351,
    MARKUPLIST_IDENTIFIER = 352,
    MUSIC_FUNCTION = 353,
    MUSIC_IDENTIFIER = 354,
    NOTENAME_PITCH = 355,
    RESTNAME = 356,
    SCM_ARG = 357,
    SCM_FUNCTION = 358,
    SCM_IDENTIFIER = 359,
    SCM_TOKEN = 360,
    STRING = 361,
    SYMBOL_LIST = 362,
    TONICNAME_PITCH = 363,
    UNARY_MINUS = 364
  };
#endif

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif

/* Location type.  */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE YYLTYPE;
struct YYLTYPE
{
  int first_line;
  int first_column;
  int last_line;
  int last_column;
};
# define YYLTYPE_IS_DECLARED 1
# define YYLTYPE_IS_TRIVIAL 1
#endif



int yyparse (Lily_parser *parser, SCM *retval);

#endif /* !YY_YY_OUT_PARSER_HH_INCLUDED  */

/* Copy the second part of user declarations.  */

#line 399 "./out/parser.cc" /* yacc.c:358  */

#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;
#else
typedef signed char 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
#  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 defined YYENABLE_NLS && 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

#ifndef YY_ATTRIBUTE
# if (defined __GNUC__                                               \
      && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__)))  \
     || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
#  define YY_ATTRIBUTE(Spec) __attribute__(Spec)
# else
#  define YY_ATTRIBUTE(Spec) /* empty */
# endif
#endif

#ifndef YY_ATTRIBUTE_PURE
# define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
#endif

#ifndef YY_ATTRIBUTE_UNUSED
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
#endif

#if !defined _Noreturn \
     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
# if defined _MSC_VER && 1200 <= _MSC_VER
#  define _Noreturn __declspec (noreturn)
# else
#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
# 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

#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
/* Suppress an incorrect diagnostic about yylval being uninitialized.  */
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
    _Pragma ("GCC diagnostic push") \
    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
    _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
    _Pragma ("GCC diagnostic pop")
#else
# define YY_INITIAL_VALUE(Value) Value
#endif
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
#endif
#ifndef YY_INITIAL_VALUE
# define YY_INITIAL_VALUE(Value) /* Nothing. */
#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 EXIT_SUCCESS
#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
      /* Use EXIT_SUCCESS as a witness for stdlib.h.  */
#     ifndef EXIT_SUCCESS
#      define EXIT_SUCCESS 0
#     endif
#    endif
#   endif
#  endif
# endif

# ifdef YYSTACK_ALLOC
   /* Pacify GCC's 'empty if-body' warning.  */
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (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 EXIT_SUCCESS \
       && ! ((defined YYMALLOC || defined malloc) \
             && (defined YYFREE || defined free)))
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#   ifndef EXIT_SUCCESS
#    define EXIT_SUCCESS 0
#   endif
#  endif
#  ifndef YYMALLOC
#   define YYMALLOC malloc
#   if ! defined malloc && ! defined EXIT_SUCCESS
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
#   endif
#  endif
#  ifndef YYFREE
#   define YYFREE free
#   if ! defined free && ! defined EXIT_SUCCESS
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_alloc;
  YYSTYPE yyvs_alloc;
  YYLTYPE yyls_alloc;
};

/* 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)

# define YYCOPY_NEEDED 1

/* 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_alloc, Stack)                           \
    do                                                                  \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
        Stack = &yyptr->Stack_alloc;                                    \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
    while (0)

#endif

#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST.  The source and destination do
   not overlap.  */
# ifndef YYCOPY
#  if defined __GNUC__ && 1 < __GNUC__
#   define YYCOPY(Dst, Src, Count) \
      __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
#  else
#   define YYCOPY(Dst, Src, Count)              \
      do                                        \
        {                                       \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (Dst)[yyi] = (Src)[yyi];            \
        }                                       \
      while (0)
#  endif
# endif
#endif /* !YYCOPY_NEEDED */

/* YYFINAL -- State number of the termination state.  */
#define YYFINAL  5
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST   3451

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  127
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  188
/* YYNRULES -- Number of rules.  */
#define YYNRULES  547
/* YYNSTATES -- Number of states.  */
#define YYNSTATES  795

/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
   by yylex, with out-of-bounds checking.  */
#define YYUNDEFTOK  2
#define YYMAXUTOK   364

#define YYTRANSLATE(YYX)                                                \
  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex, without out-of-bounds checking.  */
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,    19,     2,     2,     2,     2,     2,   120,
       2,     2,   122,   114,   121,   113,   119,   124,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     8,     2,
       2,   118,     2,   126,     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,   125,     2,   123,    14,    15,     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,   116,     2,   117,     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,     2,     1,     2,     3,     4,
       5,     6,     7,     9,    10,    11,    12,    13,    16,    17,
      18,    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,   115
};

#if YYDEBUG
  /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_uint16 yyrline[] =
{
       0,   384,   384,   385,   385,   394,   395,   397,   399,   402,
     409,   409,   414,   418,   422,   429,   433,   437,   441,   445,
     449,   478,   494,   498,   502,   503,   507,   508,   512,   513,
     514,   515,   516,   517,   518,   519,   520,   526,   527,   540,
     541,   542,   546,   553,   557,   558,   566,   573,   574,   575,
     597,   598,   606,   610,   618,   619,   622,   628,   637,   641,
     645,   650,   659,   660,   661,   686,   687,   688,   689,   690,
     691,   692,   693,   694,   695,   696,   697,   698,   699,   708,
     712,   716,   720,   730,   740,   744,   748,   752,   762,   772,
     776,   780,   787,   800,   802,   802,   815,   818,   828,   839,
     867,   879,   889,   892,   896,   900,   904,   908,   912,   916,
     920,   950,   949,   953,   962,   970,   975,   978,   981,   985,
     989,   993,   997,  1001,  1031,  1030,  1037,  1045,  1052,  1069,
    1075,  1076,  1077,  1082,  1085,  1129,  1128,  1151,  1164,  1174,
    1180,  1185,  1194,  1206,  1207,  1211,  1218,  1222,  1251,  1258,
    1257,  1276,  1282,  1285,  1288,  1297,  1300,  1304,  1314,  1320,
    1321,  1322,  1326,  1338,  1345,  1349,  1353,  1368,  1392,  1393,
    1397,  1401,  1408,  1411,  1417,  1420,  1426,  1427,  1428,  1433,
    1432,  1441,  1445,  1449,  1465,  1466,  1470,  1473,  1480,  1483,
    1487,  1492,  1509,  1516,  1526,  1533,  1559,  1560,  1561,  1562,
    1565,  1572,  1573,  1574,  1578,  1585,  1589,  1596,  1597,  1598,
    1605,  1606,  1607,  1611,  1612,  1669,  1670,  1677,  1678,  1687,
    1700,  1701,  1706,  1707,  1711,  1723,  1729,  1735,  1745,  1749,
    1759,  1763,  1767,  1771,  1775,  1782,  1799,  1810,  1821,  1838,
    1851,  1864,  1874,  1875,  1890,  1900,  1916,  1932,  1941,  1959,
    1970,  1980,  1999,  2010,  2020,  2031,  2046,  2061,  2071,  2076,
    2081,  2088,  2089,  2096,  2097,  2116,  2120,  2124,  2128,  2135,
    2139,  2143,  2147,  2154,  2157,  2167,  2172,  2177,  2182,  2187,
    2192,  2202,  2207,  2212,  2219,  2237,  2248,  2259,  2277,  2291,
    2304,  2309,  2325,  2334,  2335,  2339,  2343,  2344,  2351,  2359,
    2360,  2372,  2372,  2379,  2383,  2394,  2409,  2415,  2422,  2427,
    2435,  2442,  2448,  2453,  2460,  2467,  2474,  2477,  2483,  2486,
    2489,  2500,  2529,  2536,  2548,  2549,  2553,  2560,  2561,  2563,
    2564,  2565,  2567,  2568,  2569,  2570,  2574,  2575,  2578,  2596,
    2614,  2622,  2637,  2669,  2687,  2696,  2699,  2708,  2719,  2720,
    2724,  2725,  2726,  2737,  2738,  2750,  2753,  2769,  2770,  2771,
    2772,  2780,  2784,  2788,  2795,  2801,  2807,  2808,  2813,  2831,
    2835,  2842,  2843,  2850,  2876,  2886,  2903,  2904,  2905,  2909,
    2916,  2919,  2940,  2943,  2953,  2958,  2963,  2971,  2979,  2984,
    2992,  2993,  2999,  3007,  3008,  3011,  3016,  3020,  3023,  3044,
    3045,  3050,  3053,  3054,  3058,  3061,  3067,  3070,  3076,  3091,
    3102,  3103,  3114,  3115,  3119,  3124,  3130,  3145,  3153,  3156,
    3159,  3162,  3165,  3168,  3171,  3177,  3178,  3179,  3183,  3189,
    3192,  3200,  3208,  3216,  3227,  3230,  3233,  3241,  3244,  3250,
    3253,  3265,  3266,  3267,  3268,  3283,  3284,  3285,  3289,  3293,
    3304,  3308,  3319,  3327,  3330,  3333,  3336,  3342,  3345,  3352,
    3355,  3361,  3362,  3366,  3405,  3425,  3432,  3448,  3453,  3458,
    3462,  3472,  3478,  3485,  3488,  3494,  3497,  3500,  3503,  3509,
    3512,  3515,  3521,  3522,  3528,  3531,  3534,  3540,  3543,  3555,
    3558,  3561,  3565,  3568,  3571,  3577,  3580,  3584,  3585,  3586,
    3593,  3594,  3595,  3601,  3602,  3611,  3623,  3624,  3640,  3641,
    3652,  3651,  3660,  3667,  3674,  3682,  3685,  3690,  3697,  3696,
    3711,  3714,  3718,  3721,  3724,  3728,  3728,  3745,  3752,  3758,
    3759,  3762,  3768,  3774,  3777,  3780,  3786,  3787,  3793,  3799,
    3802,  3808,  3811,  3811,  3825,  3828,  3835,  3840
};
#endif

#if YYDEBUG || YYERROR_VERBOSE || 1
/* 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\"", "':'",
  "UNSIGNED", "REAL", "E_UNSIGNED", "EVENT_IDENTIFIER", "EVENT_FUNCTION",
  "'^'", "'_'", "\"--\"", "\"__\"", "DURATION_IDENTIFIER", "'!'",
  "NUMBER_IDENTIFIER", "PREC_TOP", "\"\\\\accepts\"", "\"\\\\alias\"",
  "\"\\\\book\"", "\"\\\\bookpart\"", "\"\\\\change\"",
  "\"\\\\chordmode\"", "\"\\\\chords\"", "\"\\\\consists\"",
  "\"\\\\context\"", "\"\\\\default\"", "\"\\\\defaultchild\"",
  "\"\\\\denies\"", "\"\\\\description\"", "\"\\\\drummode\"",
  "\"\\\\drums\"", "\"\\\\etc\"", "\"\\\\figuremode\"", "\"\\\\figures\"",
  "\"\\\\header\"", "\"\\\\version-error\"", "\"\\\\layout\"",
  "\"\\\\lyricmode\"", "\"\\\\lyrics\"", "\"\\\\lyricsto\"",
  "\"\\\\markup\"", "\"\\\\markuplist\"", "\"\\\\midi\"", "\"\\\\name\"",
  "\"\\\\notemode\"", "\"\\\\override\"", "\"\\\\paper\"",
  "\"\\\\remove\"", "\"\\\\rest\"", "\"\\\\revert\"", "\"\\\\score\"",
  "\"\\\\score-lines\"", "\"\\\\sequential\"", "\"\\\\set\"",
  "\"\\\\simultaneous\"", "\"\\\\tempo\"", "\"\\\\type\"", "\"\\\\unset\"",
  "\"\\\\with\"", "\"\\\\new\"", "\"/+\"", "\"^\"", "\":\"", "\"-\"",
  "\"/\"", "\"<\"", "\">\"", "\"<<\"", "\">>\"", "\"\\\\\"", "\"\\\\!\"",
  "\"\\\\+\"", "FIGURE_CLOSE", "FIGURE_OPEN", "\"_\"",
  "MULTI_MEASURE_REST", "\"markup?\"", "\"scheme?\"", "\"(backed-up?)\"",
  "\"(reparsed?)\"", "\"markup-list?\"", "\"optional?\"",
  "EXPECT_NO_MORE_ARGS", "\"#{\"", "BOOK_IDENTIFIER", "CHORD_MODIFIER",
  "CHORD_REPETITION", "CONTEXT_MOD_IDENTIFIER", "DRUM_PITCH",
  "PITCH_IDENTIFIER", "FRACTION", "LYRIC_ELEMENT", "MARKUP_FUNCTION",
  "MARKUP_LIST_FUNCTION", "MARKUP_IDENTIFIER", "MARKUPLIST_IDENTIFIER",
  "MUSIC_FUNCTION", "MUSIC_IDENTIFIER", "NOTENAME_PITCH", "RESTNAME",
  "SCM_ARG", "SCM_FUNCTION", "SCM_IDENTIFIER", "SCM_TOKEN", "STRING",
  "SYMBOL_LIST", "TONICNAME_PITCH", "'-'", "'+'", "UNARY_MINUS", "'{'",
  "'}'", "'='", "'.'", "'\\''", "','", "'*'", "']'", "'/'", "'['", "'?'",
  "$accept", "start_symbol", "$@1", "lilypond", "toplevel_expression",
  "$@2", "embedded_scm_bare", "embedded_scm_active",
  "embedded_scm_bare_arg", "embedded_scm", "embedded_scm_arg",
  "scm_function_call", "embedded_lilypond_number", "embedded_lilypond",
  "lilypond_header_body", "lilypond_header", "assignment_id", "assignment",
  "identifier_init", "identifier_init_nonumber", "partial_function",
  "context_def_spec_block", "context_mod_arg", "$@3",
  "context_def_spec_body", "book_block", "book_body", "$@4",
  "bookpart_block", "bookpart_body", "$@5", "score_block", "score_body",
  "score_item", "score_items", "$@6", "paper_block", "output_def",
  "output_def_head", "output_def_head_with_mode_switch",
  "music_or_context_def", "output_def_body", "$@7", "tempo_event",
  "music_list", "braced_music_list", "music", "pitch_as_music",
  "music_embedded", "music_embedded_backup", "music_assign",
  "repeated_music", "sequential_music", "simultaneous_music",
  "simple_music", "context_modification", "$@8",
  "context_modification_arg", "optional_context_mod", "context_mod_list",
  "context_prefix", "new_lyrics", "basic_music", "contextable_music",
  "contexted_basic_music", "composite_music", "music_bare",
  "grouped_music_list", "symbol_list_arg", "symbol_list_rev",
  "symbol_list_part", "symbol_list_element", "function_arglist_nonbackup",
  "function_arglist_nonbackup_reparse", "function_arglist_backup",
  "function_arglist", "function_arglist_skip_nonbackup",
  "function_arglist_partial", "function_arglist_partial_optional",
  "function_arglist_common", "function_arglist_common_reparse",
  "function_arglist_optional", "function_arglist_skip_backup",
  "music_function_call", "optional_id", "lyric_mode_music", "$@9",
  "mode_changed_music", "mode_changing_head",
  "mode_changing_head_with_context", "context_change", "property_path",
  "property_operation", "revert_arg", "revert_arg_backup",
  "revert_arg_part", "context_def_mod", "context_mod", "grob_prop_spec",
  "grob_prop_path", "context_prop_spec", "simple_revert_context",
  "music_property_def", "string", "text", "simple_string", "symbol",
  "scalar", "event_chord", "note_chord_element", "chord_body",
  "chord_body_elements", "chord_body_element", "music_function_chord_body",
  "event_function_event", "post_events", "post_event_nofinger",
  "post_event", "string_number_event", "direction_less_event",
  "direction_reqd_event", "octave_check", "quotes", "sup_quotes",
  "sub_quotes", "steno_pitch", "steno_tonic_pitch", "pitch",
  "pitch_or_tonic_pitch", "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",
  "optional_rest", "pitch_or_music", "simple_element", "lyric_element",
  "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_common", "bare_number", "unsigned_number", "exclamations",
  "questions", "full_markup_list", "$@10", "markup_mode", "full_markup",
  "partial_markup", "markup_top", "markup_scm", "$@11", "markup_list",
  "markup_uncomposed_list", "$@12", "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", "$@13",
  "markup", YY_NULLPTR
};
#endif

# ifdef YYPRINT
/* YYTOKNUM[NUM] -- (External) token number corresponding to the
   (internal) symbol number NUM (which must be that of a token).  */
static const yytype_uint16 yytoknum[] =
{
       0,   256,   257,   258,   259,   260,   261,   262,    58,   263,
     264,   265,   266,   267,    94,    95,   268,   269,   270,    33,
     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,    45,    43,   364,   123,   125,    61,    46,
      39,    44,    42,    93,    47,    91,    63
};
# endif

#define YYPACT_NINF -583

#define yypact_value_is_default(Yystate) \
  (!!((Yystate) == (-583)))

#define YYTABLE_NINF -432

#define yytable_value_is_error(Yytable_value) \
  0

  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
     STATE-NUM.  */
static const yytype_int16 yypact[] =
{
      34,  -583,   110,  1396,  1100,  -583,  -583,   579,    27,    37,
    -583,  -583,   706,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,   783,  -583,  -583,  -583,  -583,  -583,    46,   120,   120,
     706,  -583,  -583,     2,  -583,     2,  -583,  -583,  -583,  -583,
    -583,   198,  -583,  -583,   374,  -583,  -583,  -583,  -583,  -583,
    -583,   131,  1301,  -583,  -583,  -583,  -583,  3200,   238,  -583,
    -583,  -583,  -583,  -583,  -583,    47,    84,  -583,   821,  -583,
    -583,   118,   239,   262,  -583,  -583,   186,   282,   282,  -583,
    -583,  -583,  -583,   706,   447,  1100,   793,   793,   793,   389,
     793,   444,  -583,  -583,    94,    94,  -583,    94,   347,  -583,
    -583,   267,   347,    94,   375,  -583,  -583,   300,   347,   141,
    -583,   320,  -583,  -583,  -583,  -583,   281,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  2947,   246,   323,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,    94,  -583,  -583,  -583,
    -583,  -583,  -583,    94,  -583,   861,  -583,    63,  -583,   326,
    -583,    94,  -583,  -583,  -583,  -583,   821,   332,  -583,  -583,
    -583,   190,   244,   252,  -583,  -583,   218,   226,   231,   249,
     253,   555,  -583,  -583,  -583,   218,  1658,   526,   279,  -583,
    -583,   288,  -583,  -583,   295,  -583,   963,   248,  -583,  -583,
    2537,   793,  -583,   377,  -583,  -583,   275,  -583,  -583,  -583,
    -583,  -583,  -583,  3121,  -583,  -583,   238,  -583,  -583,  -583,
      84,   392,  -583,  -583,    47,  -583,  -583,    85,   593,  -583,
    -583,  -583,  -583,   390,  -583,  -583,  -583,  -583,  -583,  -583,
     821,  -583,  -583,  -583,   289,  -583,   573,   331,  -583,  -583,
    -583,  -583,  -583,   289,   283,  -583,  -583,   301,   793,   308,
    -583,   793,   301,   310,  -583,  -583,  -583,    94,   321,  -583,
    -583,  -583,  -583,  -583,   328,  -583,   944,   756,  -583,  -583,
     330,  -583,  -583,  -583,  -583,  -583,   334,   329,   573,   373,
    -583,  -583,  -583,   573,   382,  -583,  -583,   239,  -583,  -583,
    -583,   793,   793,  -583,  -583,  -583,  -583,   330,  -583,    14,
    -583,   463,   563,   778,   441,     2,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,    68,   463,   463,  -583,   463,   801,  -583,  -583,  -583,
    3034,  -583,  1483,  -583,  1566,   579,    84,  -583,  -583,    47,
     579,   413,   371,  -583,   555,    69,  2850,    84,  -583,  -583,
    -583,   418,   427,  -583,  2207,   421,   652,   714,  1367,  -583,
    -583,   489,  -583,   269,  -583,  -583,  -583,  -583,  -583,  -583,
     401,  -583,    99,  -583,  -583,  -583,   400,   793,  -583,  2537,
    -583,  -583,  -583,   392,   249,    84,  -583,   405,   420,   593,
     593,   593,  -583,  -583,   593,  -583,  -583,   796,   450,  -583,
    -583,  -583,  -583,  -583,  -583,   573,   460,  -583,  2317,   658,
     579,  3298,  -583,  2647,  -583,  -583,   461,  -583,  2647,   432,
     190,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,   108,  -583,  -583,   674,
    -583,  -583,   463,   463,  -583,  -583,  2317,   658,  2317,   658,
     442,   446,  1214,  -583,   463,   282,  -583,   459,  -583,  -583,
     459,  -583,  -583,   -10,  -583,  -583,   463,  -583,   557,  -583,
    -583,  -583,  -583,   198,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,   198,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,   249,  -583,  -583,  -583,  -583,   198,
    -583,  -583,  -583,   685,   701,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,   284,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,   483,  2427,   543,  -583,   466,  -583,  -583,   330,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,   621,  -583,
      71,  -583,   463,    71,    71,    71,    71,  2537,  -583,  -583,
    -583,   249,  -583,  -583,  -583,   807,   555,   178,  -583,  -583,
     821,  -583,  -583,  -583,  -583,  2207,   695,  -583,   573,   504,
    1877,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,  -583,
     793,  -583,   793,  -583,   706,  -583,   231,  -583,  -583,  3279,
    -583,  -583,   815,  -583,   477,    87,  -583,   269,  -583,  -583,
    -583,  -583,  -583,  -583,   160,  -583,  -583,   190,  -583,   486,
    3334,   463,   441,   674,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  1877,  -583,  1877,  2757,  2757,
    -583,  -583,   242,   347,  -583,    94,   120,  -583,  -583,  -583,
    -583,   513,  1987,   585,  -583,  -583,  -583,  -583,  -583,  -583,
    -583,   652,  -583,  -583,  -583,  -583,   304,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,   793,  -583,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,    77,    86,  -583,  -583,   518,   178,
    -583,  -583,   537,  1767,  -583,  2207,   658,  -583,   505,  -583,
    -583,  -583,  -583,  -583,  2757,   573,   544,  -583,   430,  -583,
    -583,   190,  -583,  -583,  -583,  -583,   -10,  -583,  -583,    19,
    -583,  -583,  -583,   528,  -583,  -583,   611,  -583,   685,  -583,
    -583,  -583,  -583,  -583,  -583,   318,  -583,  -583,  -583,  -583,
    -583,  -583,  -583,  -583,  -583,  -583,   301,  -583,  -583,   695,
    2097,  2757,  -583,   153,   720,   793,  -583,  -583,  -583,  -583,
    -583,   659,  -583,  -583,  -583,  -583,  -583,  -583,  -583,   793,
     793,   209,   224,   586,   153,  -583,   463,  -583,   463,   556,
     559,   573,   595,   573,   608,   720,   153,   153,   153,   720,
     153,   720,  2427,   153,   153
};

  /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
     Performed when YYTABLE does not 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,
     309,   313,     0,   307,   311,   308,   312,     9,   141,   310,
     314,     0,   512,   510,   140,   306,   139,     0,     0,     0,
       0,   155,    14,     0,   211,     0,    24,    19,    58,   155,
       6,     0,    20,    25,     0,     7,    12,    13,    15,    21,
     142,     0,     0,   173,   197,   214,   213,     0,   207,   208,
      16,   198,   212,   196,   210,     0,   186,    18,     0,    17,
      52,   439,   437,   497,   392,   394,     0,   426,   425,   384,
     385,   437,   498,     0,     0,     0,     0,     0,     0,     0,
       0,   179,   371,   459,   429,   429,   182,   429,   401,    72,
     469,     0,   401,   429,     0,    23,    22,   468,   401,   427,
      37,   167,    38,    48,     4,    47,     0,    69,    66,    67,
      65,    68,   366,   163,   161,     0,   164,   159,   168,    77,
     169,   178,   177,    73,   176,   367,   429,   396,   390,   380,
     393,   382,   410,   429,   506,     0,   434,   380,   395,   162,
     380,   429,   160,   380,    44,    76,     0,   467,    75,   353,
     354,     0,   101,   115,   355,   356,   299,   353,   354,   301,
       0,     0,   133,   172,   174,   299,     0,     0,     0,   273,
     261,     0,   298,   222,     0,    42,     0,     0,    11,   220,
       0,     0,   221,   316,   217,   219,     0,   145,   151,   148,
     138,   147,   146,     0,   202,   201,   205,   206,   203,   162,
     186,   209,   304,   187,     0,   542,   525,     0,     0,   541,
     529,   518,   513,     0,   515,   521,   520,   522,   523,   539,
       0,   517,   440,    45,   432,   499,     0,     0,   379,    80,
     417,   388,   389,   433,     0,    96,    53,   339,   340,     0,
     343,     0,   342,     0,   437,   350,   352,   154,     0,   351,
     347,   181,   185,   184,     0,   183,     0,     0,   431,   380,
     430,   380,   465,   404,   406,   411,   403,   402,     0,     0,
      79,   408,   466,     0,     0,    81,   409,   417,    43,   391,
      78,     0,     0,   468,   167,   155,   159,   380,   467,     0,
     380,    49,   471,     0,   508,     0,   418,   424,   421,   422,
     415,   420,   419,   423,   416,   383,   387,   386,   397,   398,
     414,     0,   166,   363,   380,   464,     0,   503,   504,   505,
       0,   102,     0,   116,     0,     0,   186,   303,   199,     0,
       0,     0,     0,   511,     0,     0,   128,   186,   157,   175,
     156,     0,   293,   242,     0,     0,     0,     0,     0,   158,
      54,   501,   348,   427,    74,    59,    62,    70,   380,    71,
      63,   491,   492,   500,   496,   349,     0,     0,   317,     0,
     144,   150,   143,   204,   301,   186,   305,     0,     0,     0,
       0,     0,   535,   544,     0,   536,   532,     0,     0,   545,
     524,   527,   540,   516,   438,     0,     0,   266,   265,     0,
       0,    94,   341,    82,   324,   345,     0,   323,    83,     0,
       0,   188,   369,   380,   377,   378,   376,   372,   375,   413,
     412,   506,   441,   370,   448,   442,     0,   444,   449,   457,
     460,   443,   365,   364,   405,   407,   265,     0,   265,     0,
       0,     0,     0,   165,   368,   427,   381,     0,   476,   475,
       0,   473,   507,   399,   435,   436,   470,   514,   170,   113,
     109,   100,   110,     0,   104,   105,   103,   137,   106,   108,
     107,   126,   122,   114,   123,     0,   118,   117,   119,   121,
     120,   300,   192,   302,   301,   129,   127,   130,   134,     0,
     132,   131,   193,     0,     0,   289,   290,    28,    26,   284,
      27,   287,   427,    39,   274,    40,    33,    34,    35,    32,
      36,    41,    31,   276,   286,   285,   275,    30,   288,    29,
     295,     0,   263,     0,   232,   215,   234,   230,   428,   229,
     233,   231,   278,   283,   282,   280,   279,   281,     0,   502,
       0,   495,    64,     0,     0,     0,     0,     0,   218,    60,
     194,   301,   133,   133,   538,     0,     0,     0,   528,   531,
       0,   547,   530,   519,   270,   269,     0,    85,     0,     0,
     263,   268,   315,   329,   332,   327,   330,   331,   334,   335,
       0,   328,     0,   333,     0,    92,    37,    93,    99,     0,
      98,   336,     0,    97,     0,     0,   359,     0,   357,    87,
     362,   344,   358,   360,     0,    88,   346,     0,   152,   487,
      94,   374,   508,   458,   447,   456,   454,   453,   445,   446,
     450,   455,   451,   452,    84,   263,    86,   263,     0,     0,
     478,   477,   472,   401,   509,   429,     0,   112,   125,   200,
     136,     0,   296,   297,   260,   259,   257,   258,   291,   292,
     277,     0,   240,   241,   235,   238,   427,   227,   223,   237,
     236,   228,   239,   262,     0,    57,    56,    55,   490,   489,
     493,   494,    61,   195,     0,     0,   534,   533,     0,     0,
     537,   546,     0,   296,   272,   265,     0,    90,     0,   321,
     319,    95,   337,   338,     0,     0,     0,   361,     0,   322,
     153,     0,   190,   180,   191,   189,   399,    89,    91,   484,
     481,   479,   474,   480,   482,   400,   461,   171,     0,   248,
     249,   254,   250,   255,   256,   427,   243,   244,   246,   245,
     247,   294,   264,   224,   225,   226,   216,   543,   526,     0,
     263,     0,   318,   265,     0,     0,   326,   488,   380,   486,
     485,     0,   462,   380,   297,   251,   252,   253,   320,     0,
       0,     0,     0,     0,   267,   325,   373,   483,   463,     0,
       0,     0,     0,     0,     0,     0,    82,    83,   265,     0,
     265,     0,   267,   267,   267
};

  /* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
    -583,  -583,  -583,  -583,  -583,  -583,    92,   -15,  -583,    50,
     204,     3,   588,   609,  -583,  -231,  -583,   -31,  -326,    72,
     309,    16,    75,  -583,  -583,    11,  -583,  -583,    62,  -583,
    -583,    24,   -36,  -583,  -583,  -583,   368,    43,  -583,  -583,
    -583,  -583,  -583,  -583,     6,   -21,  -215,   646,    64,  -583,
      67,  -583,  -583,  -583,  -583,   438,  -583,  -583,  -127,  -583,
    -583,   502,   656,  -583,   661,     7,  -583,   -14,  -308,   -64,
     -82,  -583,    97,  -583,  -447,    -2,  -582,   -72,  -347,  -138,
    -583,  -144,  -444,   -76,   550,  -322,  -583,  -583,  -583,  -583,
    -583,  -153,  -583,   145,  -583,  -583,  -583,   106,  -583,  -261,
     -87,  -583,  -583,     8,  -583,    13,   -19,  -383,   676,  -583,
    -583,  -583,  -583,  -583,  -583,   -78,  -171,    80,  -583,   597,
    -583,    28,   -85,  -583,  -583,  -583,   134,   140,  -583,  -583,
     454,  -583,  -583,  -291,  -125,   129,   -16,    21,   671,  -583,
    -583,  -583,   340,  -583,  -583,  -583,  -583,    12,  -583,  -583,
    -199,  -583,  -583,   114,  -583,  -583,     1,   147,  -583,    39,
    -306,     9,  -292,  -152,   336,   148,    40,  -583,   654,    -3,
      45,  -583,  -119,  -583,  -135,  -188,  -583,  -583,  -583,  -583,
    -583,   574,   214,  -189,   -37,  -182,  -583,   213
};

  /* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
      -1,     2,     4,     3,    40,    41,   110,    42,   513,   294,
     514,   112,   113,   114,   548,   188,    44,    45,   365,   366,
     116,   516,   598,   599,   411,   517,   332,   473,   518,   334,
     485,   519,   345,   498,   346,   499,   476,   520,    50,    51,
     381,    52,   203,   122,   176,    53,   123,   124,   350,   126,
     521,    54,    55,    56,   128,   522,   264,   265,   214,   620,
      57,   211,    58,   206,    59,   130,    61,    62,   536,   193,
     194,   195,   180,   181,   352,   182,   533,   581,   407,   183,
     184,   354,   355,    63,   336,   338,   339,    64,    65,    66,
     131,   196,   601,   415,   416,   417,   602,   603,   248,   249,
     253,   251,   132,   610,   257,   161,   166,   611,   134,   135,
     136,   266,   427,   428,   137,   322,   138,   456,   140,   141,
     317,   645,   275,   276,   277,   142,   143,   144,   431,   318,
     289,   319,   145,   537,   268,   269,   146,   270,   234,   148,
     438,   632,   439,   633,   440,   267,   763,   209,   150,   151,
     152,   153,   642,   461,   722,   723,   724,   618,   370,   371,
     372,   373,   374,   619,   304,   463,   527,   171,   156,   298,
     529,   222,   223,   398,   224,   225,   388,   226,   227,   397,
     228,   395,   396,   229,   344,   231,   387,   572
};

  /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
     positive, shift that token.  If negative, reduce the rule whose
     number is the opposite.  If YYTABLE_NINF, syntax error.  */
static const yytype_int16 yytable[] =
{
      69,   157,   170,   260,   239,   250,    43,   173,   174,   330,
      60,   175,   133,   154,    46,   118,   149,   281,   302,   368,
     117,   202,   247,   286,   252,   147,   252,    48,   120,   280,
     450,   230,   285,   185,   169,   616,   343,   201,   376,   353,
     378,   402,   401,    67,   155,   186,    49,   121,   403,   158,
     543,   212,   342,   559,   111,    43,   652,   551,   574,   653,
      22,   301,   560,   -50,   244,    47,   119,   544,   125,   315,
     495,   127,   323,   258,   238,   325,   115,   464,   495,   742,
     361,    73,   157,   384,   139,   177,   259,   495,   759,   178,
     179,    82,   408,   133,   154,   412,   118,   149,   353,   160,
     453,   117,   185,   254,   165,    28,   147,    29,   643,   120,
       5,   100,    81,   168,   742,   468,   644,   432,   154,   326,
      31,   613,   165,     1,   293,   155,   613,   232,   121,   693,
     158,   501,   653,   760,   446,   111,   192,   402,   401,   448,
     353,   263,   320,   162,   403,   353,   297,   119,    91,   125,
     287,    73,   127,   163,    22,   402,   401,   115,   540,   546,
     221,    82,   172,    39,   465,   139,   605,   389,   390,   414,
     705,   391,   649,   392,   706,   165,   165,    96,   192,   192,
     192,   256,   192,   523,   550,   321,   496,   375,   434,   295,
     426,   442,   296,   443,   747,   314,   654,   297,   133,   327,
     386,   118,   369,   748,   769,   451,   117,   297,   368,   492,
     328,   329,   770,   655,   120,   571,   105,   106,   435,   380,
     502,   555,   454,   556,   271,   342,   272,   247,   252,   694,
     155,   682,   282,   121,   215,   158,    39,   523,   187,   683,
     364,   419,   647,   296,   551,   210,   466,   197,   221,   680,
     681,   719,   119,   296,   648,   771,   616,   367,   561,   233,
     772,   575,   569,   221,   441,   300,   708,   353,   650,   236,
     382,   535,   303,   237,   179,   523,   217,   523,   361,    73,
     324,   652,   235,   192,   764,   192,   105,   106,   219,    82,
     552,   240,   781,   658,   659,   558,   782,    35,   105,   106,
    -348,   452,   693,   238,   660,   764,   709,   783,   457,   458,
     459,   784,   460,   743,   744,   707,   425,   472,   290,   484,
     -74,   752,   221,   -70,   745,   493,   -71,   765,   766,   480,
     299,   490,  -349,   720,   331,    43,   335,    43,   767,   478,
     192,   488,   333,   192,  -355,   621,   613,   613,   491,  -356,
     278,   528,   337,   494,   279,   179,   475,   515,   486,   437,
     570,   668,   356,   526,   360,   353,   541,   547,   768,   539,
     545,   340,   479,   357,   489,   477,   375,   477,   538,   538,
     358,   402,   401,   192,   192,   571,   368,   133,   691,   500,
     118,   369,   604,   379,   474,   117,   497,   296,   254,   385,
     429,   410,   694,   120,   523,   528,   430,    81,   404,   668,
     375,   515,   613,   296,   409,   375,   515,   526,   221,   155,
     377,   515,   121,   582,   158,   612,   413,   160,   418,   364,
     612,   687,   160,   441,   695,    22,   221,   698,   353,   420,
     353,   119,   129,   528,   421,   528,   367,   342,   688,   515,
     445,   515,   321,   532,   444,   526,   447,   526,   283,   613,
     462,   597,   284,   179,   668,   449,   668,   273,   274,   192,
     329,    71,   400,   297,    74,    75,   305,    77,    78,    79,
      80,   737,   105,   106,   189,   105,   106,   189,   524,   221,
     399,   400,   190,   191,   525,   389,   377,   105,   106,   255,
     402,   503,   160,   596,   213,   530,   580,   691,   779,   549,
     414,  -296,   504,   657,   553,   554,   656,   677,   557,   296,
     726,   562,   737,   129,   523,   538,   684,   685,   437,   672,
     689,   241,   242,   239,   573,   515,   563,   261,   105,   106,
     189,   671,   524,   576,   635,   614,   637,   262,   525,   755,
     617,    35,   105,   106,   375,   105,   106,   164,   725,   757,
     638,   753,   646,   245,   639,   133,   661,   353,   118,   369,
     688,   108,   528,   117,   673,   700,   455,   672,   515,   668,
     524,   120,   524,   515,   526,   674,   525,   696,   525,   671,
     353,   640,   678,   679,   641,   704,   728,   155,   676,   711,
     121,   604,   158,   564,   565,   566,   701,   364,   567,   177,
     746,   353,   216,   351,   179,   686,   741,   608,   399,   119,
     749,   668,   608,   751,   367,   727,   756,   754,   129,  -431,
    -431,  -431,   672,  -431,   672,   375,   375,   788,   515,   790,
     515,   515,   515,   353,   671,   353,   671,   761,   213,   740,
     612,   612,   703,   341,   218,   515,   405,    68,   221,   221,
     406,   179,   221,   105,   106,   762,   669,   329,   719,   785,
     597,   220,   670,   775,   786,   394,   390,   787,   789,   391,
     776,   392,   192,   780,   192,   778,   165,   105,   106,   159,
     740,   791,   528,   624,   246,   714,   515,   288,   515,   280,
     285,   375,   487,   204,   526,   247,   252,   515,   383,   524,
     254,    73,   596,   205,   669,   525,   612,   577,   207,    81,
     670,    82,   609,   254,    73,   347,   715,   615,    35,   105,
     106,    38,    81,   208,    82,   177,   667,   699,   675,   531,
     179,   578,   316,    68,   758,   579,   179,   672,   375,   625,
     626,   627,   243,   515,   515,   634,   721,   636,   532,   671,
      22,   329,   777,   612,   710,   432,   192,   622,   177,   669,
     716,   669,   651,   179,   213,   670,   623,   670,   405,    68,
     690,   221,   692,   179,   667,   213,   738,   628,   629,   672,
       0,   393,   739,   750,     0,   515,    98,   630,   631,    68,
     192,   671,    22,   578,     0,   102,     0,   773,   179,    98,
       0,   100,   535,   108,   105,   106,   164,   129,   102,     0,
     534,     0,     0,   213,   293,   535,   108,   738,     0,   524,
      68,     0,     0,   739,   433,   525,   434,     0,   467,   667,
      68,   667,   608,   608,   457,   458,   459,   192,   460,   600,
       0,   774,   215,   216,     0,     0,   736,   215,   216,     0,
       0,   192,   192,     0,   105,   106,   435,     0,     0,    71,
       0,     0,    74,    75,   305,   306,   307,   215,   216,     0,
     308,   436,   792,     0,   669,     0,   793,     0,   794,   697,
     670,   105,   106,   167,   217,   218,     0,   736,     0,   217,
     218,   105,   106,   189,   105,   106,   219,    22,   608,   105,
     106,   219,   220,   568,    35,   105,   106,   220,     0,   217,
     218,    68,    35,   105,   106,   702,   669,     0,     0,   105,
     106,   219,   670,   309,     0,     0,     0,   220,     0,     0,
       0,     0,     0,     0,   717,     0,   718,     0,     0,     0,
       0,     0,     0,    68,   667,   608,     0,     0,     0,     0,
       0,     0,     0,    33,   348,     0,     0,     7,    35,   105,
     106,   310,   254,     0,   311,   312,     0,     0,     0,     0,
     313,    81,     0,     0,    68,     0,    68,     0,    68,    83,
      10,    11,     0,    12,     0,   129,   667,     0,    13,    14,
      68,    15,    16,     0,     0,     0,    19,    20,    21,    22,
       0,    68,    68,    25,   291,     0,   422,     0,    87,     0,
       0,    28,   292,    29,    89,     0,    90,     0,    30,     0,
       0,     0,     0,     0,    92,     0,    31,     0,   423,    98,
       0,     0,    93,     0,    94,     0,    33,   424,   102,     0,
       0,    35,   105,   106,     0,    95,   108,    97,    98,     0,
     100,     0,   577,     0,     0,    33,    34,   102,   103,     0,
      35,   105,   106,   293,     0,   108,     0,     0,     0,    39,
     359,     0,     0,   697,     0,     0,     0,     0,     0,     0,
      68,     0,     0,     0,     0,   609,   615,   634,     0,   636,
     -46,    70,   717,   718,     7,     0,    68,     0,    71,    72,
      73,    74,    75,    76,    77,    78,    79,    80,    81,     0,
      82,     0,     0,     0,     8,     9,    83,    10,    11,     0,
      84,     0,     0,     0,     0,    13,    14,     0,    15,    16,
       0,    85,    18,    19,    20,    21,    22,    23,    24,     0,
      25,    86,    26,     0,     0,    87,    27,     0,    28,    88,
      29,    89,     0,    90,    91,    30,     0,     0,     0,     0,
       0,    92,     0,    31,     0,     0,     0,     0,     0,    93,
       0,    94,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    95,    96,    97,    98,    99,   100,     0,     0,
       0,     0,   101,    34,   102,   103,     0,   104,   105,   106,
     107,     0,   108,   109,   -51,   348,    39,     0,     7,     0,
       0,     0,     0,   254,     0,     0,     0,     0,     0,     0,
       0,     0,    81,     0,     0,     0,     0,     0,     0,     0,
      83,    10,    11,     0,    12,     0,     0,     0,     0,    13,
      14,     0,    15,    16,     0,     0,     0,    19,    20,    21,
      22,     0,     0,     0,    25,   291,     0,     0,     0,    87,
       0,     0,    28,   292,    29,    89,     0,    90,     0,    30,
       0,     0,     0,     0,     0,    92,     0,    31,     0,     0,
       0,     0,     0,    93,     0,    94,     0,     0,     0,     0,
       0,     0,   198,     0,     0,  -149,    95,     0,    97,    98,
       0,   100,     0,     0,     0,     0,    33,    34,   102,   103,
       0,    35,   105,   106,   293,     0,   108,  -149,  -149,  -149,
      39,  -149,     0,     0,     0,     0,  -149,  -149,     0,  -149,
    -149,     0,     0,     0,  -149,  -149,  -149,     0,     0,     0,
       0,  -149,  -149,     0,     0,     0,  -149,     0,     0,  -149,
    -149,  -149,  -149,     0,  -149,     0,  -149,     0,     0,     0,
       0,     0,  -149,     0,  -149,     0,   254,    73,     0,     0,
    -149,     0,  -149,     0,     0,    81,     0,    82,     0,     0,
       0,     0,     0,  -149,     0,  -149,    -2,     6,     0,     0,
       7,     0,     0,  -149,  -149,     0,  -149,     0,    35,    36,
     199,    38,     0,    22,     0,     0,     0,  -149,   200,     0,
       8,     9,     0,    10,    11,     0,    12,     0,     0,     0,
       0,    13,    14,     0,    15,    16,   -10,    17,    18,    19,
      20,    21,    22,    23,    24,     0,    25,     0,    26,     0,
       0,     0,    27,     0,    28,     0,    29,     0,     0,     0,
       0,    30,    98,     0,   100,     0,     0,     0,     0,    31,
       0,   102,     0,   542,     0,     0,     0,   293,   535,   108,
       0,     0,     0,     0,   469,     0,    32,     7,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,    33,    34,
       0,     0,     0,    35,    36,    37,    38,     0,     9,     0,
      10,    11,    39,    12,     0,     0,     0,     0,    13,    14,
       0,    15,    16,  -111,     0,    18,    19,    20,    21,    22,
      23,    24,     0,    25,     0,    26,     0,     0,     0,    27,
       0,    28,     0,    29,     0,     0,     0,     0,    30,     0,
       0,     0,     0,     0,     0,     0,    31,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   481,     0,     0,
       7,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    33,    34,     0,     0,     0,
      35,    36,   470,    10,    11,     0,    12,     0,     0,    39,
     471,    13,    14,     0,    15,    16,  -124,     0,    18,    19,
      20,    21,    22,    23,    24,     0,    25,     0,    26,     0,
       0,     0,    27,     0,    28,     0,    29,     0,     0,     0,
       0,    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,   348,
       0,     0,     7,     0,     0,     0,     0,   254,    33,    34,
       0,     0,     0,    35,    36,   482,    81,     0,     0,     0,
       0,     0,    39,   483,    83,    10,    11,     0,    12,     0,
       0,     0,     0,    13,    14,     0,    15,    16,     0,     0,
       0,    19,    20,    21,    22,     0,     0,     0,    25,   291,
       0,     0,     0,    87,     0,     0,    28,   292,    29,    89,
       0,    90,     0,    30,     0,     0,     0,     0,     0,    92,
       0,    31,   349,     0,     0,     0,     0,    93,     0,    94,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      95,     0,    97,    98,     0,   100,     0,     0,     0,     0,
      33,    34,   102,   103,     0,    35,   105,   106,   293,     0,
     108,     7,     0,     0,    39,    71,   729,   730,    74,    75,
     305,    77,    78,    79,    80,   731,     0,   732,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,  -271,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,   504,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   733,   510,   734,     0,   108,
     735,     7,     0,    39,     0,    71,   662,    73,    74,    75,
      76,    77,    78,    79,    80,   663,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,  -267,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,    86,    26,
       0,     0,    87,    27,     0,    28,    88,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,   101,
      34,   102,   103,   508,   104,   664,   510,   665,     0,   108,
     666,     7,     0,    39,     0,    71,   729,   730,    74,    75,
     305,    77,    78,    79,    80,   731,     0,   732,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,   504,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   733,   510,   734,     0,   108,
     735,     7,     0,    39,     0,    71,   662,    73,    74,    75,
     305,    77,    78,    79,    80,   663,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,  -267,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   664,   510,   665,     0,   108,
     666,     7,     0,    39,     0,    71,   505,    73,    74,    75,
     305,    77,    78,    79,    80,   506,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   509,   510,   511,     0,   108,
     512,     7,     0,    39,     0,    71,   505,    73,    74,    75,
      76,    77,    78,    79,    80,   506,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,    86,    26,
       0,     0,    87,    27,     0,    28,    88,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,   101,
      34,   102,   103,   508,   104,   509,   510,   511,     0,   108,
     512,     7,     0,    39,     0,    71,   662,    73,    74,    75,
     305,    77,    78,    79,    80,   663,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   664,   510,   665,     0,   108,
     666,     7,     0,    39,     0,    71,   361,    73,    74,    75,
      76,    77,    78,    79,    80,     0,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,    86,    26,
       0,     0,    87,    27,     0,    28,    88,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,    99,     0,     0,     0,     0,     0,   101,
      34,   102,   103,     0,   104,   105,   106,   362,     0,   108,
     363,     7,     0,    39,     0,     0,   361,    73,     0,     0,
     605,     0,     0,     0,     0,     0,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,    86,    26,
       0,     0,    87,    27,     0,    28,    88,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     0,     0,     0,     0,     0,   101,
      34,   102,   103,   508,   104,   606,   510,   362,     0,   108,
     607,     7,     0,    39,     0,     0,   361,    73,     0,     0,
       0,     0,     0,     0,     0,     0,     0,    82,     0,     0,
       0,     8,     9,    83,    10,    11,     0,    84,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   291,    26,
       0,     0,    87,    27,     0,    28,   292,    29,    89,     0,
      90,    91,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    95,
      96,    97,    98,   507,     7,     0,     0,     0,     0,    33,
      34,   102,   103,   508,    35,   606,   510,   362,     0,   108,
     607,     0,     0,    39,     0,     0,    83,    10,    11,     0,
      12,     0,     0,     0,     0,    13,    14,     0,    15,    16,
    -135,     0,    18,    19,    20,    21,    22,     0,    24,     0,
      25,   291,    26,     0,     0,    87,     0,     0,    28,   292,
      29,    89,     0,    90,     0,    30,     0,     0,     0,     0,
       0,    92,     0,    31,     0,     0,     0,     0,     0,    93,
       0,    94,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    95,     0,    97,    98,     0,   100,     0,     0,
       0,     7,    33,    34,   102,   103,   254,    35,   105,   106,
     293,     0,   108,     0,     0,    81,    39,     0,     0,     0,
       0,     0,     0,    83,    10,    11,     0,    12,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,     0,
      19,    20,    21,    22,     0,     0,     0,    25,   291,     0,
       0,     0,    87,     0,     0,    28,   292,    29,    89,     0,
      90,     0,    30,     0,     0,     0,     0,     0,    92,     0,
      31,     0,     0,     0,     0,     0,    93,     0,    94,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     7,    95,
       0,    97,    98,     0,   100,     0,     0,     0,     0,    33,
      34,   102,   103,     0,    35,   105,   106,   293,     0,   108,
      83,    10,    11,    39,    12,     0,     0,     0,     0,    13,
      14,     0,    15,    16,     0,     0,     0,    19,    20,    21,
      22,     0,     0,     0,    25,   291,     0,     0,     0,    87,
       0,     0,    28,   292,    29,    89,     0,    90,     0,    30,
       0,     0,     0,     0,     0,    92,     0,    31,     0,     0,
       0,     0,     0,    93,     0,    94,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     7,    95,     0,    97,    98,
       0,   100,     0,     0,     0,     0,    33,    34,   102,   103,
       0,     0,     0,     0,   293,     0,   108,    83,    10,    11,
      39,    84,     0,     0,     0,     0,    13,    14,     0,    15,
      16,     0,     0,     0,    19,    20,    21,     0,     0,     0,
       0,    25,   291,     0,     0,     0,    87,     0,     0,    28,
     292,    29,    89,     0,    90,     0,    30,     0,     0,     0,
       0,     0,    92,     0,    31,     0,     0,     0,     0,     0,
      93,     0,    94,     0,     7,     0,     0,     0,     0,     0,
       0,     0,     0,    95,     0,    97,     0,     0,     0,     0,
       0,     0,     0,    33,    34,     0,   103,    10,    11,     0,
      12,     0,     0,     0,     0,    13,    14,    39,    15,    16,
       0,     0,     0,    19,    20,    21,     0,     0,     0,     0,
      25,     0,     0,     0,     0,     0,     0,     0,    28,     0,
      29,    89,     0,     0,     0,    30,     0,     0,     0,     0,
       0,    92,     0,    31,     0,     0,     0,     0,     0,    93,
       0,    94,     0,     7,     0,     0,     0,     0,     0,     0,
       0,     0,    95,     0,    97,    98,     0,     0,     0,     0,
       0,     0,    33,    34,   102,   103,    10,    11,     0,    12,
       0,     0,   108,     0,    13,    14,    39,    15,    16,     0,
     583,   584,    19,    20,    21,     0,     0,   585,     0,    25,
     586,   587,   588,     0,     0,     0,     0,    28,     0,    29,
       0,     0,     0,     0,    30,     0,     0,   589,     0,   590,
       0,   591,    31,   592,     0,     0,   583,   584,     0,     0,
     593,   594,    91,   585,     0,     0,   586,   587,   588,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    33,    34,   589,     0,   590,     0,   591,     0,   592,
       0,    96,     0,     0,     0,    39,   593,   594,     0,     0,
       0,     0,     0,     0,     0,    35,   105,   106,   164,     0,
       0,     0,     0,     0,     0,   595,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   712,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    35,   105,   106,   164,     0,     0,     0,     0,     0,
       0,   713
};

static const yytype_int16 yycheck[] =
{
       3,     4,    21,    90,    76,    87,     3,    28,    29,   161,
       3,    30,     4,     4,     3,     4,     4,   102,   143,   190,
       4,    52,    86,   108,    88,     4,    90,     3,     4,   101,
     291,    68,   104,    35,    21,   418,   171,    52,   191,   177,
     193,   230,   230,     3,     4,    39,     3,     4,   230,     4,
     358,    65,   171,   379,     4,    52,   503,   363,   405,   503,
      46,   139,   384,     0,    83,     3,     4,   358,     4,   145,
       1,     4,   150,    89,    76,   153,     4,     9,     1,   661,
       9,    10,    85,   210,     4,    83,    89,     1,    69,    87,
      88,    20,   236,    85,    85,   248,    85,    85,   236,     7,
     299,    85,   104,     9,    12,    58,    85,    60,   118,    85,
       0,    97,    18,    21,   696,   330,   126,     9,   109,   156,
      73,   413,    30,    89,   110,    85,   418,     9,    85,   576,
      85,   346,   576,   114,   278,    85,    44,   326,   326,   283,
     278,    91,   145,   116,   326,   283,   125,    85,    64,    85,
       9,    10,    85,   116,    46,   344,   344,    85,   357,   358,
      68,    20,   116,   116,    96,    85,    13,    82,    83,   251,
      83,    86,   494,    88,    87,    83,    84,    93,    86,    87,
      88,    89,    90,   354,   113,   122,   117,   190,    80,   125,
     266,   269,   125,   271,   117,   145,   504,   176,   190,     9,
     214,   190,   190,   117,    51,   292,   190,   186,   379,   336,
      20,   161,    59,   504,   190,   397,   108,   109,   110,   203,
     347,   122,   300,   124,    95,   344,    97,   291,   292,   576,
     190,   557,   103,   190,    56,   190,   116,   408,    40,   561,
     190,   257,   473,   176,   550,     7,   324,   116,   156,   555,
     556,     9,   190,   186,   485,   102,   639,   190,   385,    20,
     107,   405,   397,   171,   267,   136,   106,   405,   499,    83,
     203,   111,   143,    87,    88,   446,    98,   448,     9,    10,
     151,   728,    20,   191,   728,   193,   108,   109,   110,    20,
     368,     9,    83,     9,    10,   377,    87,   107,   108,   109,
       0,   295,   749,   305,    20,   749,   614,    83,    66,    67,
      68,    87,    70,     9,    10,   607,   266,   332,    37,   334,
       0,   704,   230,     0,    20,   339,     0,     9,    10,   332,
      84,   334,     0,    91,    90,   332,   118,   334,    20,   332,
     248,   334,    90,   251,   118,   423,   638,   639,   335,   118,
      83,   354,   103,   340,    87,    88,   332,   354,   334,   267,
     397,   532,    83,   354,   116,   503,   357,   358,   751,   357,
     358,   118,   332,    85,   334,   332,   379,   334,   357,   358,
      85,   570,   570,   291,   292,   567,   557,   379,   570,   346,
     379,   379,   411,   118,   332,   379,   346,   330,     9,     7,
     266,   118,   749,   379,   575,   408,   266,    18,   119,   580,
     413,   408,   704,   346,    83,   418,   413,   408,   326,   379,
     119,   418,   379,   410,   379,   413,   118,   335,   118,   379,
     418,   566,   340,   436,   578,    46,   344,   590,   576,   118,
     578,   379,     4,   446,   116,   448,   379,   566,   567,   446,
     121,   448,   122,   356,   120,   446,    83,   448,    83,   751,
      19,   411,    87,    88,   635,    83,   637,   120,   121,   377,
     420,     8,   101,   452,    11,    12,    13,    14,    15,    16,
      17,   652,   108,   109,   110,   108,   109,   110,   354,   397,
     100,   101,   118,   119,   354,    82,   119,   108,   109,   110,
     689,    83,   410,   411,    66,    84,   409,   689,   769,    20,
     592,    84,    85,   504,   113,   114,   504,   548,   118,   452,
     645,   116,   693,    85,   695,   504,   562,   563,   436,   532,
     567,    77,    78,   605,    84,   532,   116,    93,   108,   109,
     110,   532,   408,    83,   447,    84,   449,   103,   408,   119,
     118,   107,   108,   109,   557,   108,   109,   110,   643,   711,
     118,   705,     5,   116,   118,   557,    83,   705,   557,   557,
     689,   112,   575,   557,    31,   594,   113,   580,   575,   750,
     446,   557,   448,   580,   575,   119,   446,    83,   448,   580,
     728,   457,   553,   554,   460,   118,    83,   557,   548,   113,
     557,   620,   557,   389,   390,   391,   599,   557,   394,    83,
     674,   749,    57,    87,    88,   565,    31,   413,   100,   557,
      83,   792,   418,   118,   557,   646,   708,    83,   190,    66,
      67,    68,   635,    70,   637,   638,   639,   781,   635,   783,
     637,   638,   639,   781,   635,   783,   637,   119,   210,   652,
     638,   639,   602,    98,    99,   652,    83,     3,   566,   567,
      87,    88,   570,   108,   109,    54,   532,   617,     9,    83,
     620,   116,   532,   755,   118,    82,    83,   118,    83,    86,
     758,    88,   590,   770,   592,   763,   594,   108,   109,   110,
     693,    83,   695,    19,    85,   620,   693,   109,   695,   771,
     772,   704,   334,    57,   695,   769,   770,   704,   206,   575,
       9,    10,   620,    57,   580,   575,   704,   408,    57,    18,
     580,    20,   413,     9,    10,   175,   620,   418,   107,   108,
     109,   110,    18,    57,    20,    83,   532,   592,   117,    87,
      88,    83,   145,    89,   716,    87,    88,   750,   751,    75,
      76,    77,    81,   750,   751,   446,   642,   448,   661,   750,
      46,   711,   761,   751,   617,     9,   674,   431,    83,   635,
     622,   637,    87,    88,   336,   635,   436,   637,    83,   125,
     567,   689,    87,    88,   580,   347,   652,   113,   114,   792,
      -1,   217,   652,   696,    -1,   792,    95,   123,   124,   145,
     708,   792,    46,    83,    -1,   104,    -1,    87,    88,    95,
      -1,    97,   111,   112,   108,   109,   110,   379,   104,    -1,
     106,    -1,    -1,   385,   110,   111,   112,   693,    -1,   695,
     176,    -1,    -1,   693,    78,   695,    80,    -1,    37,   635,
     186,   637,   638,   639,    66,    67,    68,   755,    70,   411,
      -1,   754,    56,    57,    -1,    -1,   652,    56,    57,    -1,
      -1,   769,   770,    -1,   108,   109,   110,    -1,    -1,     8,
      -1,    -1,    11,    12,    13,    14,    15,    56,    57,    -1,
      19,   125,   785,    -1,   750,    -1,   789,    -1,   791,   580,
     750,   108,   109,   110,    98,    99,    -1,   693,    -1,    98,
      99,   108,   109,   110,   108,   109,   110,    46,   704,   108,
     109,   110,   116,   117,   107,   108,   109,   116,    -1,    98,
      99,   267,   107,   108,   109,   110,   792,    -1,    -1,   108,
     109,   110,   792,    72,    -1,    -1,    -1,   116,    -1,    -1,
      -1,    -1,    -1,    -1,   635,    -1,   637,    -1,    -1,    -1,
      -1,    -1,    -1,   299,   750,   751,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,   102,     1,    -1,    -1,     4,   107,   108,
     109,   110,     9,    -1,   113,   114,    -1,    -1,    -1,    -1,
     119,    18,    -1,    -1,   330,    -1,   332,    -1,   334,    26,
      27,    28,    -1,    30,    -1,   557,   792,    -1,    35,    36,
     346,    38,    39,    -1,    -1,    -1,    43,    44,    45,    46,
      -1,   357,   358,    50,    51,    -1,    72,    -1,    55,    -1,
      -1,    58,    59,    60,    61,    -1,    63,    -1,    65,    -1,
      -1,    -1,    -1,    -1,    71,    -1,    73,    -1,    94,    95,
      -1,    -1,    79,    -1,    81,    -1,   102,   103,   104,    -1,
      -1,   107,   108,   109,    -1,    92,   112,    94,    95,    -1,
      97,    -1,   753,    -1,    -1,   102,   103,   104,   105,    -1,
     107,   108,   109,   110,    -1,   112,    -1,    -1,    -1,   116,
     117,    -1,    -1,   774,    -1,    -1,    -1,    -1,    -1,    -1,
     436,    -1,    -1,    -1,    -1,   786,   787,   788,    -1,   790,
       0,     1,   793,   794,     4,    -1,   452,    -1,     8,     9,
      10,    11,    12,    13,    14,    15,    16,    17,    18,    -1,
      20,    -1,    -1,    -1,    24,    25,    26,    27,    28,    -1,
      30,    -1,    -1,    -1,    -1,    35,    36,    -1,    38,    39,
      -1,    41,    42,    43,    44,    45,    46,    47,    48,    -1,
      50,    51,    52,    -1,    -1,    55,    56,    -1,    58,    59,
      60,    61,    -1,    63,    64,    65,    -1,    -1,    -1,    -1,
      -1,    71,    -1,    73,    -1,    -1,    -1,    -1,    -1,    79,
      -1,    81,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    92,    93,    94,    95,    96,    97,    -1,    -1,
      -1,    -1,   102,   103,   104,   105,    -1,   107,   108,   109,
     110,    -1,   112,   113,     0,     1,   116,    -1,     4,    -1,
      -1,    -1,    -1,     9,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    18,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      26,    27,    28,    -1,    30,    -1,    -1,    -1,    -1,    35,
      36,    -1,    38,    39,    -1,    -1,    -1,    43,    44,    45,
      46,    -1,    -1,    -1,    50,    51,    -1,    -1,    -1,    55,
      -1,    -1,    58,    59,    60,    61,    -1,    63,    -1,    65,
      -1,    -1,    -1,    -1,    -1,    71,    -1,    73,    -1,    -1,
      -1,    -1,    -1,    79,    -1,    81,    -1,    -1,    -1,    -1,
      -1,    -1,     1,    -1,    -1,     4,    92,    -1,    94,    95,
      -1,    97,    -1,    -1,    -1,    -1,   102,   103,   104,   105,
      -1,   107,   108,   109,   110,    -1,   112,    26,    27,    28,
     116,    30,    -1,    -1,    -1,    -1,    35,    36,    -1,    38,
      39,    -1,    -1,    -1,    43,    44,    45,    -1,    -1,    -1,
      -1,    50,    51,    -1,    -1,    -1,    55,    -1,    -1,    58,
      59,    60,    61,    -1,    63,    -1,    65,    -1,    -1,    -1,
      -1,    -1,    71,    -1,    73,    -1,     9,    10,    -1,    -1,
      79,    -1,    81,    -1,    -1,    18,    -1,    20,    -1,    -1,
      -1,    -1,    -1,    92,    -1,    94,     0,     1,    -1,    -1,
       4,    -1,    -1,   102,   103,    -1,   105,    -1,   107,   108,
     109,   110,    -1,    46,    -1,    -1,    -1,   116,   117,    -1,
      24,    25,    -1,    27,    28,    -1,    30,    -1,    -1,    -1,
      -1,    35,    36,    -1,    38,    39,    40,    41,    42,    43,
      44,    45,    46,    47,    48,    -1,    50,    -1,    52,    -1,
      -1,    -1,    56,    -1,    58,    -1,    60,    -1,    -1,    -1,
      -1,    65,    95,    -1,    97,    -1,    -1,    -1,    -1,    73,
      -1,   104,    -1,   106,    -1,    -1,    -1,   110,   111,   112,
      -1,    -1,    -1,    -1,     1,    -1,    90,     4,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   102,   103,
      -1,    -1,    -1,   107,   108,   109,   110,    -1,    25,    -1,
      27,    28,   116,    30,    -1,    -1,    -1,    -1,    35,    36,
      -1,    38,    39,    40,    -1,    42,    43,    44,    45,    46,
      47,    48,    -1,    50,    -1,    52,    -1,    -1,    -1,    56,
      -1,    58,    -1,    60,    -1,    -1,    -1,    -1,    65,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    73,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,     1,    -1,    -1,
       4,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,   102,   103,    -1,    -1,    -1,
     107,   108,   109,    27,    28,    -1,    30,    -1,    -1,   116,
     117,    35,    36,    -1,    38,    39,    40,    -1,    42,    43,
      44,    45,    46,    47,    48,    -1,    50,    -1,    52,    -1,
      -1,    -1,    56,    -1,    58,    -1,    60,    -1,    -1,    -1,
      -1,    65,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    73,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,     1,
      -1,    -1,     4,    -1,    -1,    -1,    -1,     9,   102,   103,
      -1,    -1,    -1,   107,   108,   109,    18,    -1,    -1,    -1,
      -1,    -1,   116,   117,    26,    27,    28,    -1,    30,    -1,
      -1,    -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,
      -1,    43,    44,    45,    46,    -1,    -1,    -1,    50,    51,
      -1,    -1,    -1,    55,    -1,    -1,    58,    59,    60,    61,
      -1,    63,    -1,    65,    -1,    -1,    -1,    -1,    -1,    71,
      -1,    73,    74,    -1,    -1,    -1,    -1,    79,    -1,    81,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      92,    -1,    94,    95,    -1,    97,    -1,    -1,    -1,    -1,
     102,   103,   104,   105,    -1,   107,   108,   109,   110,    -1,
     112,     4,    -1,    -1,   116,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    37,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    85,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    37,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    85,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    37,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    -1,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,    -1,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,    -1,     9,    10,    -1,    -1,
      13,    -1,    -1,    -1,    -1,    -1,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,     4,    -1,   116,    -1,    -1,     9,    10,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    42,
      43,    44,    45,    46,    47,    48,    -1,    50,    51,    52,
      -1,    -1,    55,    56,    -1,    58,    59,    60,    61,    -1,
      63,    64,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    92,
      93,    94,    95,    96,     4,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,    -1,   112,
     113,    -1,    -1,   116,    -1,    -1,    26,    27,    28,    -1,
      30,    -1,    -1,    -1,    -1,    35,    36,    -1,    38,    39,
      40,    -1,    42,    43,    44,    45,    46,    -1,    48,    -1,
      50,    51,    52,    -1,    -1,    55,    -1,    -1,    58,    59,
      60,    61,    -1,    63,    -1,    65,    -1,    -1,    -1,    -1,
      -1,    71,    -1,    73,    -1,    -1,    -1,    -1,    -1,    79,
      -1,    81,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    92,    -1,    94,    95,    -1,    97,    -1,    -1,
      -1,     4,   102,   103,   104,   105,     9,   107,   108,   109,
     110,    -1,   112,    -1,    -1,    18,   116,    -1,    -1,    -1,
      -1,    -1,    -1,    26,    27,    28,    -1,    30,    -1,    -1,
      -1,    -1,    35,    36,    -1,    38,    39,    -1,    -1,    -1,
      43,    44,    45,    46,    -1,    -1,    -1,    50,    51,    -1,
      -1,    -1,    55,    -1,    -1,    58,    59,    60,    61,    -1,
      63,    -1,    65,    -1,    -1,    -1,    -1,    -1,    71,    -1,
      73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,     4,    92,
      -1,    94,    95,    -1,    97,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,    -1,   107,   108,   109,   110,    -1,   112,
      26,    27,    28,   116,    30,    -1,    -1,    -1,    -1,    35,
      36,    -1,    38,    39,    -1,    -1,    -1,    43,    44,    45,
      46,    -1,    -1,    -1,    50,    51,    -1,    -1,    -1,    55,
      -1,    -1,    58,    59,    60,    61,    -1,    63,    -1,    65,
      -1,    -1,    -1,    -1,    -1,    71,    -1,    73,    -1,    -1,
      -1,    -1,    -1,    79,    -1,    81,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,     4,    92,    -1,    94,    95,
      -1,    97,    -1,    -1,    -1,    -1,   102,   103,   104,   105,
      -1,    -1,    -1,    -1,   110,    -1,   112,    26,    27,    28,
     116,    30,    -1,    -1,    -1,    -1,    35,    36,    -1,    38,
      39,    -1,    -1,    -1,    43,    44,    45,    -1,    -1,    -1,
      -1,    50,    51,    -1,    -1,    -1,    55,    -1,    -1,    58,
      59,    60,    61,    -1,    63,    -1,    65,    -1,    -1,    -1,
      -1,    -1,    71,    -1,    73,    -1,    -1,    -1,    -1,    -1,
      79,    -1,    81,    -1,     4,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    92,    -1,    94,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,   102,   103,    -1,   105,    27,    28,    -1,
      30,    -1,    -1,    -1,    -1,    35,    36,   116,    38,    39,
      -1,    -1,    -1,    43,    44,    45,    -1,    -1,    -1,    -1,
      50,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    58,    -1,
      60,    61,    -1,    -1,    -1,    65,    -1,    -1,    -1,    -1,
      -1,    71,    -1,    73,    -1,    -1,    -1,    -1,    -1,    79,
      -1,    81,    -1,     4,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    92,    -1,    94,    95,    -1,    -1,    -1,    -1,
      -1,    -1,   102,   103,   104,   105,    27,    28,    -1,    30,
      -1,    -1,   112,    -1,    35,    36,   116,    38,    39,    -1,
      22,    23,    43,    44,    45,    -1,    -1,    29,    -1,    50,
      32,    33,    34,    -1,    -1,    -1,    -1,    58,    -1,    60,
      -1,    -1,    -1,    -1,    65,    -1,    -1,    49,    -1,    51,
      -1,    53,    73,    55,    -1,    -1,    22,    23,    -1,    -1,
      62,    63,    64,    29,    -1,    -1,    32,    33,    34,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,   102,   103,    49,    -1,    51,    -1,    53,    -1,    55,
      -1,    93,    -1,    -1,    -1,   116,    62,    63,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,   107,   108,   109,   110,    -1,
      -1,    -1,    -1,    -1,    -1,   117,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    93,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,   107,   108,   109,   110,    -1,    -1,    -1,    -1,    -1,
      -1,   117
};

  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
     symbol of state STATE-NUM.  */
static const yytype_uint16 yystos[] =
{
       0,    89,   128,   130,   129,     0,     1,     4,    24,    25,
      27,    28,    30,    35,    36,    38,    39,    41,    42,    43,
      44,    45,    46,    47,    48,    50,    52,    56,    58,    60,
      65,    73,    90,   102,   103,   107,   108,   109,   110,   116,
     131,   132,   134,   138,   143,   144,   152,   155,   158,   164,
     165,   166,   168,   172,   178,   179,   180,   187,   189,   191,
     192,   193,   194,   210,   214,   215,   216,   293,   295,   296,
       1,     8,     9,    10,    11,    12,    13,    14,    15,    16,
      17,    18,    20,    26,    30,    41,    51,    55,    59,    61,
      63,    64,    71,    79,    81,    92,    93,    94,    95,    96,
      97,   102,   104,   105,   107,   108,   109,   110,   112,   113,
     133,   136,   138,   139,   140,   146,   147,   148,   152,   155,
     158,   164,   170,   173,   174,   175,   176,   177,   181,   182,
     192,   217,   229,   230,   235,   236,   237,   241,   243,   244,
     245,   246,   252,   253,   254,   259,   263,   264,   266,   274,
     275,   276,   277,   278,   288,   293,   295,   296,   297,   110,
     133,   232,   116,   116,   110,   133,   233,   110,   133,   232,
     233,   294,   116,   172,   172,   233,   171,    83,    87,    88,
     199,   200,   202,   206,   207,   202,   171,    40,   142,   110,
     118,   119,   133,   196,   197,   198,   218,   116,     1,   109,
     117,   134,   144,   169,   174,   189,   190,   191,   235,   274,
       7,   188,   194,   182,   185,    56,    57,    98,    99,   110,
     116,   133,   298,   299,   301,   302,   304,   305,   307,   310,
     311,   312,     9,    20,   265,    20,    83,    87,   202,   204,
       9,   257,   257,   265,   233,   116,   140,   196,   225,   226,
     197,   228,   196,   227,     9,   110,   133,   231,   263,   296,
     227,    93,   103,   136,   183,   184,   238,   272,   261,   262,
     264,   262,   262,   120,   121,   249,   250,   251,    83,    87,
     204,   249,   262,    83,    87,   204,   249,     9,   139,   257,
      37,    51,    59,   110,   136,   175,   177,   264,   296,    84,
     262,   242,   261,   262,   291,    13,    14,    15,    19,    72,
     110,   113,   114,   119,   136,   210,   246,   247,   256,   258,
     296,   122,   242,   242,   262,   242,   311,     9,    20,   136,
     290,    90,   153,    90,   156,   118,   211,   103,   212,   213,
     118,    98,   299,   301,   311,   159,   161,   211,     1,    74,
     175,    87,   201,   206,   208,   209,    83,    85,    85,   117,
     116,     9,   110,   113,   136,   145,   146,   177,   243,   274,
     285,   286,   287,   288,   289,   296,   218,   119,   218,   118,
     148,   167,   177,   188,   185,     7,   194,   313,   303,    82,
      83,    86,    88,   308,    82,   308,   309,   306,   300,   100,
     101,   302,   310,   312,   119,    83,    87,   205,   208,    83,
     118,   151,   218,   118,   197,   220,   221,   222,   118,   263,
     118,   116,    72,    94,   103,   136,   210,   239,   240,   253,
     254,   255,     9,    78,    80,   110,   125,   133,   267,   269,
     271,   296,   242,   242,   120,   121,   208,    83,   208,    83,
     226,   227,   171,   277,   242,   113,   244,    66,    67,    68,
      70,   280,    19,   292,     9,    96,   242,    37,   173,     1,
     109,   117,   134,   154,   155,   158,   163,   164,   192,   293,
     296,     1,   109,   117,   134,   157,   158,   163,   192,   293,
     296,   232,   185,   194,   232,     1,   117,   136,   160,   162,
     164,   173,   185,    83,    85,     9,    18,    96,   106,   108,
     109,   110,   113,   135,   137,   138,   148,   152,   155,   158,
     164,   177,   182,   243,   253,   254,   288,   293,   296,   297,
      84,    87,   199,   203,   106,   111,   195,   260,   264,   274,
     277,   288,   106,   195,   260,   274,   277,   288,   141,    20,
     113,   287,   242,   113,   114,   122,   124,   118,   197,   145,
     212,   185,   116,   116,   309,   309,   309,   309,   117,   301,
     311,   312,   314,    84,   205,   208,    83,   147,    83,    87,
     199,   204,   232,    22,    23,    29,    32,    33,    34,    49,
      51,    53,    55,    62,    63,   117,   133,   136,   149,   150,
     182,   219,   223,   224,   233,    13,   108,   113,   137,   147,
     230,   234,   274,   289,    84,   147,   234,   118,   284,   290,
     186,   242,   291,   269,    19,    75,    76,    77,   113,   114,
     123,   124,   268,   270,   147,   199,   147,   199,   118,   118,
     253,   253,   279,   118,   126,   248,     5,   142,   142,   212,
     142,    87,   201,   209,   195,   260,   274,   288,     9,    10,
      20,    83,     9,    18,   108,   110,   113,   137,   243,   253,
     254,   288,   296,    31,   119,   117,   136,   144,   286,   286,
     287,   287,   145,   212,   159,   159,   136,   301,   299,   311,
     314,   312,    87,   201,   205,   208,    83,   147,   218,   220,
     233,   192,   110,   136,   118,    83,    87,   289,   106,   195,
     284,   113,    93,   117,   149,   224,   292,   147,   147,     9,
      91,   280,   281,   282,   283,   249,   261,   172,    83,     9,
      10,    18,    20,   108,   110,   113,   137,   243,   253,   254,
     296,    31,   203,     9,    10,    20,   196,   117,   117,    83,
     199,   118,   234,   208,    83,   119,   197,   290,   248,    69,
     114,   119,    54,   273,   209,     9,    10,    20,   234,    51,
      59,   102,   107,    87,   199,   197,   242,   283,   242,   226,
     227,    83,    87,    83,    87,    83,   118,   118,   208,    83,
     208,    83,   199,   199,   199
};

  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
static const yytype_uint16 yyr1[] =
{
       0,   127,   128,   129,   128,   130,   130,   130,   130,   130,
     132,   131,   131,   131,   131,   131,   131,   131,   131,   131,
     131,   131,   133,   133,   134,   134,   135,   135,   135,   135,
     135,   135,   135,   135,   135,   135,   135,   136,   136,   137,
     137,   137,   138,   139,   139,   139,   140,   140,   140,   140,
     140,   140,   140,   140,   141,   141,   141,   142,   143,   144,
     144,   144,   145,   145,   145,   146,   146,   146,   146,   146,
     146,   146,   146,   146,   146,   146,   146,   146,   146,   147,
     147,   147,   147,   147,   147,   147,   147,   147,   147,   147,
     147,   147,   148,   149,   150,   149,   151,   151,   151,   151,
     152,   153,   153,   153,   153,   153,   153,   153,   153,   153,
     153,   154,   153,   153,   155,   156,   156,   156,   156,   156,
     156,   156,   156,   156,   157,   156,   156,   158,   159,   159,
     160,   160,   160,   161,   161,   162,   161,   163,   164,   165,
     165,   165,   166,   167,   167,   168,   168,   168,   168,   169,
     168,   168,   170,   170,   170,   171,   171,   171,   172,   173,
     173,   173,   174,   175,   175,   175,   175,   176,   177,   177,
     178,   178,   179,   179,   180,   180,   181,   181,   181,   183,
     182,   182,   182,   182,   184,   184,   185,   185,   186,   186,
     186,   186,   187,   187,   188,   188,   189,   189,   189,   189,
     189,   190,   190,   190,   191,   191,   191,   192,   192,   192,
     193,   193,   193,   194,   194,   195,   195,   196,   196,   197,
     198,   198,   199,   199,   199,   199,   199,   199,   199,   199,
     199,   199,   199,   199,   199,   200,   200,   200,   200,   200,
     200,   200,   201,   201,   201,   201,   201,   201,   201,   201,
     201,   201,   201,   201,   201,   201,   201,   201,   201,   201,
     201,   202,   202,   203,   203,   204,   204,   204,   204,   205,
     205,   205,   205,   206,   206,   206,   206,   206,   206,   206,
     206,   206,   206,   206,   207,   207,   207,   207,   207,   207,
     207,   207,   207,   208,   208,   208,   209,   209,   210,   211,
     211,   213,   212,   212,   214,   214,   215,   215,   215,   215,
     215,   216,   216,   216,   216,   217,   218,   218,   219,   219,
     219,   219,   220,   221,   222,   222,   222,   223,   223,   223,
     223,   223,   223,   223,   223,   223,   224,   224,   224,   225,
     226,   226,   227,   228,   229,   229,   229,   229,   230,   230,
     231,   231,   231,   232,   232,   233,   233,   234,   234,   234,
     234,   234,   234,   235,   235,   235,   235,   235,   236,   237,
     237,   238,   238,   239,   239,   239,   240,   240,   240,   241,
     242,   242,   243,   243,   243,   243,   243,   243,   243,   243,
     244,   244,   245,   246,   246,   246,   246,   247,   247,   248,
     248,   249,   249,   249,   250,   250,   251,   251,   252,   253,
     254,   254,   255,   255,   256,   256,   256,   257,   258,   258,
     258,   258,   258,   258,   258,   259,   259,   259,   260,   261,
     261,   262,   263,   263,   264,   264,   264,   265,   265,   266,
     266,   267,   267,   267,   267,   268,   268,   268,   269,   269,
     269,   269,   269,   270,   270,   270,   270,   271,   271,   272,
     272,   273,   273,   274,   274,   275,   275,   276,   276,   276,
     277,   278,   278,   279,   279,   280,   280,   280,   280,   281,
     281,   281,   282,   282,   283,   283,   283,   284,   284,   285,
     285,   285,   286,   286,   286,   287,   287,   288,   288,   288,
     289,   289,   289,   290,   290,   290,   291,   291,   292,   292,
     294,   293,   295,   296,   297,   298,   298,   298,   300,   299,
     301,   301,   302,   302,   302,   303,   302,   304,   305,   306,
     306,   306,   307,   308,   308,   308,   309,   309,   310,   311,
     311,   312,   313,   312,   312,   312,   314,   314
};

  /* YYR2[YYN] -- Number of symbols on the 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,     1,     1,     1,
       1,     1,     2,     2,     1,     2,     0,     1,     1,     2,
       1,     3,     1,     2,     0,     2,     2,     4,     1,     3,
       4,     5,     1,     1,     2,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     2,     2,
       2,     2,     3,     3,     4,     4,     4,     4,     4,     5,
       5,     5,     4,     1,     0,     2,     0,     2,     2,     2,
       4,     0,     1,     2,     2,     2,     2,     2,     2,     2,
       2,     0,     3,     2,     4,     0,     1,     2,     2,     2,
       2,     2,     2,     2,     0,     3,     2,     4,     1,     2,
       1,     1,     1,     0,     2,     0,     3,     1,     2,     1,
       1,     1,     1,     1,     1,     2,     2,     2,     2,     0,
       3,     2,     4,     5,     2,     0,     2,     2,     3,     1,
       1,     1,     1,     1,     1,     3,     2,     1,     1,     1,
       4,     6,     2,     1,     2,     3,     1,     1,     1,     0,
       5,     2,     1,     2,     1,     1,     0,     1,     0,     2,
       2,     2,     4,     4,     3,     4,     1,     1,     1,     3,
       5,     1,     1,     1,     3,     2,     2,     1,     1,     2,
       1,     1,     1,     1,     1,     1,     3,     1,     3,     1,
       1,     1,     1,     4,     5,     5,     5,     4,     4,     3,
       3,     3,     3,     3,     3,     4,     4,     4,     4,     4,
       4,     4,     1,     4,     4,     4,     4,     4,     4,     4,
       4,     5,     5,     5,     4,     4,     4,     3,     3,     3,
       3,     1,     4,     1,     3,     2,     2,     3,     3,     2,
       2,     3,     3,     1,     3,     3,     3,     4,     3,     3,
       3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
       3,     4,     4,     1,     4,     2,     1,     3,     2,     0,
       2,     0,     2,     1,     2,     3,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     4,     1,     2,     3,     2,
       4,     2,     3,     1,     1,     5,     4,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     2,     2,     1,
       1,     2,     1,     1,     4,     3,     4,     2,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     2,     1,     2,     3,     3,     1,     1,     3,     3,
       3,     0,     2,     5,     2,     1,     1,     1,     1,     2,
       0,     2,     1,     2,     1,     1,     2,     2,     2,     2,
       1,     2,     1,     1,     1,     1,     1,     1,     1,     0,
       2,     0,     1,     1,     1,     2,     1,     2,     2,     2,
       1,     2,     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,     1,
       2,     2,     2,     1,     1,     1,     1,     1,     2,     0,
       2,     0,     1,     7,     2,     2,     2,     1,     1,     1,
       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,     1,     2,
       1,     1,     2,     1,     1,     1,     0,     2,     0,     2,
       0,     3,     1,     2,     3,     1,     2,     1,     0,     3,
       1,     1,     1,     1,     2,     0,     5,     2,     3,     0,
       2,     2,     2,     3,     3,     1,     1,     3,     3,     1,
       2,     1,     0,     5,     2,     2,     2,     1
};


#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


#define YYRECOVERING()  (!!yyerrstatus)

#define YYBACKUP(Token, Value)                                  \
do                                                              \
  if (yychar == YYEMPTY)                                        \
    {                                                           \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      YYPOPSTACK (yylen);                                       \
      yystate = *yyssp;                                         \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    {                                                           \
      yyerror (&yylloc, parser, retval, YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
    }                                                           \
while (0)

/* Error token number */
#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).  */

#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)                                \
    do                                                                  \
      if (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 (0)
#endif

#define YYRHSLOC(Rhs, K) ((Rhs)[K])


/* 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 (0)


/* 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 defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL

/* Print *YYLOCP on YYO.  Private, do not rely on its existence. */

YY_ATTRIBUTE_UNUSED
static unsigned
yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)
{
  unsigned res = 0;
  int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;
  if (0 <= yylocp->first_line)
    {
      res += YYFPRINTF (yyo, "%d", yylocp->first_line);
      if (0 <= yylocp->first_column)
        res += YYFPRINTF (yyo, ".%d", yylocp->first_column);
    }
  if (0 <= yylocp->last_line)
    {
      if (yylocp->first_line < yylocp->last_line)
        {
          res += YYFPRINTF (yyo, "-%d", yylocp->last_line);
          if (0 <= end_col)
            res += YYFPRINTF (yyo, ".%d", end_col);
        }
      else if (0 <= end_col && yylocp->first_column < end_col)
        res += YYFPRINTF (yyo, "-%d", end_col);
    }
  return res;
 }

#  define YY_LOCATION_PRINT(File, Loc)          \
  yy_location_print_ (File, &(Loc))

# else
#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
# endif
#endif


# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
do {                                                                      \
  if (yydebug)                                                            \
    {                                                                     \
      YYFPRINTF (stderr, "%s ", Title);                                   \
      yy_symbol_print (stderr,                                            \
                  Type, Value, Location, parser, retval); \
      YYFPRINTF (stderr, "\n");                                           \
    }                                                                     \
} while (0)


/*----------------------------------------.
| Print this symbol's value on YYOUTPUT.  |
`----------------------------------------*/

static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, Lily_parser *parser, SCM *retval)
{
  FILE *yyo = yyoutput;
  YYUSE (yyo);
  YYUSE (yylocationp);
  YYUSE (parser);
  YYUSE (retval);
  if (!yyvaluep)
    return;
# ifdef YYPRINT
  if (yytype < YYNTOKENS)
    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
# endif
  YYUSE (yytype);
}


/*--------------------------------.
| Print this symbol on YYOUTPUT.  |
`--------------------------------*/

static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, Lily_parser *parser, SCM *retval)
{
  YYFPRINTF (yyoutput, "%s %s (",
             yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);

  YY_LOCATION_PRINT (yyoutput, *yylocationp);
  YYFPRINTF (yyoutput, ": ");
  yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, parser, retval);
  YYFPRINTF (yyoutput, ")");
}

/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
`------------------------------------------------------------------*/

static void
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
{
  YYFPRINTF (stderr, "Stack now");
  for (; yybottom <= yytop; yybottom++)
    {
      int yybot = *yybottom;
      YYFPRINTF (stderr, " %d", yybot);
    }
  YYFPRINTF (stderr, "\n");
}

# define YY_STACK_PRINT(Bottom, Top)                            \
do {                                                            \
  if (yydebug)                                                  \
    yy_stack_print ((Bottom), (Top));                           \
} while (0)


/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/

static void
yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule, Lily_parser *parser, SCM *retval)
{
  unsigned long int yylno = yyrline[yyrule];
  int yynrhs = yyr2[yyrule];
  int yyi;
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
             yyrule - 1, yylno);
  /* The symbols being reduced.  */
  for (yyi = 0; yyi < yynrhs; yyi++)
    {
      YYFPRINTF (stderr, "   $%d = ", yyi + 1);
      yy_symbol_print (stderr,
                       yystos[yyssp[yyi + 1 - yynrhs]],
                       &(yyvsp[(yyi + 1) - (yynrhs)])
                       , &(yylsp[(yyi + 1) - (yynrhs)])                       , parser, retval);
      YYFPRINTF (stderr, "\n");
    }
}

# define YY_REDUCE_PRINT(Rule)          \
do {                                    \
  if (yydebug)                          \
    yy_reduce_print (yyssp, yyvsp, yylsp, Rule, parser, retval); \
} while (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


#if YYERROR_VERBOSE

# ifndef yystrlen
#  if defined __GLIBC__ && defined _STRING_H
#   define yystrlen strlen
#  else
/* Return the length of YYSTR.  */
static YYSIZE_T
yystrlen (const char *yystr)
{
  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.  */
static char *
yystpcpy (char *yydest, const char *yysrc)
{
  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 *YYMSG, which is of size *YYMSG_ALLOC, an error message
   about the unexpected token YYTOKEN for the state stack whose top is
   YYSSP.

   Return 0 if *YYMSG was successfully written.  Return 1 if *YYMSG is
   not large enough to hold the message.  In that case, also set
   *YYMSG_ALLOC to the required number of bytes.  Return 2 if the
   required number of bytes is too large to store.  */
static int
yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
                yytype_int16 *yyssp, int yytoken)
{
  YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
  YYSIZE_T yysize = yysize0;
  enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
  /* Internationalized format string. */
  const char *yyformat = YY_NULLPTR;
  /* Arguments of yyformat. */
  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
  /* Number of reported tokens (one for the "unexpected", one per
     "expected"). */
  int yycount = 0;

  /* There are many possibilities here to consider:
     - If this state is a consistent state with a default action, then
       the only way this function was invoked is if the default action
       is an error action.  In that case, don't check for expected
       tokens because there are none.
     - The only way there can be no lookahead present (in yychar) is if
       this state is a consistent state with a default action.  Thus,
       detecting the absence of a lookahead is sufficient to determine
       that there is no unexpected or expected token to report.  In that
       case, just report a simple "syntax error".
     - Don't assume there isn't a lookahead just because this state is a
       consistent state with a default action.  There might have been a
       previous inconsistent state, consistent state with a non-default
       action, or user semantic action that manipulated yychar.
     - Of course, the expected token list depends on states to have
       correct lookahead information, and it depends on the parser not
       to perform extra reductions after fetching a lookahead from the
       scanner and before detecting a syntax error.  Thus, state merging
       (from LALR or IELR) and default reductions corrupt the expected
       token list.  However, the list is correct for canonical LR with
       one exception: it will still contain any token that will not be
       accepted due to an error action in a later state.
  */
  if (yytoken != YYEMPTY)
    {
      int yyn = yypact[*yyssp];
      yyarg[yycount++] = yytname[yytoken];
      if (!yypact_value_is_default (yyn))
        {
          /* Start YYX at -YYN if negative to avoid negative indexes in
             YYCHECK.  In other words, skip the first -YYN actions for
             this state because they are default actions.  */
          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 yyx;

          for (yyx = yyxbegin; yyx < yyxend; ++yyx)
            if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
                && !yytable_value_is_error (yytable[yyx + yyn]))
              {
                if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
                  {
                    yycount = 1;
                    yysize = yysize0;
                    break;
                  }
                yyarg[yycount++] = yytname[yyx];
                {
                  YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
                  if (! (yysize <= yysize1
                         && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
                    return 2;
                  yysize = yysize1;
                }
              }
        }
    }

  switch (yycount)
    {
# define YYCASE_(N, S)                      \
      case N:                               \
        yyformat = S;                       \
      break
      YYCASE_(0, YY_("syntax error"));
      YYCASE_(1, YY_("syntax error, unexpected %s"));
      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
# undef YYCASE_
    }

  {
    YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
    if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
      return 2;
    yysize = yysize1;
  }

  if (*yymsg_alloc < yysize)
    {
      *yymsg_alloc = 2 * yysize;
      if (! (yysize <= *yymsg_alloc
             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
      return 1;
    }

  /* 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 = *yymsg;
    int yyi = 0;
    while ((*yyp = *yyformat) != '\0')
      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
        {
          yyp += yytnamerr (yyp, yyarg[yyi++]);
          yyformat += 2;
        }
      else
        {
          yyp++;
          yyformat++;
        }
  }
  return 0;
}
#endif /* YYERROR_VERBOSE */

/*-----------------------------------------------.
| Release the memory associated to this symbol.  |
`-----------------------------------------------*/

static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, Lily_parser *parser, SCM *retval)
{
  YYUSE (yyvaluep);
  YYUSE (yylocationp);
  YYUSE (parser);
  YYUSE (retval);
  if (!yymsg)
    yymsg = "Deleting";
  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  YYUSE (yytype);
  YY_IGNORE_MAYBE_UNINITIALIZED_END
}




/*----------.
| yyparse.  |
`----------*/

int
yyparse (Lily_parser *parser, SCM *retval)
{
/* The lookahead symbol.  */
int yychar;


/* The semantic value of the lookahead symbol.  */
/* Default value used for initialization, for pacifying older GCCs
   or non-GCC compilers.  */
YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);

/* Location data for the lookahead symbol.  */
static YYLTYPE yyloc_default
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
  = { 1, 1, 1, 1 }
# endif
;
YYLTYPE yylloc = yyloc_default;

    /* Number of syntax errors so far.  */
    int yynerrs;

    int yystate;
    /* Number of tokens to shift before error messages enabled.  */
    int yyerrstatus;

    /* The stacks and their tools:
       'yyss': related to states.
       'yyvs': related to semantic values.
       'yyls': related to locations.

       Refer to the stacks through separate pointers, to allow yyoverflow
       to reallocate them elsewhere.  */

    /* The state stack.  */
    yytype_int16 yyssa[YYINITDEPTH];
    yytype_int16 *yyss;
    yytype_int16 *yyssp;

    /* The semantic value stack.  */
    YYSTYPE yyvsa[YYINITDEPTH];
    YYSTYPE *yyvs;
    YYSTYPE *yyvsp;

    /* The location stack.  */
    YYLTYPE yylsa[YYINITDEPTH];
    YYLTYPE *yyls;
    YYLTYPE *yylsp;

    /* The locations where the error started and ended.  */
    YYLTYPE yyerror_range[3];

    YYSIZE_T yystacksize;

  int yyn;
  int yyresult;
  /* Lookahead token as an internal (translated) token number.  */
  int yytoken = 0;
  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;
  YYLTYPE yyloc;

#if YYERROR_VERBOSE
  /* Buffer for error messages, and its allocated size.  */
  char yymsgbuf[128];
  char *yymsg = yymsgbuf;
  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif

#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))

  /* The number of symbols on the RHS of the reduced rule.
     Keep to zero when no symbol should be popped.  */
  int yylen = 0;

  yyssp = yyss = yyssa;
  yyvsp = yyvs = yyvsa;
  yylsp = yyls = yylsa;
  yystacksize = YYINITDEPTH;

  YYDPRINTF ((stderr, "Starting parse\n"));

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY; /* Cause a token to be read.  */
  yylsp[0] = yylloc;
  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_alloc, yyss);
        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
        YYSTACK_RELOCATE (yyls_alloc, 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));

  if (yystate == YYFINAL)
    YYACCEPT;

  goto yybackup;

/*-----------.
| yybackup.  |
`-----------*/
yybackup:

  /* Do appropriate processing given the current state.  Read a
     lookahead token if we need one and don't already have one.  */

  /* First try to decide what to do without reference to lookahead token.  */
  yyn = yypact[yystate];
  if (yypact_value_is_default (yyn))
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol.  */
  if (yychar == YYEMPTY)
    {
      YYDPRINTF ((stderr, "Reading a token: "));
      yychar = yylex (&yylval, &yylloc, parser);
    }

  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 (yytable_value_is_error (yyn))
        goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }

  /* Count tokens shifted since error; after three, turn off error
     status.  */
  if (yyerrstatus)
    yyerrstatus--;

  /* Shift the lookahead token.  */
  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);

  /* Discard the shifted token.  */
  yychar = YYEMPTY;

  yystate = yyn;
  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END
  *++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 385 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 2805 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 4:
#line 388 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->pop_state ();
                *retval = (yyvsp[0]);
 	}
#line 2814 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 5:
#line 394 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_UNSPECIFIED; }
#line 2820 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 6:
#line 395 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	}
#line 2827 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 7:
#line 397 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	}
#line 2834 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 8:
#line 399 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->error_level_ = 1;
	}
#line 2842 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 9:
#line 402 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->error_level_ = 1;
	}
#line 2850 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 10:
#line 409 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->add_scope (get_header (parser));
	}
#line 2858 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 11:
#line 411 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->set_identifier (ly_symbol2scm ("$defaultheader"), (yyvsp[0]));
	}
#line 2866 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 12:
#line 414 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-book-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2875 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 13:
#line 418 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-bookpart-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2884 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 14:
#line 422 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier
			(unsmob<Book>((yyvsp[0]))->paper_
			 ? "toplevel-book-handler"
			 : "toplevel-bookpart-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2896 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 15:
#line 429 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-score-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2905 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 16:
#line 433 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-music-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2914 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 17:
#line 437 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-text-handler");
		scm_call_1 (proc, scm_list_1 ((yyvsp[0])));
	}
#line 2923 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 18:
#line 441 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("toplevel-text-handler");
		scm_call_1 (proc, (yyvsp[0]));
	}
#line 2932 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 19:
#line 445 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// Evaluate and ignore #xxx, as opposed to \xxx
		parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 2941 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 20:
#line 450 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM out = SCM_UNDEFINED;
		if (Text_interface::is_markup ((yyvsp[0])))
			out = scm_list_1 ((yyvsp[0]));
		else if (Text_interface::is_markup_list ((yyvsp[0])))
			out = (yyvsp[0]);
		if (scm_is_pair (out))
		{
			SCM proc = parser->lexer_->lookup_identifier ("toplevel-text-handler");
			scm_call_1 (proc, out);
		} else if (unsmob<Score> ((yyvsp[0])))
		{
			SCM proc = parser->lexer_->lookup_identifier ("toplevel-score-handler");
			scm_call_1 (proc, (yyvsp[0]));
		} else if (Output_def * od = unsmob<Output_def> ((yyvsp[0]))) {
			SCM id = SCM_EOL;

			if (to_boolean (od->c_variable ("is-paper")))
				id = ly_symbol2scm ("$defaultpaper");
			else if (to_boolean (od->c_variable ("is-midi")))
				id = ly_symbol2scm ("$defaultmidi");
			else if (to_boolean (od->c_variable ("is-layout")))
				id = ly_symbol2scm ("$defaultlayout");

			parser->lexer_->set_identifier (id, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 2974 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 21:
#line 478 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM id = SCM_EOL;
		Output_def * od = unsmob<Output_def> ((yyvsp[0]));

		if (to_boolean (od->c_variable ("is-paper")))
			id = ly_symbol2scm ("$defaultpaper");
		else if (to_boolean (od->c_variable ("is-midi")))
			id = ly_symbol2scm ("$defaultmidi");
		else if (to_boolean (od->c_variable ("is-layout")))
			id = ly_symbol2scm ("$defaultlayout");

		parser->lexer_->set_identifier (id, (yyvsp[0]));
	}
#line 2992 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 22:
#line 495 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 3000 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 27:
#line 509 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 3008 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 42:
#line 546 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (music_function, (yyloc),
				  (yyvsp[-1]), (yyvsp[0]));
	}
#line 3017 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 43:
#line 554 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
	}
#line 3025 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 45:
#line 559 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_product ((yyvsp[-1]), (yyvsp[0]));
	}
#line 3033 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 46:
#line 566 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// FIXME: @$ does not contain a useful source location
		// for empty rules, and the only token in the whole
		// production, EMBEDDED_LILY, is synthetic and also
		// contains no source location.
		(yyval) = MAKE_SYNTAX (void_music, (yyloc));
	}
#line 3045 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 49:
#line 576 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		if (Music *m = unsmob<Music> ((yyvsp[-1])))
		{
			if (m->is_mus_type ("post-event-wrapper"))
				(yyval) = scm_append
					(scm_list_2 (m->get_property ("elements"),
						     (yyval)));
			else
				(yyval) = scm_cons ((yyvsp[-1]), (yyval));
		}
		if (scm_is_pair ((yyval))
		    && scm_is_null (scm_cdr ((yyval))))
			(yyval) = scm_car ((yyval));
		else
		{
			Music * m = MY_MAKE_MUSIC ("PostEvents", (yyloc));
			m->set_property ("elements", (yyval));
			(yyval) = m->unprotect ();
		}
	}
#line 3071 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 51:
#line 598 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyvsp[0]) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		if (unsmob<Music> ((yyvsp[-1])))
			(yyvsp[0]) = scm_cons ((yyvsp[-1]), (yyvsp[0]));
		if (unsmob<Music> ((yyvsp[-2])))
			(yyvsp[0]) = scm_cons ((yyvsp[-2]), (yyvsp[0]));
		(yyval) = MAKE_SYNTAX (sequential_music, (yyloc), (yyvsp[0]));
	}
#line 3084 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 52:
#line 606 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->error_level_ = 1;
                (yyval) = SCM_UNSPECIFIED;
	}
#line 3093 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 53:
#line 610 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->error_level_ = 1;
                (yyval) = (yyvsp[0]);
	}
#line 3102 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 54:
#line 618 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_UNSPECIFIED; }
#line 3108 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 55:
#line 619 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {

	}
#line 3116 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 56:
#line 622 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {

	}
#line 3124 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 57:
#line 628 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = parser->lexer_->remove_scope ();
	}
#line 3132 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 58:
#line 637 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 3138 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 59:
#line 641 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	        parser->lexer_->set_identifier ((yyvsp[-2]), (yyvsp[0]));
                (yyval) = SCM_UNSPECIFIED;
	}
#line 3147 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 60:
#line 645 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM path = scm_cons (scm_string_to_symbol ((yyvsp[-3])), (yyvsp[-2]));
		parser->lexer_->set_identifier (path, (yyvsp[0]));
                (yyval) = SCM_UNSPECIFIED;
	}
#line 3157 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 61:
#line 650 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM path = scm_cons (scm_string_to_symbol ((yyvsp[-4])), (yyvsp[-2]));
		parser->lexer_->set_identifier (path, (yyvsp[0]));
                (yyval) = SCM_UNSPECIFIED;
	}
#line 3167 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 64:
#line 662 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		if (Music *m = unsmob<Music> ((yyvsp[-1])))
		{
			if (m->is_mus_type ("post-event-wrapper"))
				(yyval) = scm_append
					(scm_list_2 (m->get_property ("elements"),
						     (yyval)));
			else
				(yyval) = scm_cons ((yyvsp[-1]), (yyval));
		}
		if (scm_is_pair ((yyval))
		    && scm_is_null (scm_cdr ((yyval))))
			(yyval) = scm_car ((yyval));
		else
		{
			Music * m = MY_MAKE_MUSIC ("PostEvents", (yyloc));
			m->set_property ("elements", (yyval));
			(yyval) = m->unprotect ();
		}
	}
#line 3193 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 78:
#line 700 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (partial_music_function, (yyloc),
				  scm_reverse_x ((yyvsp[-1]), SCM_EOL));
	}
#line 3202 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 79:
#line 709 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-1]), (yyvsp[0]), SCM_EOL);
	}
#line 3210 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 80:
#line 713 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-1]), (yyvsp[0]), SCM_EOL);
	}
#line 3218 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 81:
#line 717 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-1]), (yyvsp[0]), SCM_EOL);
	}
#line 3226 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 82:
#line 721 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-1])))
			(yyval) = scm_list_1 (SCM_BOOL_F);
		else
			(yyval) = scm_cons
				(scm_list_3 (Syntax::property_override_function,
					     scm_cdr ((yyvsp[-1])), scm_car ((yyvsp[-1]))),
				 SCM_EOL);
	}
#line 3240 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 83:
#line 731 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-1])))
			(yyval) = scm_list_1 (SCM_BOOL_F);
		else
			(yyval) = scm_cons
				(scm_list_3 (Syntax::property_set_function,
					     scm_cadr ((yyvsp[-1])), scm_car ((yyvsp[-1]))),
				 SCM_EOL);
	}
#line 3254 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 84:
#line 741 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-3]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3262 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 85:
#line 745 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-3]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3270 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 86:
#line 749 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-3]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3278 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 87:
#line 753 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = scm_list_1 (SCM_BOOL_F);
		else
			(yyval) = scm_cons
				(scm_list_3 (Syntax::property_override_function,
					     scm_cdr ((yyvsp[-2])), scm_car ((yyvsp[-2]))),
				 (yyvsp[0]));
	}
#line 3292 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 88:
#line 763 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = scm_list_1 (SCM_BOOL_F);
		else
			(yyval) = scm_cons
				(scm_list_3 (Syntax::property_set_function,
					     scm_cadr ((yyvsp[-2])), scm_car ((yyvsp[-2]))),
				 (yyvsp[0]));
	}
#line 3306 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 89:
#line 773 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-4]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3314 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 90:
#line 777 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-4]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3322 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 91:
#line 781 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_acons ((yyvsp[-4]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 3330 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 92:
#line 788 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		Context_def *td = unsmob<Context_def> ((yyval));
		if (!td) {
			(yyval) = Context_def::make_scm ();
			td = unsmob<Context_def> ((yyval));
		}
		td->origin ()->set_spot ((yyloc));
	}
#line 3344 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 94:
#line 802 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 3353 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 95:
#line 807 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->pop_state ();
		(yyval) = (yyvsp[0]);
	}
#line 3362 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 96:
#line 815 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_UNSPECIFIED;
	}
#line 3370 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 97:
#line 818 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[0]))) {
			Context_def *td = unsmob<Context_def> ((yyval));
			if (!td) {
				(yyval) = Context_def::make_scm ();
				td = unsmob<Context_def> ((yyval));
			}
			unsmob<Context_def> ((yyval))->add_context_mod ((yyvsp[0]));
		}
	}
#line 3385 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 98:
#line 828 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Context_def *td = unsmob<Context_def> ((yyval));
		if (!td) {
			(yyval) = Context_def::make_scm ();
			td = unsmob<Context_def> ((yyval));
		}
                SCM new_mods = unsmob<Context_mod> ((yyvsp[0]))->get_mods ();
                for (SCM m = new_mods; scm_is_pair (m); m = scm_cdr (m)) {
                    td->add_context_mod (scm_car (m));
                }
	}
#line 3401 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 99:
#line 839 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Context_def *td = unsmob<Context_def> ((yyvsp[-1]));
		if (scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			;
		else if (!td && unsmob<Context_def> ((yyvsp[0])))
			(yyval) = (yyvsp[0]);
		else {
			if (!td) {
				(yyval) = Context_def::make_scm ();
				td = unsmob<Context_def> ((yyval));
			}
			if (unsmob<Music> ((yyvsp[0]))) {
				SCM proc = parser->lexer_->lookup_identifier ("context-mod-music-handler");
				(yyvsp[0]) = scm_call_1 (proc, (yyvsp[0]));
			}
			if (Context_mod *cm = unsmob<Context_mod> ((yyvsp[0]))) {
				for (SCM m = cm->get_mods (); scm_is_pair (m); m = scm_cdr (m)) {
					td->add_context_mod (scm_car (m));
				}
			} else
				parser->parser_error ((yylsp[0]), _ ("not a context mod"));
		}
	}
#line 3429 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 100:
#line 867 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		unsmob<Book> ((yyval))->origin ()->set_spot ((yyloc));
		pop_paper (parser);
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), SCM_BOOL_F);
	}
#line 3440 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 101:
#line 879 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Book *book = new Book;
		init_papers (parser);
		book->paper_ = dynamic_cast<Output_def*> (unsmob<Output_def> (parser->lexer_->lookup_identifier ("$defaultpaper"))->clone ());
		book->paper_->unprotect ();
		push_paper (parser, book->paper_);
		book->header_ = get_header (parser);
                (yyval) = book->unprotect ();
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), (yyval));
	}
#line 3455 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 102:
#line 889 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-book"), (yyvsp[0]));
	}
#line 3463 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 103:
#line 892 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		unsmob<Book> ((yyvsp[-1]))->paper_ = unsmob<Output_def> ((yyvsp[0]));
		set_paper (parser, unsmob<Output_def> ((yyvsp[0])));
	}
#line 3472 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 104:
#line 896 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("book-bookpart-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3481 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 105:
#line 900 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("book-score-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3490 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 106:
#line 904 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("book-music-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3499 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 107:
#line 908 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("book-text-handler");
		scm_call_2 (proc, (yyvsp[-1]), scm_list_1 ((yyvsp[0])));
	}
#line 3508 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 108:
#line 912 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("book-text-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3517 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 109:
#line 916 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// Evaluate and ignore #xxx, as opposed to \xxx
		parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 3526 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 110:
#line 921 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM out = SCM_UNDEFINED;
		if (Text_interface::is_markup ((yyvsp[0])))
			out = scm_list_1 ((yyvsp[0]));
		else if (Text_interface::is_markup_list ((yyvsp[0])))
			out = (yyvsp[0]);
		if (scm_is_pair (out))
		{
			SCM proc = parser->lexer_->lookup_identifier ("book-text-handler");
			scm_call_2 (proc, (yyvsp[-1]), out);
		} else if (unsmob<Score> ((yyvsp[0])))
		{
			SCM proc = parser->lexer_->lookup_identifier ("book-score-handler");
			scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
		} else if (Output_def *od = unsmob<Output_def> ((yyvsp[0]))) {
			SCM id = SCM_EOL;

			if (to_boolean (od->c_variable ("is-paper")))
				id = ly_symbol2scm ("$defaultpaper");
			else if (to_boolean (od->c_variable ("is-midi")))
				id = ly_symbol2scm ("$defaultmidi");
			else if (to_boolean (od->c_variable ("is-layout")))
				id = ly_symbol2scm ("$defaultlayout");

			parser->lexer_->set_identifier (id, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3559 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 111:
#line 950 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->add_scope (unsmob<Book> ((yyvsp[0]))->header_);
	}
#line 3567 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 113:
#line 953 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Book *book = unsmob<Book> ((yyvsp[-1]));
		book->paper_ = 0;
		book->scores_ = SCM_EOL;
		book->bookparts_ = SCM_EOL;
	}
#line 3578 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 114:
#line 962 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		unsmob<Book> ((yyval))->origin ()->set_spot ((yyloc));
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), SCM_BOOL_F);
	}
#line 3588 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 115:
#line 970 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Book *book = new Book;
                (yyval) = book->unprotect ();
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), (yyval));
	}
#line 3598 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 116:
#line 975 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->set_identifier (ly_symbol2scm ("$current-bookpart"), (yyvsp[0]));
	}
#line 3606 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 117:
#line 978 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		unsmob<Book> ((yyval))->paper_ = unsmob<Output_def> ((yyvsp[0]));
	}
#line 3614 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 118:
#line 981 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("bookpart-score-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3623 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 119:
#line 985 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("bookpart-music-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3632 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 120:
#line 989 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("bookpart-text-handler");
		scm_call_2 (proc, (yyvsp[-1]), scm_list_1 ((yyvsp[0])));
	}
#line 3641 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 121:
#line 993 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM proc = parser->lexer_->lookup_identifier ("bookpart-text-handler");
		scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
	}
#line 3650 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 122:
#line 997 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// Evaluate and ignore #xxx, as opposed to \xxx
		parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 3659 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 123:
#line 1002 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM out = SCM_UNDEFINED;
		if (Text_interface::is_markup ((yyvsp[0])))
			out = scm_list_1 ((yyvsp[0]));
		else if (Text_interface::is_markup_list ((yyvsp[0])))
			out = (yyvsp[0]);
		if (scm_is_pair (out))
		{
			SCM proc = parser->lexer_->lookup_identifier ("bookpart-text-handler");
			scm_call_2 (proc, (yyvsp[-1]), out);
		} else if (unsmob<Score> ((yyvsp[0])))
		{
			SCM proc = parser->lexer_->lookup_identifier ("bookpart-score-handler");
			scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
		} else if (Output_def *od = unsmob<Output_def> ((yyvsp[0]))) {
			SCM id = SCM_EOL;

			if (to_boolean (od->c_variable ("is-paper")))
				id = ly_symbol2scm ("$defaultpaper");
			else if (to_boolean (od->c_variable ("is-midi")))
				id = ly_symbol2scm ("$defaultmidi");
			else if (to_boolean (od->c_variable ("is-layout")))
				id = ly_symbol2scm ("$defaultlayout");

			parser->lexer_->set_identifier (id, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3692 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 124:
#line 1031 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Book *book = unsmob<Book> ((yyvsp[0]));
		if (!ly_is_module (book->header_))
			book->header_ = ly_make_module (false);
		parser->lexer_->add_scope (book->header_);
	}
#line 3703 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 126:
#line 1037 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Book *book = unsmob<Book> ((yyvsp[-1]));
		book->paper_ = 0;
		book->scores_ = SCM_EOL;
	}
#line 3713 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 127:
#line 1045 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		unsmob<Score> ((yyvsp[-1]))->origin ()->set_spot ((yyloc));
		(yyval) = (yyvsp[-1]);
	}
#line 3722 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 128:
#line 1052 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!unsmob<Score> ((yyvsp[0]))) {
			parser->parser_error ((yylsp[0]), _("Missing music in \\score"));
			(yyval) = (new Score)->unprotect ();
			if (scm_is_pair ((yyvsp[0])) && ly_is_module (scm_car ((yyvsp[0]))))
			{
				unsmob<Score> ((yyval))->set_header (scm_car ((yyvsp[0])));
				(yyvsp[0]) = scm_cdr ((yyvsp[0]));
			}
			for (SCM p = scm_reverse_x ((yyvsp[0]), SCM_EOL);
			     scm_is_pair (p); p = scm_cdr (p))
			{
				unsmob<Score> ((yyval))->
					add_output_def (unsmob<Output_def> (scm_car (p)));
			}
		}
	}
#line 3744 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 129:
#line 1069 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		unsmob<Score> ((yyval))->error_found_ = true;
	}
#line 3752 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 133:
#line 1082 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 3760 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 134:
#line 1086 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Output_def *od = unsmob<Output_def> ((yyvsp[0]));
		if (od) {
			if (to_boolean (od->lookup_variable (ly_symbol2scm ("is-paper"))))
			{
				parser->parser_error ((yylsp[0]), _("\\paper cannot be used in \\score, use \\layout instead"));
				od = 0;
				(yyvsp[0]) = SCM_UNSPECIFIED;
			}
		} else if (!unsmob<Score> ((yyval))) {
			if (unsmob<Music> ((yyvsp[0]))) {
				(yyvsp[0]) = Lily::scorify_music ((yyvsp[0]));
			}
			if (unsmob<Score> ((yyvsp[0])))
			{
				(yyval) = (yyvsp[0]);
				(yyvsp[0]) = SCM_UNSPECIFIED;
			}
		}
		Score *score = unsmob<Score> ((yyval));
		if (score && scm_is_pair ((yyvsp[-1]))) {
			if (ly_is_module (scm_car ((yyvsp[-1]))))
			{
				score->set_header (scm_car ((yyvsp[-1])));
				(yyvsp[-1]) = scm_cdr ((yyvsp[-1]));
			}
			for (SCM p = scm_reverse_x ((yyvsp[-1]), SCM_EOL);
			     scm_is_pair (p); p = scm_cdr (p))
			{
				score->add_output_def (unsmob<Output_def> (scm_car (p)));
			}
		}
		if (od) {
			if (score)
				score->add_output_def (od);
			else if (scm_is_pair ((yyval)) && ly_is_module (scm_car ((yyval))))
				scm_set_cdr_x ((yyval), scm_cons ((yyvsp[0]), scm_cdr ((yyval))));
			else
				(yyval) = scm_cons ((yyvsp[0]), (yyval));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("Spurious expression in \\score"));
	}
#line 3807 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 135:
#line 1129 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (Score *score = unsmob<Score> ((yyvsp[0]))) {
			if (!ly_is_module (score->get_header ()))
				score->set_header (ly_make_module (false));
			parser->lexer_->add_scope (score->get_header ());
		} else {
			if (!scm_is_pair ((yyvsp[0])) || !ly_is_module (scm_car ((yyvsp[0]))))
				(yyvsp[0]) = scm_cons (ly_make_module (false), (yyvsp[0]));
			parser->lexer_->add_scope (scm_car ((yyvsp[0])));
		}
	}
#line 3823 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 136:
#line 1140 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-2]);
	}
#line 3831 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 137:
#line 1151 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Output_def *od = unsmob<Output_def> ((yyvsp[0]));

		if (!to_boolean (od->lookup_variable (ly_symbol2scm ("is-paper"))))
		{
			parser->parser_error ((yylsp[0]), _ ("need \\paper for paper block"));
			(yyval) = get_paper (parser)->unprotect ();
		}
	}
#line 3845 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 138:
#line 1164 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[-1])))
			(yyval) = scm_car ((yyvsp[-1]));

		parser->lexer_->remove_scope ();
		parser->lexer_->pop_state ();
	}
#line 3857 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 139:
#line 1174 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Output_def *p = get_paper (parser);
		p->input_origin_ = (yyloc);
		parser->lexer_->add_scope (p->scope_);
                (yyval) = p->unprotect ();
	}
#line 3868 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 140:
#line 1180 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Output_def *p = get_midi (parser);
		(yyval) = p->unprotect ();
		parser->lexer_->add_scope (p->scope_);
	}
#line 3878 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 141:
#line 1185 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Output_def *p = get_layout (parser);

		parser->lexer_->add_scope (p->scope_);
		(yyval) = p->unprotect ();
	}
#line 3889 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 142:
#line 1194 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_initial_state ();
		(yyval) = (yyvsp[0]);
	}
#line 3898 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 145:
#line 1211 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		unsmob<Output_def> ((yyvsp[-1]))->input_origin_.set_spot ((yyloc));
		// This is a stupid trick to mark the beginning of the
		// body for deciding whether to allow
		// embedded_scm_active to have an output definition
		(yyval) = scm_list_1 ((yyvsp[-1]));
	}
#line 3910 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 146:
#line 1218 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[-1])))
			(yyval) = scm_car ((yyvsp[-1]));
	}
#line 3919 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 147:
#line 1223 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// We don't switch into note mode for Scheme functions
		// here.  Does not seem warranted/required in output
		// definitions.
		if (scm_is_pair ((yyvsp[-1])))
		{
			Output_def *o = unsmob<Output_def> ((yyvsp[0]));
			if (o) {
				o->input_origin_.set_spot ((yyloc));
				(yyvsp[-1]) = o->self_scm ();
				parser->lexer_->remove_scope ();
				parser->lexer_->add_scope (o->scope_);
				(yyvsp[0]) = SCM_UNSPECIFIED;
			} else
				(yyvsp[-1]) = scm_car ((yyvsp[-1]));
		}
		if (unsmob<Context_def> ((yyvsp[0])))
			assign_context_def (unsmob<Output_def> ((yyvsp[-1])), (yyvsp[0]));
		// Seems unlikely, but let's be complete:
		else if (unsmob<Music> ((yyvsp[0])))
		{
			SCM proc = parser->lexer_->lookup_identifier
				("output-def-music-handler");
			scm_call_2 (proc, (yyvsp[-1]), (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
		(yyval) = (yyvsp[-1]);
	}
#line 3952 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 148:
#line 1251 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[-1])))
			(yyval) = scm_car ((yyvsp[-1]));
		// Evaluate and ignore #xxx, as opposed to \xxx
		parser->lexer_->eval_scm_token ((yyvsp[0]), (yylsp[0]));
	}
#line 3963 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 149:
#line 1258 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[0])))
			(yyvsp[0]) = scm_car ((yyvsp[0]));
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 3974 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 150:
#line 1264 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->pop_state ();
		if (unsmob<Context_def> ((yyvsp[0])))
			assign_context_def (unsmob<Output_def> ((yyvsp[-2])), (yyvsp[0]));
		else {

			SCM proc = parser->lexer_->lookup_identifier
				     ("output-def-music-handler");
			scm_call_2 (proc, (yyvsp[-2]), (yyvsp[0]));
		}
		(yyval) = (yyvsp[-2]);
	}
#line 3991 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 151:
#line 1276 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {

	}
#line 3999 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 152:
#line 1282 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (tempo, (yyloc), SCM_EOL, (yyvsp[-2]), (yyvsp[0]));
	}
#line 4007 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 153:
#line 1285 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (tempo, (yyloc), (yyvsp[-3]), (yyvsp[-2]), (yyvsp[0]));
	}
#line 4015 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 154:
#line 1288 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (tempo, (yyloc), (yyvsp[0]));
	}
#line 4023 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 155:
#line 1297 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 4031 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 156:
#line 1300 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (unsmob<Music> ((yyvsp[0])))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 4040 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 157:
#line 1304 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = MY_MAKE_MUSIC("Music", (yyloc));
		// ugh. code dup
		m->set_property ("error-found", SCM_BOOL_T);
		(yyval) = scm_cons (m->self_scm (), (yyvsp[-1]));
		m->unprotect (); /* UGH */
	}
#line 4052 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 158:
#line 1315 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[-1]), SCM_EOL);
	}
#line 4060 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 162:
#line 1327 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	        (yyval) = make_music_from_simple (parser, (yylsp[0]), (yyvsp[0]));
                if (!unsmob<Music> ((yyval)))
		{
                        parser->parser_error ((yylsp[0]), _ ("music expected"));
			(yyval) = MAKE_SYNTAX (void_music, (yyloc));
		}
	}
#line 4073 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 163:
#line 1339 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (unsmob<Music> ((yyvsp[0]))->is_mus_type ("post-event")) {
			parser->parser_error ((yylsp[0]), _ ("unexpected post-event"));
			(yyval) = SCM_UNSPECIFIED;
		}
	}
#line 4084 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 164:
#line 1346 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 4092 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 165:
#line 1350 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 4100 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 166:
#line 1354 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));

		parser->default_duration_ = *unsmob<Duration> ((yyvsp[-1]));
		n->set_property ("duration", (yyvsp[-1]));

		if (scm_is_pair ((yyvsp[0])))
			n->set_property ("articulations",
					 scm_reverse_x ((yyvsp[0]), SCM_EOL));
		(yyval) = n->unprotect ();
	}
#line 4116 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 167:
#line 1369 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			(yyval) = (yyvsp[0]);
		else if (Music *m = unsmob<Music> ((yyvsp[0]))) {
			if (m->is_mus_type ("post-event")) {
				parser->parser_error
					((yylsp[0]), _ ("unexpected post-event"));
				(yyval) = SCM_UNSPECIFIED;
			} else
				(yyval) = (yyvsp[0]);
		} else if (parser->lexer_->is_lyric_state ()
			   && Text_interface::is_markup ((yyvsp[0])))
			MYBACKUP (LYRIC_ELEMENT, (yyvsp[0]), (yylsp[0]));
		else {
			(yyloc).warning (_ ("Ignoring non-music expression"));
			(yyval) = (yyvsp[0]);
		}
	}
#line 4139 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 170:
#line 1398 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (repeat, (yyloc), (yyvsp[-2]), (yyvsp[-1]), (yyvsp[0]), SCM_EOL);
	}
#line 4147 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 171:
#line 1402 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (repeat, (yyloc), (yyvsp[-4]), (yyvsp[-3]), (yyvsp[-2]), (yyvsp[0]));
	}
#line 4155 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 172:
#line 1408 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (sequential_music, (yyloc), (yyvsp[0]));
	}
#line 4163 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 173:
#line 1411 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (sequential_music, (yyloc), (yyvsp[0]));
	}
#line 4171 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 174:
#line 1417 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (simultaneous_music, (yyloc), (yyvsp[0]));
	}
#line 4179 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 175:
#line 1420 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (simultaneous_music, (yyloc), scm_reverse_x ((yyvsp[-1]), SCM_EOL));
	}
#line 4187 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 179:
#line 1433 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 4196 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 180:
#line 1437 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                parser->lexer_->pop_state ();
                (yyval) = (yyvsp[-1]);
        }
#line 4205 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 181:
#line 1442 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                (yyval) = (yyvsp[0]);
        }
#line 4213 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 182:
#line 1446 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                (yyval) = (yyvsp[0]);
        }
#line 4221 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 183:
#line 1450 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (unsmob<Music> ((yyvsp[0]))) {
			SCM proc = parser->lexer_->lookup_identifier ("context-mod-music-handler");
			(yyvsp[0]) = scm_call_1 (proc, (yyvsp[0]));
		}
		if (unsmob<Context_mod> ((yyvsp[0])))
			(yyval) = (yyvsp[0]);
		else {
			parser->parser_error ((yylsp[0]), _ ("not a context mod"));
			(yyval) = Context_mod ().smobbed_copy ();
		}
	}
#line 4238 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 186:
#line 1470 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
            (yyval) = SCM_EOL;
        }
#line 4246 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 187:
#line 1474 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
              (yyval) = (yyvsp[0]);
        }
#line 4254 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 188:
#line 1480 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
            (yyval) = Context_mod ().smobbed_copy ();
        }
#line 4262 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 189:
#line 1483 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[0])))
			unsmob<Context_mod> ((yyvsp[-1]))->add_context_mod ((yyvsp[0]));
        }
#line 4271 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 190:
#line 1487 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                 Context_mod *md = unsmob<Context_mod> ((yyvsp[0]));
                 if (md)
                     unsmob<Context_mod> ((yyvsp[-1]))->add_context_mods (md->get_mods ());
        }
#line 4281 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 191:
#line 1492 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			;
		else if (unsmob<Music> ((yyvsp[0]))) {
			SCM proc = parser->lexer_->lookup_identifier ("context-mod-music-handler");
			(yyvsp[0]) = scm_call_1 (proc, (yyvsp[0]));
		}
		if (unsmob<Context_mod> ((yyvsp[0])))
			unsmob<Context_mod> ((yyval))->add_context_mods
				(unsmob<Context_mod> ((yyvsp[0]))->get_mods ());
		else {
			parser->parser_error ((yylsp[0]), _ ("not a context mod"));
		}
        }
#line 4300 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 192:
#line 1509 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Context_mod *ctxmod = unsmob<Context_mod> ((yyvsp[0]));
                SCM mods = SCM_EOL;
                if (ctxmod)
                        mods = ctxmod->get_mods ();
		(yyval) = START_MAKE_SYNTAX (context_specification, (yyvsp[-2]), (yyvsp[-1]), mods, SCM_BOOL_F);
	}
#line 4312 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 193:
#line 1516 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Context_mod *ctxmod = unsmob<Context_mod> ((yyvsp[0]));
                SCM mods = SCM_EOL;
                if (ctxmod)
                        mods = ctxmod->get_mods ();
		(yyval) = START_MAKE_SYNTAX (context_specification, (yyvsp[-2]), (yyvsp[-1]), mods, SCM_BOOL_T);
	}
#line 4324 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 194:
#line 1526 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Context_mod *ctxmod = unsmob<Context_mod> ((yyvsp[-1]));
		SCM mods = SCM_EOL;
		if (ctxmod)
			mods = ctxmod->get_mods ();
		(yyval) = scm_acons ((yyvsp[0]), mods, SCM_EOL);
	}
#line 4336 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 195:
#line 1533 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Context_mod *ctxmod = unsmob<Context_mod> ((yyvsp[-1]));
		SCM mods = SCM_EOL;
		if (ctxmod)
			mods = ctxmod->get_mods ();
		(yyval) = scm_acons ((yyvsp[0]), mods, (yyvsp[-3]));
	}
#line 4348 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 199:
#line 1562 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (lyric_combine, (yyloc), (yyvsp[-1]), SCM_EOL, (yyvsp[0]));
	}
#line 4356 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 200:
#line 1566 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (lyric_combine, (yyloc), (yyvsp[-2]), (yyvsp[-3]), (yyvsp[-1]));
	}
#line 4364 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 204:
#line 1579 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Input i;
		i.set_location ((yylsp[-2]), (yylsp[-1]));
		(yyval) = FINISH_MAKE_SYNTAX ((yyvsp[-2]), i, (yyvsp[-1]));
		(yyval) = MAKE_SYNTAX (add_lyrics, (yyloc), (yyval), scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 4375 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 205:
#line 1586 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = FINISH_MAKE_SYNTAX ((yyvsp[-1]), (yyloc), (yyvsp[0]));
	}
#line 4383 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 206:
#line 1590 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = FINISH_MAKE_SYNTAX ((yyvsp[-1]), (yyloc), (yyvsp[0]));
	}
#line 4391 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 209:
#line 1599 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (add_lyrics, (yyloc), (yyvsp[-1]), scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 4399 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 213:
#line 1611 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 4405 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 214:
#line 1612 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 4411 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 216:
#line 1671 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_append (scm_list_2 ((yyvsp[-2]), scm_reverse_x ((yyvsp[0]), SCM_EOL)));
	}
#line 4419 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 218:
#line 1679 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_append_x (scm_list_2 ((yyvsp[0]), (yyvsp[-2])));
	}
#line 4427 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 219:
#line 1688 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = try_string_variants (Lily::symbol_list_p, (yyvsp[0]));
		if (SCM_UNBNDP ((yyval))) {
			parser->parser_error ((yylsp[0]), _("not a symbol"));
			(yyval) = SCM_EOL;
		} else
			(yyval) = scm_reverse ((yyval));
	}
#line 4440 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 223:
#line 1708 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-1]), (yyvsp[-2]));
	}
#line 4448 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 224:
#line 1712 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		if (scm_is_true (scm_call_1 ((yyvsp[-3]), n)))
			(yyval) = scm_cons (n, (yyvsp[-2]));
		else {
			Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[0]));
			t->set_property ("digit", (yyvsp[0]));
			(yyval) = check_scheme_arg (parser, (yylsp[-1]), t->unprotect (),
					       (yyvsp[-2]), (yyvsp[-3]), n);
		}
	}
#line 4464 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 225:
#line 1724 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[-1]),
				       scm_difference ((yyvsp[0]), SCM_UNDEFINED),
				       (yyvsp[-2]), (yyvsp[-3]));
	}
#line 4474 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 226:
#line 1730 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[-1]),
				       scm_difference ((yyvsp[0]), SCM_UNDEFINED),
				       (yyvsp[-2]), (yyvsp[-3]));
	}
#line 4484 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 227:
#line 1736 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else
			(yyval) = check_scheme_arg (parser, (yylsp[0]),
					       make_music_from_simple
					       (parser, (yylsp[0]), (yyvsp[0])),
					       (yyvsp[-1]), (yyvsp[-2]));
	}
#line 4498 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 228:
#line 1746 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-1]), (yyvsp[-2]));
	}
#line 4506 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 229:
#line 1750 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-1]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-2]));
		else
			(yyval) = check_scheme_arg (parser, (yylsp[0]),
					       make_music_from_simple
					       (parser, (yylsp[0]), (yyvsp[0])),
					       (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4520 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 230:
#line 1760 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4528 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 231:
#line 1764 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4536 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 232:
#line 1768 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4544 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 233:
#line 1772 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4552 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 234:
#line 1776 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4560 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 235:
#line 1783 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, res);
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple
			   (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), STRING, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 4581 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 236:
#line 1800 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), PITCH_IDENTIFIER, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 4596 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 237:
#line 1811 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), TONICNAME_PITCH, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 4611 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 238:
#line 1822 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, res);
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple
			   (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), STRING, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 4632 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 239:
#line 1839 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple
			   (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), STRING, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 4649 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 240:
#line 1852 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		else {
			SCM d = make_duration ((yyvsp[0]));
			if (SCM_UNBNDP (d) || scm_is_false (scm_call_1 ((yyvsp[-2]), d)))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0])); // trigger error
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
		}
	}
#line 4666 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 241:
#line 1864 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, (yyvsp[0]));
	}
#line 4675 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 243:
#line 1876 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else {
			(yyval) = make_music_from_simple (parser, (yylsp[0]), (yyvsp[0]));
			if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyval))))
				(yyval) = scm_cons ((yyval), (yyvsp[-1]));
			else
			{
				(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
				MYBACKUP (SCM_ARG, (yyvsp[0]), (yylsp[0]));
			}
		}
	}
#line 4694 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 244:
#line 1891 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
		{
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (EVENT_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4708 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 245:
#line 1901 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
		{
			(yyval) = (yyvsp[-1]);
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), PITCH_IDENTIFIER, (yyvsp[0]));
		} else if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (PITCH_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4728 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 246:
#line 1917 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
		{
			(yyval) = (yyvsp[-1]);
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), TONICNAME_PITCH, (yyvsp[0]));
		} else if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (TONICNAME_PITCH, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4748 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 247:
#line 1933 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (SCM_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4761 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 248:
#line 1942 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
		{
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
			(yyval) = (yyvsp[-1]);
		} else {
			SCM d = make_duration ((yyvsp[0]));
			if (SCM_UNBNDP (d) || scm_is_false (scm_call_1 ((yyvsp[-2]), d)))
			{
				(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
				MYBACKUP (UNSIGNED, (yyvsp[0]), (yylsp[0]));
			} else {
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
				(yyval) = (yyvsp[-1]);
			}
		}
	}
#line 4783 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 249:
#line 1960 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
		{
			(yyval) = (yyvsp[-1]);
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (REAL, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4798 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 250:
#line 1971 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
		{
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (NUMBER_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4812 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 251:
#line 1981 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		if (scm_is_true (scm_call_1 ((yyvsp[-3]), n))) {
			(yyval) = (yyvsp[-2]);
			MYREPARSE ((yylsp[0]), (yyvsp[-3]), REAL, n);
		} else {
			Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[0]));
			t->set_property ("digit", (yyvsp[0]));
			(yyval) = t->unprotect ();
			if (scm_is_true (scm_call_1 ((yyvsp[-3]), (yyval))))
				(yyval) = scm_cons ((yyval), (yyvsp[-2]));
			else {
				(yyval) = scm_cons (loc_on_music (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
				MYBACKUP (UNSIGNED, (yyvsp[0]), (yylsp[0]));
				parser->lexer_->push_extra_token ((yylsp[-1]), '-');
			}
		}
	}
#line 4835 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 252:
#line 2000 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		if (scm_is_true (scm_call_1 ((yyvsp[-3]), n))) {
			MYREPARSE ((yylsp[0]), (yyvsp[-3]), REAL, n);
			(yyval) = (yyvsp[-2]);
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
			MYBACKUP (REAL, n, (yylsp[0]));
		}
	}
#line 4850 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 253:
#line 2011 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		if (scm_is_true (scm_call_1 ((yyvsp[-3]), n))) {
			(yyval) = scm_cons (n, (yyvsp[-2]));
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
			MYBACKUP (NUMBER_IDENTIFIER, n, (yylsp[0]));
		}
	}
#line 4864 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 254:
#line 2021 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
		{
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, (yyvsp[0]));
			(yyval) = (yyvsp[-1]);
		} else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (DURATION_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4879 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 255:
#line 2032 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res)) {
				(yyval) = (yyvsp[-1]);
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			}
			else
				(yyval) = scm_cons (res, (yyvsp[-1]));
		else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (SCM_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4898 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 256:
#line 2047 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res)) {
				(yyval) = (yyvsp[-1]);
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			}
			else
				(yyval) = scm_cons (res, (yyvsp[-1]));
		else {
			(yyval) = scm_cons (loc_on_music (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (STRING, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 4917 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 257:
#line 2062 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-1]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-2]));
		else
			(yyval) = check_scheme_arg (parser, (yylsp[0]),
					       make_music_from_simple
					       (parser, (yylsp[0]), (yyvsp[0])),
					       (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4931 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 258:
#line 2072 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4940 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 259:
#line 2077 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4949 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 260:
#line 2082 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 4957 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 262:
#line 2090 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons (loc_on_music (parser, (yylsp[0]), (yyvsp[-3])), (yyvsp[-1]));
	}
#line 4965 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 264:
#line 2098 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons (loc_on_music (parser, (yylsp[0]), (yyvsp[-2])), (yyvsp[0]));
	}
#line 4973 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 265:
#line 2117 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 4981 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 266:
#line 2121 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 4989 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 267:
#line 2125 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 4997 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 268:
#line 2129 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5005 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 269:
#line 2136 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5013 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 270:
#line 2140 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5021 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 271:
#line 2144 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5029 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 272:
#line 2148 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5037 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 273:
#line 2154 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 5045 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 274:
#line 2158 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
		else
			(yyval) = check_scheme_arg (parser, (yylsp[0]),
					       make_music_from_simple
					       (parser, (yylsp[0]), (yyvsp[0])),
					       (yyvsp[-1]), (yyvsp[-2]));
	}
#line 5059 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 275:
#line 2168 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-1]), (yyvsp[-2]));
	}
#line 5068 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 276:
#line 2173 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-1]), (yyvsp[-2]));
	}
#line 5077 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 277:
#line 2178 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		(yyval) = check_scheme_arg (parser, (yylsp[0]), n, (yyvsp[-2]), (yyvsp[-3]));
	}
#line 5086 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 278:
#line 2183 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5095 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 279:
#line 2188 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5104 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 280:
#line 2193 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_true (scm_call_1 ((yyvsp[-1]), (yyvsp[0]))))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-2]));
		else
			(yyval) = check_scheme_arg (parser, (yylsp[0]),
					       make_music_from_simple
					       (parser, (yylsp[0]), (yyvsp[0])),
					       (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5118 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 281:
#line 2203 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5127 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 282:
#line 2208 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]),
				       (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5136 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 283:
#line 2213 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-2]), (yyvsp[-1]));
	}
#line 5144 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 284:
#line 2220 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, res);
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), LYRIC_ELEMENT, (yyvsp[0]));
		else
			// This is going to flag a syntax error, we
			// know the predicate to be false.
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 5166 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 285:
#line 2238 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), PITCH_IDENTIFIER, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 5181 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 286:
#line 2249 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true
		    (scm_call_1
		     ((yyvsp[-2]), make_music_from_simple
		      (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), TONICNAME_PITCH, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 5196 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 287:
#line 2260 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_string_variants ((yyvsp[-2]), (yyvsp[0]));
		if (!SCM_UNBNDP (res))
			if (scm_is_pair (res))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, res);
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, res);
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), LYRIC_ELEMENT, (yyvsp[0]));
		else
			// This is going to flag a syntax error, we
			// know the predicate to be false.
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 5218 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 288:
#line 2278 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
		else if (scm_is_true
			 (scm_call_1
			  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), (yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), LYRIC_ELEMENT, (yyvsp[0]));
		else
			// This is going to flag a syntax error, we
			// know the predicate to be false.
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0]));
	}
#line 5236 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 289:
#line 2292 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		else {
			SCM d = make_duration ((yyvsp[0]));
			if (SCM_UNBNDP (d) || scm_is_false (scm_call_1 ((yyvsp[-2]), d)))
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
		}
	}
#line 5253 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 290:
#line 2305 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, (yyvsp[0]));
	}
#line 5262 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 291:
#line 2310 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-2]);
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		if (scm_is_true (scm_call_1 ((yyvsp[-3]), n)))
			MYREPARSE ((yylsp[0]), (yyvsp[-3]), REAL, n);
		else {
			Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yylsp[0]));
			t->set_property ("digit", (yyvsp[0]));
			SCM m = t->unprotect ();
			if (scm_is_true (scm_call_1 ((yyvsp[-3]), m)))
				MYREPARSE ((yylsp[0]), (yyvsp[-3]), SCM_ARG, m);
			else
				MYREPARSE ((yylsp[0]), (yyvsp[-3]), SCM_ARG, (yyvsp[0]));
		}
	}
#line 5282 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 292:
#line 2326 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-2]);
		SCM n = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
		MYREPARSE ((yylsp[0]), (yyvsp[-3]), REAL, n);
	}
#line 5292 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 294:
#line 2336 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons (loc_on_music (parser, (yylsp[0]), (yyvsp[-3])), (yyvsp[-1]));
	}
#line 5300 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 297:
#line 2345 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons (loc_on_music (parser, (yylsp[0]), (yyvsp[-2])), (yyvsp[0]));
	}
#line 5308 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 298:
#line 2351 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (music_function, (yyloc),
				  (yyvsp[-1]), (yyvsp[0]));
	}
#line 5317 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 299:
#line 2359 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_EOL; }
#line 5323 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 300:
#line 2360 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5331 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 301:
#line 2372 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_lyric_state ();
	}
#line 5339 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 302:
#line 2375 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->pop_state ();
		(yyval) = (yyvsp[0]);
	}
#line 5348 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 304:
#line 2383 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_eq ((yyvsp[-1]), ly_symbol2scm ("chords")))
		{
		  (yyval) = MAKE_SYNTAX (unrelativable_music, (yyloc), (yyvsp[0]));
		}
		else
		{
		  (yyval) = (yyvsp[0]);
		}
		parser->lexer_->pop_state ();
	}
#line 5364 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 305:
#line 2394 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                Context_mod *ctxmod = unsmob<Context_mod> ((yyvsp[-1]));
                SCM mods = SCM_EOL;
                if (ctxmod)
                        mods = ctxmod->get_mods ();
		(yyval) = MAKE_SYNTAX (context_specification, (yyloc), (yyvsp[-2]), SCM_EOL, mods, SCM_BOOL_T, (yyvsp[0]));
		if (scm_is_eq ((yyvsp[-2]), ly_symbol2scm ("ChordNames")))
		{
		  (yyval) = MAKE_SYNTAX (unrelativable_music, (yyloc), (yyval));
		}
		parser->lexer_->pop_state ();
	}
#line 5381 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 306:
#line 2409 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);

		(yyval) = ly_symbol2scm ("notes");
	}
#line 5392 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 307:
#line 2416 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("drumPitchNames");
		parser->lexer_->push_note_state (nn);

		(yyval) = ly_symbol2scm ("drums");
	}
#line 5403 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 308:
#line 2422 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_figuredbass_state ();

		(yyval) = ly_symbol2scm ("figures");
	}
#line 5413 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 309:
#line 2427 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		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) = ly_symbol2scm ("chords");

	}
#line 5426 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 310:
#line 2436 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { parser->lexer_->push_lyric_state ();
		(yyval) = ly_symbol2scm ("lyrics");
	}
#line 5434 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 311:
#line 2442 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("drumPitchNames");
		parser->lexer_->push_note_state (nn);

		(yyval) = ly_symbol2scm ("DrumStaff");
	}
#line 5445 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 312:
#line 2448 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_figuredbass_state ();

		(yyval) = ly_symbol2scm ("FiguredBass");
	}
#line 5455 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 313:
#line 2453 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		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) = ly_symbol2scm ("ChordNames");
	}
#line 5467 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 314:
#line 2461 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { parser->lexer_->push_lyric_state ();
		(yyval) = ly_symbol2scm ("Lyrics");
	}
#line 5475 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 315:
#line 2467 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (context_change, (yyloc), (yyvsp[-2]), (yyvsp[0]));
	}
#line 5483 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 316:
#line 2474 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
	}
#line 5491 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 317:
#line 2477 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[-1]), (yyvsp[0]));
	}
#line 5499 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 318:
#line 2483 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_3 (ly_symbol2scm ("assign"), (yyvsp[-2]), (yyvsp[0]));
	}
#line 5507 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 319:
#line 2486 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_2 (ly_symbol2scm ("unset"), (yyvsp[0]));
	}
#line 5515 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 320:
#line 2489 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_ilength ((yyvsp[-2])) < 2) {
			parser->parser_error ((yylsp[-2]), _("bad grob property path"));
			(yyval) = SCM_UNDEFINED;
		} else {
			(yyval) = scm_cons (ly_symbol2scm ("push"),
				       scm_cons2 (scm_car ((yyvsp[-2])),
						  (yyvsp[0]),
						  scm_cdr ((yyvsp[-2]))));
		}
	}
#line 5531 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 321:
#line 2500 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons (ly_symbol2scm ("pop"), (yyvsp[0]));
	}
#line 5539 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 322:
#line 2530 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 5547 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 323:
#line 2537 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_null ((yyvsp[0]))
		    || scm_is_null (scm_cdr ((yyvsp[0]))))
			MYBACKUP (SCM_ARG, (yyvsp[0]), (yylsp[0]));
		else
			MYBACKUP (SYMBOL_LIST, scm_reverse_x ((yyvsp[0]), SCM_EOL), (yylsp[0]));
	}
#line 5559 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 325:
#line 2550 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_append_x (scm_list_2 ((yyvsp[0]), (yyvsp[-2])));
	}
#line 5567 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 326:
#line 2554 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_append_x (scm_list_2 ((yyvsp[0]), (yyvsp[-1])));
	}
#line 5575 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 327:
#line 2560 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("consists"); }
#line 5581 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 328:
#line 2561 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("remove"); }
#line 5587 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 329:
#line 2563 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("accepts"); }
#line 5593 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 330:
#line 2564 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("default-child"); }
#line 5599 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 331:
#line 2565 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("denies"); }
#line 5605 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 332:
#line 2567 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("alias"); }
#line 5611 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 333:
#line 2568 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("translator-type"); }
#line 5617 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 334:
#line 2569 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("description"); }
#line 5623 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 335:
#line 2570 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_symbol2scm ("context-name"); }
#line 5629 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 336:
#line 2574 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 5635 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 337:
#line 2575 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_2 ((yyvsp[-1]), (yyvsp[0]));
	}
#line 5643 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 338:
#line 2579 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!scm_is_string ((yyvsp[0]))
		    && ly_symbol2scm ("consists") != (yyvsp[-1])
		    && ly_symbol2scm ("remove") != (yyvsp[-1]))
		{
			(yyval) = SCM_EOL;
			parser->parser_error ((yylsp[-1]), _ ("only \\consists and \\remove take non-string argument."));
		}
		else
		{
			(yyval) = scm_list_2 ((yyvsp[-1]), (yyvsp[0]));
		}
	}
#line 5661 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 339:
#line 2597 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM l = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		if (scm_is_pair (l)
		    && to_boolean
		    (scm_object_property (scm_car (l),
					  ly_symbol2scm ("is-grob?"))))
			l = scm_cons (ly_symbol2scm ("Bottom"), l);
		if (scm_is_null (l) || scm_is_null (scm_cdr (l))) {
			parser->parser_error ((yylsp[0]), _ ("bad grob property path"));
			l = SCM_UNDEFINED;
		}
		(yyval) = l;
	}
#line 5679 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 340:
#line 2615 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[0])) && scm_is_null (scm_cddr ((yyvsp[0]))))
		{
			parser->parser_error ((yylsp[0]), _ ("bad grob property path"));
			(yyval) = SCM_UNDEFINED;
		}
	}
#line 5691 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 341:
#line 2623 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[-1]))) {
			(yyval) = scm_append_x (scm_list_2 ((yyvsp[-1]), (yyvsp[0])));
			if (scm_is_null (scm_cddr ((yyval)))) {
				parser->parser_error ((yyloc), _ ("bad grob property path"));
				(yyval) = SCM_UNDEFINED;
			}
		}

	}
#line 5706 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 342:
#line 2638 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM l = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		switch (scm_ilength (l)) {
		case 1:
			l = scm_cons (ly_symbol2scm ("Bottom"), l);
		case 2:
			break;
		default:
			parser->parser_error ((yylsp[0]), _ ("bad context property path"));
			l = SCM_UNDEFINED;
		}
		(yyval) = l;
	}
#line 5724 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 343:
#line 2670 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyvsp[0]) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		if (scm_is_null ((yyvsp[0]))
		    || to_boolean
		    (scm_object_property (scm_car ((yyvsp[0])),
					  ly_symbol2scm ("is-grob?")))) {
			(yyval) = ly_symbol2scm ("Bottom");
			parser->lexer_->push_extra_token ((yylsp[0]), SCM_IDENTIFIER, (yyvsp[0]));
		} else {
			(yyval) = scm_car ((yyvsp[0]));
			parser->lexer_->push_extra_token ((yylsp[0]), SCM_IDENTIFIER,
							  scm_cdr ((yyvsp[0])));
		}
	}
#line 5743 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 344:
#line 2687 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = MAKE_SYNTAX (void_music, (yyloc));
		else
			(yyval) = MAKE_SYNTAX (property_override, (yyloc),
					  scm_car ((yyvsp[-2])),
					  scm_cdr ((yyvsp[-2])),
					  (yyvsp[0]));
	}
#line 5757 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 345:
#line 2696 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (property_revert, (yyloc), (yyvsp[-1]), (yyvsp[0]));
	}
#line 5765 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 346:
#line 2699 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = MAKE_SYNTAX (void_music, (yyloc));
		else
			(yyval) = MAKE_SYNTAX (property_set, (yyloc),
					  scm_car ((yyvsp[-2])),
					  scm_cadr ((yyvsp[-2])),
					  (yyvsp[0]));
	}
#line 5779 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 347:
#line 2708 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[0])))
			(yyval) = MAKE_SYNTAX (void_music, (yyloc));
		else
			(yyval) = MAKE_SYNTAX (property_unset, (yyloc),
					  scm_car ((yyvsp[0])),
					  scm_cadr ((yyvsp[0])));
	}
#line 5792 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 352:
#line 2727 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (Text_interface::is_markup ((yyvsp[0]))) {
			(yyval) = (yyvsp[0]);
		} else {
			parser->parser_error ((yylsp[0]), (_ ("markup expected")));
			(yyval) = scm_string (SCM_EOL);
		}
	}
#line 5805 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 354:
#line 2739 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_string ((yyvsp[0]))) {
			(yyval) = (yyvsp[0]);
		} else {
			parser->parser_error ((yylsp[0]), (_ ("simple string expected")));
			(yyval) = scm_string (SCM_EOL);
		}
	}
#line 5818 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 355:
#line 2750 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_string_to_symbol ((yyvsp[0]));
	}
#line 5826 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 356:
#line 2754 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// This is a bit of overkill but makes the same
		// routine responsible for all symbol interpretations.
		(yyval) = try_string_variants (Guile_user::symbol_p, (yyvsp[0]));
		if (SCM_UNBNDP ((yyval)))
		{
			parser->parser_error ((yylsp[0]), (_ ("symbol expected")));
			// Generate a unique symbol in case it is used
			// for an assignment or similar
			(yyval) = scm_make_symbol (ly_string2scm ("undefined"));
		}
	}
#line 5843 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 361:
#line 2781 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
	}
#line 5851 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 363:
#line 2788 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// Let the rhythmic music iterator sort this mess out.
		if (scm_is_pair ((yyvsp[0]))) {
			unsmob<Music> ((yyval))->set_property ("articulations",
							 scm_reverse_x ((yyvsp[0]), SCM_EOL));
		}
	}
#line 5863 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 364:
#line 2795 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Input i;
		i.set_location ((yylsp[-2]), (yylsp[0]));
		(yyval) = MAKE_SYNTAX (repetition_chord, i,
				  (yyvsp[-1]), scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 5874 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 365:
#line 2801 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Input i;
		i.set_location ((yylsp[-2]), (yylsp[0]));
		(yyval) = MAKE_SYNTAX (multi_measure_rest, i, (yyvsp[-1]),
				  scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 5885 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 368:
#line 2814 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = unsmob<Music> ((yyvsp[-2]));
		SCM dur = unsmob<Duration> ((yyvsp[-1]))->smobbed_copy ();
		SCM es = m->get_property ("elements");
		SCM postevs = scm_reverse_x ((yyvsp[0]), 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 (parser->lexer_->override_input ((yyloc)));
		(yyval) = m->self_scm ();
	}
#line 5904 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 369:
#line 2832 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (event_chord, (yyloc), scm_reverse_x ((yyvsp[-1]), SCM_EOL));
	}
#line 5912 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 370:
#line 2836 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (event_chord, (yyloc), scm_reverse_x ((yyvsp[-1]), SCM_EOL));
	}
#line 5920 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 371:
#line 2842 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_EOL; }
#line 5926 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 372:
#line 2843 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[0])))
			(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 5935 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 373:
#line 2851 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		bool q = to_boolean ((yyvsp[-2]));
		bool ex = to_boolean ((yyvsp[-3]));
		SCM check = (yyvsp[-1]);
		SCM post = (yyvsp[0]);

		Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
		n->set_property ("pitch", (yyvsp[-4]));
		if (q)
			n->set_property ("cautionary", SCM_BOOL_T);
                if (ex || q)
			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) = n->unprotect ();
	}
#line 5965 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 374:
#line 2876 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
		n->set_property ("drum-type", (yyvsp[-1]));

		if (scm_is_pair ((yyvsp[0]))) {
			SCM arts = scm_reverse_x ((yyvsp[0]), SCM_EOL);
			n->set_property ("articulations", arts);
		}
		(yyval) = n->unprotect ();
	}
#line 5980 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 375:
#line 2887 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = unsmob<Music> ((yyvsp[0]));

		while (m && m->is_mus_type ("music-wrapper-music")) {
			(yyval) = m->get_property ("element");
			m = unsmob<Music> ((yyval));
		}

		if (!(m && m->is_mus_type ("rhythmic-event"))) {
			parser->parser_error ((yyloc), _ ("not a rhythmic event"));
			(yyval) = SCM_UNDEFINED;
		}
	}
#line 5998 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 379:
#line 2909 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (music_function, (yyloc),
				  (yyvsp[-1]), (yyvsp[0]));
	}
#line 6007 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 380:
#line 2916 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 6015 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 381:
#line 2919 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (Music *m = unsmob<Music> ((yyvsp[0])))
		{
			if (m->is_mus_type ("post-event-wrapper"))
			{
				for (SCM p = m->get_property ("elements");
				     scm_is_pair (p);
				     p = scm_cdr (p))
				{
					(yyval) = scm_cons (scm_car (p), (yyval));
				}
			} else {
				m->set_spot (parser->lexer_->override_input ((yylsp[0])));
				(yyval) = scm_cons ((yyvsp[0]), (yyval));
			}
		}
	}
#line 6038 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 382:
#line 2940 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6046 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 383:
#line 2943 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		if (!unsmob<Music> ((yyvsp[0]))->is_mus_type ("post-event")) {
			parser->parser_error ((yylsp[0]), _ ("post-event expected"));
			(yyval) = SCM_UNSPECIFIED;
		} else if (!SCM_UNBNDP ((yyvsp[-1])))
		{
			unsmob<Music> ((yyval))->set_property ("direction", (yyvsp[-1]));
		}
	}
#line 6061 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 384:
#line 2953 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_lyric_state ())
			parser->parser_error ((yylsp[0]), _ ("have to be in Lyric mode for lyrics"));
		(yyval) = MY_MAKE_MUSIC ("HyphenEvent", (yyloc))->unprotect ();
	}
#line 6071 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 385:
#line 2958 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_lyric_state ())
			parser->parser_error ((yylsp[0]), _ ("have to be in Lyric mode for lyrics"));
		(yyval) = MY_MAKE_MUSIC ("ExtenderEvent", (yyloc))->unprotect ();
	}
#line 6081 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 386:
#line 2963 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[-1])))
		{
			Music *m = unsmob<Music> ((yyvsp[0]));
			m->set_property ("direction", (yyvsp[-1]));
		}
		(yyval) = (yyvsp[0]);
	}
#line 6094 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 387:
#line 2971 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[-1])))
		{
			Music *m = unsmob<Music> ((yyvsp[0]));
			m->set_property ("direction", (yyvsp[-1]));
		}
		(yyval) = (yyvsp[0]);
	}
#line 6107 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 388:
#line 2980 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		unsmob<Music> ((yyval))->set_property ("direction", scm_from_int (UP));
	}
#line 6116 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 389:
#line 2985 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		unsmob<Music> ((yyval))->set_property ("direction", scm_from_int (DOWN));
	}
#line 6125 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 391:
#line 2993 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6133 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 392:
#line 2999 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *s = MY_MAKE_MUSIC ("StringNumberEvent", (yyloc));
		s->set_property ("string-number", (yyvsp[0]));
		(yyval) = s->unprotect ();
	}
#line 6143 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 394:
#line 3008 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6151 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 395:
#line 3011 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
               Music *a = MY_MAKE_MUSIC ("TremoloEvent", (yyloc));
               a->set_property ("tremolo-type", (yyvsp[0]));
               (yyval) = a->unprotect ();
        }
#line 6161 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 397:
#line 3020 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6169 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 398:
#line 3023 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM s = parser->lexer_->lookup_identifier ("dash" + ly_scm2string ((yyvsp[0])));
		if (scm_is_string (s)) {
			Music *a = MY_MAKE_MUSIC ("ArticulationEvent", (yyloc));
			a->set_property ("articulation-type", s);
			(yyval) = a->unprotect ();
		} else {
			Music *original = unsmob<Music> (s);
			if (original && original->is_mus_type ("post-event")) {
				Music *a = original->clone ();
				a->set_spot (parser->lexer_->override_input ((yyloc)));
				(yyval) = a->unprotect ();
			} else {
				parser->parser_error ((yylsp[0]), _ ("expecting string or post-event as script definition"));
				(yyval) = MY_MAKE_MUSIC ("PostEvents", (yyloc))->unprotect ();
			}
		}
	}
#line 6192 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 399:
#line 3044 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_EOL; }
#line 6198 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 400:
#line 3045 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 6204 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 401:
#line 3050 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                (yyval) = SCM_INUM0;
        }
#line 6212 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 404:
#line 3058 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_int (1);
	}
#line 6220 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 405:
#line 3061 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_oneplus ((yyvsp[-1]));
	}
#line 6228 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 406:
#line 3067 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_int (-1);
	}
#line 6236 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 407:
#line 3070 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_oneminus ((yyvsp[-1]));
	}
#line 6244 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 408:
#line 3076 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                if (!scm_is_eq (SCM_INUM0, (yyvsp[0])))
                {
                        Pitch p = *unsmob<Pitch> ((yyvsp[-1]));
                        p = p.transposed (Pitch (scm_to_int ((yyvsp[0])), 0));
                        (yyval) = p.smobbed_copy ();
                }
	}
#line 6257 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 409:
#line 3091 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                if (!scm_is_eq (SCM_INUM0, (yyvsp[0])))
                {
                        Pitch p = *unsmob<Pitch> ((yyvsp[-1]));
                        p = p.transposed (Pitch (scm_to_int ((yyvsp[0])), 0));
                        (yyval) = p.smobbed_copy ();
                }
	}
#line 6270 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 411:
#line 3103 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                if (!scm_is_eq (SCM_INUM0, (yyvsp[0])))
                {
                        Pitch p = *unsmob<Pitch> ((yyvsp[-1]));
                        p = p.transposed (Pitch (scm_to_int ((yyvsp[0])), 0));
                        (yyval) = p.smobbed_copy ();
                }
	}
#line 6283 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 414:
#line 3119 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
		t->set_property ("text", (yyvsp[0]));
		(yyval) = t->unprotect ();
	}
#line 6293 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 415:
#line 3124 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
		t->set_property ("text",
			make_simple_markup ((yyvsp[0])));
		(yyval) = t->unprotect ();
	}
#line 6304 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 416:
#line 3131 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = unsmob<Music> ((yyvsp[0]));
		if (m && m->is_mus_type ("post-event"))
			(yyval) = (yyvsp[0]);
		else if (Text_interface::is_markup ((yyvsp[0]))) {
			Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
			t->set_property ("text", (yyvsp[0]));
			(yyval) = t->unprotect ();
		} else
			parser->parser_error ((yylsp[0]), _ ("not an articulation"));
	}
#line 6320 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 417:
#line 3145 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *t = MY_MAKE_MUSIC ("FingeringEvent", (yyloc));
		t->set_property ("digit", (yyvsp[0]));
		(yyval) = t->unprotect ();
	}
#line 6330 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 418:
#line 3153 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Hat");
	}
#line 6338 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 419:
#line 3156 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Plus");
	}
#line 6346 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 420:
#line 3159 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Dash");
	}
#line 6354 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 421:
#line 3162 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Bang");
	}
#line 6362 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 422:
#line 3165 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Larger");
	}
#line 6370 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 423:
#line 3168 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Dot");
	}
#line 6378 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 424:
#line 3171 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_ascii_string ("Underscore");
	}
#line 6386 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 425:
#line 3177 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = scm_from_int (DOWN); }
#line 6392 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 426:
#line 3178 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = scm_from_int (UP); }
#line 6398 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 427:
#line 3179 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_UNDEFINED; }
#line 6404 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 428:
#line 3183 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6412 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 429:
#line 3189 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_UNDEFINED;
	}
#line 6420 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 430:
#line 3192 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		parser->default_duration_ = *unsmob<Duration> ((yyval));
	}
#line 6429 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 431:
#line 3201 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyval)))
			(yyval) = parser->default_duration_.smobbed_copy ();
	}
#line 6438 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 432:
#line 3208 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_duration ((yyvsp[-1]), scm_to_int ((yyvsp[0])));
		if (SCM_UNBNDP ((yyval)))
		{
			parser->parser_error ((yylsp[-1]), _ ("not a duration"));
			(yyval) = Duration ().smobbed_copy ();
		}
	}
#line 6451 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 433:
#line 3216 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Duration *d = unsmob<Duration> ((yyvsp[-1]));
		Duration k (d->duration_log (),
                            d->dot_count () + scm_to_int ((yyvsp[0])));
		k = k.compressed (d->factor ());
                scm_remember_upto_here_1 ((yyvsp[-1]));
		(yyval) = k.smobbed_copy ();
	}
#line 6464 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 434:
#line 3227 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6472 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 435:
#line 3230 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = unsmob<Duration> ((yyval))->compressed (scm_to_int ((yyvsp[0]))).smobbed_copy ();
	}
#line 6480 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 436:
#line 3233 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Rational  m (scm_to_int (scm_car ((yyvsp[0]))), scm_to_int (scm_cdr ((yyvsp[0]))));

		(yyval) = unsmob<Duration> ((yyval))->compressed (m).smobbed_copy ();
	}
#line 6490 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 437:
#line 3241 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_INUM0;
	}
#line 6498 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 438:
#line 3244 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_oneplus ((yyvsp[-1]));
	}
#line 6506 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 439:
#line 3250 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_from_int (parser->default_tremolo_type_);
	}
#line 6514 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 440:
#line 3253 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP (make_duration ((yyvsp[0])))) {
			parser->parser_error ((yylsp[0]), _ ("not a duration"));
			(yyval) = scm_from_int (parser->default_tremolo_type_);
		} else {
			(yyval) = (yyvsp[0]);
			parser->default_tremolo_type_ = scm_to_int ((yyvsp[0]));
		}
	}
#line 6528 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 441:
#line 3265 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 6534 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 442:
#line 3266 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 6540 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 443:
#line 3267 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 6546 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 444:
#line 3269 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// as an integer, it needs to be non-negative, and otherwise
		// it needs to be suitable as a markup.
		if (scm_is_integer ((yyvsp[0]))
		    ? scm_is_true (scm_negative_p ((yyvsp[0])))
		    : !Text_interface::is_markup ((yyvsp[0])))
		{
			parser->parser_error ((yylsp[0]), _ ("bass number expected"));
			(yyval) = SCM_INUM0;
		}
	}
#line 6562 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 445:
#line 3283 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_rational2scm (FLAT_ALTERATION); }
#line 6568 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 446:
#line 3284 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = ly_rational2scm (SHARP_ALTERATION); }
#line 6574 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 447:
#line 3285 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = scm_from_int (0); }
#line 6580 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 448:
#line 3289 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *bfr = MY_MAKE_MUSIC ("BassFigureEvent", (yyloc));
		(yyval) = bfr->unprotect ();
	}
#line 6589 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 449:
#line 3293 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *bfr = MY_MAKE_MUSIC ("BassFigureEvent", (yyloc));
		(yyval) = bfr->self_scm ();

		if (scm_is_number ((yyvsp[0])))
			bfr->set_property ("figure", (yyvsp[0]));
		else if (Text_interface::is_markup ((yyvsp[0])))
			bfr->set_property ("text", (yyvsp[0]));

		bfr->unprotect ();
	}
#line 6605 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 450:
#line 3304 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		unsmob<Music> ((yyvsp[-1]))->set_property ("bracket-stop", SCM_BOOL_T);
	}
#line 6614 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 451:
#line 3308 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = unsmob<Music> ((yyvsp[-1]));
		if (scm_to_double ((yyvsp[0]))) {
			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[0])));
		} else {
			m->set_property ("alteration", scm_from_int (0));
		}
	}
#line 6630 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 452:
#line 3319 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *m = unsmob<Music> ((yyvsp[-1]));
		m->set_property ((yyvsp[0]), SCM_BOOL_T);
	}
#line 6639 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 453:
#line 3327 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("augmented");
	}
#line 6647 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 454:
#line 3330 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("no-continuation");
	}
#line 6655 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 455:
#line 3333 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("diminished");
	}
#line 6663 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 456:
#line 3336 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("augmented-slash");
	}
#line 6671 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 457:
#line 3342 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6679 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 458:
#line 3345 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		unsmob<Music> ((yyval))->set_property ("bracket-start", SCM_BOOL_T);
	}
#line 6688 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 459:
#line 3352 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 6696 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 460:
#line 3355 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 6704 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 461:
#line 3361 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_BOOL_F; }
#line 6710 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 462:
#line 3362 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_BOOL_T; }
#line 6716 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 463:
#line 3366 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_note_state ())
			parser->parser_error ((yylsp[-6]), _ ("have to be in Note mode for notes"));
		if (!SCM_UNBNDP ((yyvsp[-5]))
                    || !SCM_UNBNDP ((yyvsp[-4]))
                    || scm_is_number ((yyvsp[-3]))
                    || !SCM_UNBNDP ((yyvsp[-2]))
                    || scm_is_true ((yyvsp[-1]))
		    || scm_is_pair ((yyvsp[0])))
		{
			Music *n = 0;
			if (scm_is_true ((yyvsp[-1])))
				n = MY_MAKE_MUSIC ("RestEvent", (yyloc));
			else
				n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));

			n->set_property ("pitch", (yyvsp[-6]));
			if (SCM_UNBNDP ((yyvsp[-2])))
				n->set_property ("duration",
						 parser->default_duration_.smobbed_copy ());
			else
				n->set_property ("duration", (yyvsp[-2]));

			if (scm_is_number ((yyvsp[-3])))
			{
				int q = scm_to_int ((yyvsp[-3]));
				n->set_property ("absolute-octave", scm_from_int (q-1));
			}

			if (to_boolean ((yyvsp[-4])))
				n->set_property ("cautionary", SCM_BOOL_T);
			if (to_boolean ((yyvsp[-5])) || to_boolean ((yyvsp[-4])))
				n->set_property ("force-accidental", SCM_BOOL_T);
			if (scm_is_pair ((yyvsp[0])))
				n->set_property ("articulations",
						 scm_reverse_x ((yyvsp[0]), SCM_EOL));
			(yyval) = n->unprotect ();
		}
	}
#line 6760 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 464:
#line 3405 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_chord_state ())
                        parser->parser_error ((yylsp[-1]), _ ("have to be in Chord mode for chords"));
		if (scm_is_pair ((yyvsp[0]))) {
			if (unsmob<Pitch> ((yyvsp[-1])))
				(yyvsp[-1]) = make_chord_elements ((yylsp[-1]),
							  (yyvsp[-1]),
							  parser->default_duration_.smobbed_copy (),
							  SCM_EOL);

			SCM elts = ly_append2 ((yyvsp[-1]), scm_reverse_x ((yyvsp[0]), SCM_EOL));

			(yyval) = MAKE_SYNTAX (event_chord, (yylsp[-1]), elts);
		} else if (!unsmob<Pitch> ((yyvsp[-1])))
			(yyval) = MAKE_SYNTAX (event_chord, (yylsp[-1]), (yyvsp[-1]));
		// A mere pitch drops through.
	}
#line 6782 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 465:
#line 3425 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *n = MY_MAKE_MUSIC ("NoteEvent", (yyloc));
		n->set_property ("duration", (yyvsp[0]));
		n->set_property ("drum-type", (yyvsp[-1]));

		(yyval) = n->unprotect ();
	}
#line 6794 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 466:
#line 3432 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Music *ev = 0;
 		if (ly_scm2string ((yyvsp[-1])) == "s") {
			/* Space */
			ev = MY_MAKE_MUSIC ("SkipEvent", (yyloc));
		  }
		else {
			ev = MY_MAKE_MUSIC ("RestEvent", (yyloc));

		    }
		ev->set_property ("duration", (yyvsp[0]));
 		(yyval) = ev->unprotect ();
	}
#line 6812 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 467:
#line 3448 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_lyric_state ())
			parser->parser_error ((yylsp[0]), _ ("markup outside of text script or \\lyricmode"));
		(yyval) = (yyvsp[0]);
	}
#line 6822 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 468:
#line 3453 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_lyric_state ())
			parser->parser_error ((yylsp[0]), _ ("unrecognized string, not in text script or \\lyricmode"));
		(yyval) = (yyvsp[0]);
	}
#line 6832 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 470:
#line 3462 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (lyric_event, (yyloc), (yyvsp[-2]), (yyvsp[-1]));
		if (scm_is_pair ((yyvsp[0])))
			unsmob<Music> ((yyval))->set_property
				("articulations", scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 6843 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 471:
#line 3472 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (SCM_UNBNDP ((yyvsp[0])))
			(yyval) = (yyvsp[-1]);
		else
			(yyval) = make_chord_elements ((yyloc), (yyvsp[-1]), (yyvsp[0]), SCM_EOL);
	}
#line 6854 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 472:
#line 3478 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM its = scm_reverse_x ((yyvsp[0]), SCM_EOL);
		(yyval) = make_chord_elements ((yyloc), (yyvsp[-3]), (yyvsp[-2]), scm_cons ((yyvsp[-1]), its));
	}
#line 6863 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 473:
#line 3485 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = SCM_EOL;
	}
#line 6871 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 474:
#line 3488 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[0]), (yyval));
	}
#line 6879 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 475:
#line 3494 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("chord-colon");
	}
#line 6887 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 476:
#line 3497 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = ly_symbol2scm ("chord-caret");
	}
#line 6895 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 477:
#line 3500 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
 		(yyval) = scm_list_2 (ly_symbol2scm ("chord-slash"), (yyvsp[0]));
	}
#line 6903 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 478:
#line 3503 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_2 (ly_symbol2scm ("chord-bass"), (yyvsp[0]));
	}
#line 6911 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 479:
#line 3509 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6919 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 480:
#line 3512 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[0]), SCM_EOL);
	}
#line 6927 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 481:
#line 3515 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6935 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 482:
#line 3521 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = scm_cons ((yyvsp[0]), SCM_EOL); }
#line 6941 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 483:
#line 3522 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[0]), (yyval));
	}
#line 6949 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 484:
#line 3528 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_chord_step ((yyvsp[0]), 0);
        }
#line 6957 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 485:
#line 3531 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_chord_step ((yyvsp[-1]), SHARP_ALTERATION);
	}
#line 6965 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 486:
#line 3534 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_chord_step ((yyvsp[-1]), FLAT_ALTERATION);
	}
#line 6973 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 487:
#line 3540 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 6981 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 488:
#line 3543 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[-2]), (yyvsp[0]));
	}
#line 6989 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 489:
#line 3555 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_sum ((yyvsp[-2]), (yyvsp[0]));
	}
#line 6997 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 490:
#line 3558 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_difference ((yyvsp[-2]), (yyvsp[0]));
	}
#line 7005 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 492:
#line 3565 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7013 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 493:
#line 3568 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_product ((yyvsp[-2]), (yyvsp[0]));
	}
#line 7021 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 494:
#line 3571 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_divide ((yyvsp[-2]), (yyvsp[0]));
	}
#line 7029 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 495:
#line 3577 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { /* %prec UNARY_MINUS */
		(yyval) = scm_difference ((yyvsp[0]), SCM_UNDEFINED);
	}
#line 7037 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 499:
#line 3587 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_product ((yyvsp[-1]), (yyvsp[0]));
	}
#line 7045 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 502:
#line 3595 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_product ((yyvsp[-1]), (yyvsp[0]));
	}
#line 7053 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 504:
#line 3603 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!scm_is_integer ((yyvsp[0]))
		    || scm_is_true (scm_negative_p ((yyvsp[0]))))
		{
			parser->parser_error ((yylsp[0]), _("not an unsigned integer"));
			(yyval) = SCM_INUM0;
		}
	}
#line 7066 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 505:
#line 3612 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!scm_is_integer ((yyvsp[0]))
		    || scm_is_true (scm_negative_p ((yyvsp[0]))))
		{
			parser->parser_error ((yylsp[0]), _("not an unsigned integer"));
			(yyval) = SCM_INUM0;
		}
	}
#line 7079 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 506:
#line 3623 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_UNDEFINED; }
#line 7085 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 507:
#line 3625 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                if (SCM_UNBNDP ((yyvsp[-1])))
                        (yyval) = SCM_BOOL_T;
                else
                        (yyval) = scm_not ((yyvsp[-1]));
        }
#line 7096 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 508:
#line 3640 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = SCM_UNDEFINED; }
#line 7102 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 509:
#line 3642 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
                if (SCM_UNBNDP ((yyvsp[-1])))
                        (yyval) = SCM_BOOL_T;
                else
                        (yyval) = scm_not ((yyvsp[-1]));
        }
#line 7113 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 510:
#line 3652 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { parser->lexer_->push_markup_state (); }
#line 7119 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 511:
#line 3653 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		parser->lexer_->pop_state ();
	}
#line 7128 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 512:
#line 3661 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_markup_state ();
	}
#line 7136 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 513:
#line 3667 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
		parser->lexer_->pop_state ();
	}
#line 7145 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 514:
#line 3675 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (partial_markup, (yylsp[-1]), (yyvsp[-1]));
		parser->lexer_->pop_state ();
	}
#line 7154 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 515:
#line 3682 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_2 (Lily::line_markup,  (yyvsp[0]));
	}
#line 7162 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 516:
#line 3686 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_car (MAKE_SYNTAX (composed_markup_list,
					   (yylsp[0]), (yyvsp[-1]), scm_list_1 ((yyvsp[0]))));
	}
#line 7171 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 517:
#line 3690 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7179 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 518:
#line 3697 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (Text_interface::is_markup ((yyvsp[0])))
			MYBACKUP (MARKUP_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		else if (Text_interface::is_markup_list ((yyvsp[0])))
			MYBACKUP (MARKUPLIST_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		else {
			parser->parser_error ((yylsp[0]), _ ("not a markup"));
			MYBACKUP (MARKUP_IDENTIFIER, scm_string (SCM_EOL), (yylsp[0]));
		}
	}
#line 7194 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 520:
#line 3711 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7202 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 522:
#line 3718 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7210 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 523:
#line 3721 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_1 ((yyvsp[0]));
	}
#line 7218 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 524:
#line 3725 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7226 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 525:
#line 3728 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 7235 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 526:
#line 3731 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Score *sc = unsmob<Score> ((yyvsp[-1]));
		sc->origin ()->set_spot ((yyloc));
		if (sc->defs_.empty ()) {
			Output_def *od = get_layout (parser);
			sc->add_output_def (od);
			od->unprotect ();
		}
		(yyval) = scm_list_1 (scm_list_2 (Lily::score_lines_markup_list, (yyvsp[-1])));
		parser->lexer_->pop_state ();
	}
#line 7251 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 527:
#line 3745 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (composed_markup_list,
				  (yylsp[0]), (yyvsp[-1]), (yyvsp[0]));
	}
#line 7260 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 528:
#line 3752 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[-1]), SCM_EOL);
	}
#line 7268 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 529:
#line 3758 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {  (yyval) = SCM_EOL; }
#line 7274 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 530:
#line 3759 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 7282 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 531:
#line 3762 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_reverse_x ((yyvsp[0]), (yyvsp[-1]));
	}
#line 7290 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 532:
#line 3768 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = scm_cons ((yyvsp[-1]), scm_reverse_x((yyvsp[0]), SCM_EOL));
	}
#line 7298 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 533:
#line 3774 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 7306 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 534:
#line 3777 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = check_scheme_arg (parser, (yylsp[0]), (yyvsp[0]), (yyvsp[-1]), (yyvsp[-2]));
	}
#line 7314 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 535:
#line 3780 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = SCM_EOL;
	}
#line 7322 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 536:
#line 3786 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    { (yyval) = (yyvsp[0]); }
#line 7328 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 537:
#line 3787 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 7336 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 538:
#line 3793 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
	  (yyval) = scm_cons ((yyvsp[-2]), scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 7344 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 539:
#line 3799 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_list_1 ((yyvsp[0]));
	}
#line 7352 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 540:
#line 3802 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[0]), (yyvsp[-1]));
	}
#line 7360 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 541:
#line 3808 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_simple_markup ((yyvsp[0]));
	}
#line 7368 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 542:
#line 3811 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM nn = parser->lexer_->lookup_identifier ("pitchnames");
		parser->lexer_->push_note_state (nn);
	}
#line 7377 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 543:
#line 3814 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		Score *sc = unsmob<Score> ((yyvsp[-1]));
		sc->origin ()->set_spot ((yyloc));
		if (sc->defs_.empty ()) {
			Output_def *od = get_layout (parser);
			sc->add_output_def (od);
			od->unprotect ();
		}
		(yyval) = scm_list_2 (Lily::score_markup, (yyvsp[-1]));
		parser->lexer_->pop_state ();
	}
#line 7393 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 544:
#line 3825 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_cons ((yyvsp[-1]), scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 7401 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 545:
#line 3829 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7409 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 546:
#line 3836 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = scm_car (MAKE_SYNTAX (composed_markup_list,
					   (yylsp[0]), (yyvsp[-1]), scm_list_1 ((yyvsp[0]))));
	}
#line 7418 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 547:
#line 3840 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[0]);
	}
#line 7426 "./out/parser.cc" /* yacc.c:1646  */
    break;


#line 7430 "./out/parser.cc" /* yacc.c:1646  */
      default: break;
    }
  /* User semantic actions sometimes alter yychar, and that requires
     that yytoken be updated with the new translation.  We take the
     approach of translating immediately before every use of yytoken.
     One alternative is translating here after every semantic action,
     but that translation would be missed if the semantic action invokes
     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
     incorrect destructor might then be invoked immediately.  In the
     case of YYERROR or YYBACKUP, subsequent parser actions might lead
     to an incorrect destructor call or verbose syntax error message
     before the lookahead is translated.  */
  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:
  /* Make sure we have latest lookahead translation.  See comments at
     user semantic actions for why this is necessary.  */
  yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);

  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
    {
      ++yynerrs;
#if ! YYERROR_VERBOSE
      yyerror (&yylloc, parser, retval, YY_("syntax error"));
#else
# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
                                        yyssp, yytoken)
      {
        char const *yymsgp = YY_("syntax error");
        int yysyntax_error_status;
        yysyntax_error_status = YYSYNTAX_ERROR;
        if (yysyntax_error_status == 0)
          yymsgp = yymsg;
        else if (yysyntax_error_status == 1)
          {
            if (yymsg != yymsgbuf)
              YYSTACK_FREE (yymsg);
            yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
            if (!yymsg)
              {
                yymsg = yymsgbuf;
                yymsg_alloc = sizeof yymsgbuf;
                yysyntax_error_status = 2;
              }
            else
              {
                yysyntax_error_status = YYSYNTAX_ERROR;
                yymsgp = yymsg;
              }
          }
        yyerror (&yylloc, parser, retval, yymsgp);
        if (yysyntax_error_status == 2)
          goto yyexhaustedlab;
      }
# undef YYSYNTAX_ERROR
#endif
    }

  yyerror_range[1] = yylloc;

  if (yyerrstatus == 3)
    {
      /* If just tried and failed to reuse lookahead 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, retval);
          yychar = YYEMPTY;
        }
    }

  /* Else will try to reuse lookahead 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[1] = yylsp[1-yylen];
  /* Do not reclaim the symbols of the rule whose 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 (!yypact_value_is_default (yyn))
        {
          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[1] = *yylsp;
      yydestruct ("Error: popping",
                  yystos[yystate], yyvsp, yylsp, parser, retval);
      YYPOPSTACK (1);
      yystate = *yyssp;
      YY_STACK_PRINT (yyss, yyssp);
    }

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END

  yyerror_range[2] = yylloc;
  /* Using YYLLOC is tempting, but would change the location of
     the lookahead.  YYLOC is available though.  */
  YYLLOC_DEFAULT (yyloc, yyerror_range, 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;

#if !defined yyoverflow || YYERROR_VERBOSE
/*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here.  |
`-------------------------------------------------*/
yyexhaustedlab:
  yyerror (&yylloc, parser, retval, YY_("memory exhausted"));
  yyresult = 2;
  /* Fall through.  */
#endif

yyreturn:
  if (yychar != YYEMPTY)
    {
      /* Make sure we have latest lookahead translation.  See comments at
         user semantic actions for why this is necessary.  */
      yytoken = YYTRANSLATE (yychar);
      yydestruct ("Cleanup: discarding lookahead",
                  yytoken, &yylval, &yylloc, parser, retval);
    }
  /* Do not reclaim the symbols of the rule whose action triggered
     this YYABORT or YYACCEPT.  */
  YYPOPSTACK (yylen);
  YY_STACK_PRINT (yyss, yyssp);
  while (yyssp != yyss)
    {
      yydestruct ("Cleanup: popping",
                  yystos[*yyssp], yyvsp, yylsp, parser, retval);
      YYPOPSTACK (1);
    }
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif
#if YYERROR_VERBOSE
  if (yymsg != yymsgbuf)
    YYSTACK_FREE (yymsg);
#endif
  return yyresult;
}
#line 3845 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.33-1.x86_64/build/lily/parser.yy" /* yacc.c:1906  */


void
Lily_parser::set_yydebug (bool x)
{
	yydebug = x;
}

SCM
Lily_parser::do_yyparse ()
{
	return scm_c_with_fluid (Lily::f_parser,
				 self_scm (),
				 do_yyparse_trampoline,
				 static_cast <void *>(this));
}

SCM
Lily_parser::do_yyparse_trampoline (void *parser)
{
	SCM retval = SCM_UNDEFINED;
	yyparse (static_cast <Lily_parser *>(parser), &retval);
	return retval;
}



/*

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 (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))
	{
		*destination = unsmob<Context_def> (sid)->clone ()->unprotect ();
		return SCM_IDENTIFIER;
        } else if (unsmob<Context_mod> (sid)) {
                *destination = unsmob<Context_mod> (sid)->smobbed_copy ();
                return CONTEXT_MOD_IDENTIFIER;
	} else if (Music *mus = unsmob<Music> (sid)) {
		mus = mus->clone ();
		*destination = mus->self_scm ();
		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)) {
		*destination = unsmob<Output_def> (sid)->clone ()->unprotect ();
		return SCM_IDENTIFIER;
	} else if (unsmob<Score> (sid)) {
		*destination = unsmob<Score> (sid)->clone ()->unprotect ();
		return SCM_IDENTIFIER;
	}

	return -1;
}

SCM
get_next_unique_context_id ()
{
	return scm_from_ascii_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_ascii_string (s);
}

// check_scheme_arg checks one argument with a given predicate for use
// in an argument list and throws a syntax error if it is unusable.
// The argument is prepended to the argument list in any case.  After
// throwing a syntax error, the argument list is terminated with #f as
// its last cdr in order to mark it as uncallable while not losing
// track of its total length.
//
// There are a few special considerations: if optional argument disp
// is given (otherwise it defaults to SCM_UNDEFINED), it will be used
// instead of arg in a prospective error message.  This is useful if
// arg is not the actual argument but rather a transformation of it.
//
// If arg itself is SCM_UNDEFINED, the predicate is considered false
// and an error message using disp is produced unconditionally.

SCM check_scheme_arg (Lily_parser *parser, Input loc,
		      SCM arg, SCM args, SCM pred, SCM disp)
{
	if (SCM_UNBNDP (arg))
		args = scm_cons (disp, args);
	else {
		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,
		     SCM_UNBNDP (disp) ? arg : disp);
	scm_set_cdr_x (scm_last_pair (args), SCM_BOOL_F);
	return args;
}

SCM loc_on_music (Lily_parser *parser, Input loc, SCM arg)
{
	if (Music *m = unsmob<Music> (arg))
	{
		m = m->clone ();
		m->set_spot (parser->lexer_->override_input (loc));
		return m->unprotect ();
	}
	return arg;
}

SCM
try_string_variants (SCM pred, SCM str)
{
	// a matching predicate is always ok
	if (scm_is_true (scm_call_1 (pred, str)))
		return str;
	// a symbol may be interpreted as a list of symbols if it helps
	if (scm_is_symbol (str)) {
		str = scm_list_1 (str);
		if (scm_is_true (scm_call_1 (pred, str)))
			return str;
		return SCM_UNDEFINED;
	}

	// If this cannot be a string representation of a symbol list,
	// we are through.

	if (!is_regular_identifier (str, true))
		return SCM_UNDEFINED;

	str = scm_string_split (str, SCM_MAKE_CHAR ('.'));
	for (SCM p = str; scm_is_pair (p); p = scm_cdr (p))
		scm_set_car_x (p, scm_string_to_symbol (scm_car (p)));

	// Let's attempt the symbol list interpretation first.

	if (scm_is_true (scm_call_1 (pred, str)))
		return str;

	// If there is just one symbol in the list, we might interpret
	// it as a single symbol

	if (scm_is_null (scm_cdr (str)))
	{
		str = scm_car (str);
		if (scm_is_true (scm_call_1 (pred, str)))
			return str;
	}

	return SCM_UNDEFINED;
}

bool
is_regular_identifier (SCM id, bool multiple)
{
  if (!scm_is_string (id))
	  return false;

  string str = ly_scm2string (id);

  bool middle = false;

  for (string::iterator it=str.begin(); it != str.end (); it++)
  {
	  int c = *it & 0xff;
	  if ((c >= 'a' && c <= 'z')
	      || (c >= 'A' && c <= 'Z')
	      || c > 0x7f)
		  middle = true;
	  else if (middle && (c == '-' || c == '_' || (multiple && c == '.')))
		  middle = false;
	  else
		  return false;
  }
  return middle;
}

SCM
make_music_from_simple (Lily_parser *parser, Input loc, SCM simple)
{
	if (unsmob<Music> (simple))
		return simple;
	if (parser->lexer_->is_note_state ()) {
		if (scm_is_symbol (simple)) {
			Music *n = MY_MAKE_MUSIC ("NoteEvent", loc);
			n->set_property ("duration", parser->default_duration_.smobbed_copy ());
			n->set_property ("drum-type", simple);
			return n->unprotect ();
		}
		if (unsmob<Pitch> (simple)) {
			Music *n = MY_MAKE_MUSIC ("NoteEvent", loc);
			n->set_property ("duration", parser->default_duration_.smobbed_copy ());
			n->set_property ("pitch", simple);
			return n->unprotect ();
		}
		return simple;
	} else if (parser->lexer_->is_lyric_state ()) {
		if (Text_interface::is_markup (simple))
			return MAKE_SYNTAX (lyric_event, loc, simple,
					    parser->default_duration_.smobbed_copy ());
	} else if (parser->lexer_->is_chord_state ()) {
		if (unsmob<Pitch> (simple))
			return MAKE_SYNTAX
				(event_chord,
				 loc,
				 make_chord_elements (loc, simple,
						      parser->default_duration_.smobbed_copy (),
						      SCM_EOL));
	}
	return simple;
}

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;
}

SCM
make_duration (SCM d, int dots)
{
	int t = scm_to_int (d);
	if (t > 0 && (t & (t-1)) == 0)
		return Duration (intlog2 (t), dots).smobbed_copy ();
	else
		return SCM_UNDEFINED;
}

SCM
make_chord_step (SCM step_scm, Rational alter)
{
	Pitch m (0, scm_to_int (step_scm) - 1, alter);

	// Notename/octave are normalized
	if (m.get_notename () == 6)
		m = m.transposed (Pitch (0, 0, FLAT_ALTERATION));

	return m.smobbed_copy ();
}


SCM
make_chord_elements (Input loc, SCM pitch, SCM dur, SCM modification_list)
{
	SCM res = Lily::construct_chord_elements (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;
	int tok = lex->pop_extra_token ();
	if (tok >= 0)
		return tok;
	lex->prepare_for_next_token ();
	return lex->yylex ();
}
