/* 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.65-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.65-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.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 184 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (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, SCM factor = SCM_UNDEFINED);
bool is_regular_identifier (SCM id, bool multiple=false);
SCM make_reverse_key_list (SCM keys);
SCM try_word_variants (SCM pred, SCM str);
SCM try_string_variants (SCM pred, SCM str);
int yylex (YYSTYPE *s, YYLTYPE *loc, Lily_parser *parser);


#line 227 "./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,
    DRUM_PITCH = 344,
    DURATION_ARG = 345,
    FRACTION = 346,
    LOOKUP_IDENTIFIER = 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,
    PITCH_IDENTIFIER = 356,
    RESTNAME = 357,
    SCM_ARG = 358,
    SCM_FUNCTION = 359,
    SCM_IDENTIFIER = 360,
    SCM_TOKEN = 361,
    STRING = 362,
    SYMBOL_LIST = 363,
    TONICNAME_PITCH = 364,
    SYMBOL = 365,
    UNARY_MINUS = 366
  };
#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 404 "./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   4083

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  129
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  195
/* YYNRULES -- Number of rules.  */
#define YYNRULES  586
/* YYNSTATES -- Number of states.  */
#define YYNSTATES  858

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

#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,   123,
       2,     2,   124,   116,   122,   115,   118,   126,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     8,     2,
       2,   121,     2,   128,     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,   127,     2,   125,    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,   119,     2,   120,     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,   113,   114,   117
};

#if YYDEBUG
  /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_uint16 yyrline[] =
{
       0,   390,   390,   391,   391,   399,   400,   402,   404,   407,
     414,   417,   421,   425,   432,   436,   440,   444,   448,   452,
     487,   503,   504,   512,   516,   520,   521,   522,   526,   527,
     531,   532,   533,   534,   535,   536,   537,   538,   539,   540,
     541,   547,   548,   549,   562,   563,   564,   568,   575,   579,
     580,   588,   595,   596,   597,   619,   620,   628,   632,   640,
     641,   644,   648,   657,   663,   663,   674,   675,   679,   683,
     688,   697,   698,   699,   703,   707,   732,   733,   734,   735,
     736,   737,   738,   739,   740,   741,   742,   743,   744,   745,
     746,   755,   759,   763,   767,   777,   787,   791,   795,   799,
     809,   819,   823,   827,   834,   847,   849,   849,   861,   864,
     874,   885,   913,   925,   935,   938,   942,   946,   950,   954,
     958,   962,   966,   995,   994,   998,  1007,  1015,  1020,  1023,
    1026,  1030,  1034,  1038,  1042,  1046,  1076,  1075,  1082,  1090,
    1097,  1114,  1120,  1121,  1122,  1127,  1130,  1190,  1189,  1212,
    1225,  1235,  1241,  1246,  1255,  1267,  1268,  1272,  1279,  1283,
    1312,  1319,  1318,  1336,  1342,  1345,  1348,  1357,  1360,  1364,
    1374,  1380,  1381,  1382,  1386,  1398,  1405,  1409,  1413,  1428,
    1452,  1453,  1457,  1461,  1468,  1471,  1477,  1480,  1486,  1487,
    1488,  1493,  1492,  1500,  1519,  1520,  1528,  1542,  1545,  1558,
    1561,  1565,  1579,  1582,  1588,  1591,  1613,  1614,  1615,  1616,
    1619,  1626,  1627,  1628,  1632,  1639,  1643,  1650,  1651,  1652,
    1659,  1660,  1661,  1665,  1666,  1723,  1724,  1728,  1735,  1736,
    1740,  1749,  1750,  1762,  1766,  1771,  1780,  1787,  1788,  1792,
    1804,  1810,  1816,  1826,  1830,  1840,  1844,  1848,  1852,  1856,
    1860,  1868,  1881,  1898,  1909,  1920,  1937,  1954,  1967,  1990,
    2008,  2009,  2024,  2034,  2050,  2066,  2075,  2102,  2113,  2123,
    2142,  2153,  2163,  2177,  2192,  2207,  2222,  2232,  2237,  2242,
    2247,  2254,  2255,  2262,  2263,  2282,  2286,  2290,  2294,  2301,
    2305,  2309,  2313,  2320,  2323,  2333,  2338,  2343,  2348,  2353,
    2358,  2368,  2373,  2378,  2383,  2390,  2408,  2419,  2430,  2448,
    2466,  2480,  2503,  2515,  2531,  2540,  2541,  2545,  2549,  2550,
    2557,  2565,  2566,  2578,  2578,  2585,  2589,  2600,  2611,  2616,
    2622,  2627,  2634,  2641,  2646,  2651,  2657,  2664,  2671,  2677,
    2680,  2683,  2694,  2723,  2730,  2742,  2743,  2747,  2751,  2758,
    2759,  2761,  2762,  2763,  2765,  2766,  2767,  2768,  2772,  2773,
    2776,  2779,  2797,  2815,  2823,  2838,  2870,  2888,  2897,  2900,
    2909,  2920,  2921,  2922,  2926,  2927,  2928,  2929,  2940,  2941,
    2942,  2954,  2957,  2963,  2979,  2980,  2981,  2982,  2990,  2994,
    2995,  2999,  3006,  3013,  3017,  3021,  3022,  3027,  3045,  3049,
    3056,  3057,  3064,  3090,  3100,  3117,  3118,  3119,  3123,  3130,
    3133,  3154,  3157,  3167,  3172,  3177,  3185,  3193,  3198,  3206,
    3207,  3213,  3221,  3222,  3225,  3230,  3234,  3237,  3258,  3259,
    3264,  3267,  3268,  3272,  3275,  3281,  3284,  3290,  3305,  3316,
    3317,  3328,  3329,  3333,  3338,  3344,  3351,  3366,  3374,  3377,
    3380,  3383,  3386,  3389,  3392,  3398,  3399,  3400,  3404,  3407,
    3415,  3423,  3431,  3437,  3443,  3446,  3453,  3456,  3463,  3474,
    3477,  3489,  3490,  3491,  3492,  3493,  3508,  3509,  3510,  3514,
    3518,  3529,  3533,  3544,  3552,  3555,  3558,  3561,  3567,  3570,
    3577,  3580,  3586,  3587,  3591,  3630,  3650,  3657,  3673,  3678,
    3683,  3688,  3692,  3702,  3708,  3715,  3718,  3724,  3727,  3730,
    3733,  3739,  3742,  3745,  3751,  3752,  3758,  3761,  3764,  3770,
    3773,  3785,  3788,  3791,  3795,  3798,  3801,  3807,  3810,  3814,
    3815,  3816,  3823,  3824,  3825,  3831,  3832,  3841,  3853,  3854,
    3870,  3871,  3882,  3881,  3890,  3897,  3904,  3912,  3915,  3920,
    3927,  3926,  3941,  3944,  3948,  3951,  3954,  3958,  3958,  3974,
    3981,  3987,  3988,  3991,  3997,  4003,  4006,  4009,  4015,  4016,
    4022,  4026,  4034,  4038,  4042,  4046,  4053,  4059,  4062,  4068,
    4071,  4074,  4074,  4087,  4090,  4097,  4102
};
#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", "DRUM_PITCH", "DURATION_ARG", "FRACTION",
  "LOOKUP_IDENTIFIER", "LYRIC_ELEMENT", "MARKUP_FUNCTION",
  "MARKUP_LIST_FUNCTION", "MARKUP_IDENTIFIER", "MARKUPLIST_IDENTIFIER",
  "MUSIC_FUNCTION", "MUSIC_IDENTIFIER", "NOTENAME_PITCH",
  "PITCH_IDENTIFIER", "RESTNAME", "SCM_ARG", "SCM_FUNCTION",
  "SCM_IDENTIFIER", "SCM_TOKEN", "STRING", "SYMBOL_LIST",
  "TONICNAME_PITCH", "SYMBOL", "'-'", "'+'", "UNARY_MINUS", "'.'", "'{'",
  "'}'", "'='", "','", "'\\''", "'*'", "']'", "'/'", "'['", "'?'",
  "$accept", "start_symbol", "$@1", "lilypond", "toplevel_expression",
  "lookup", "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", "header_block", "$@2",
  "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_mods", "context_modification_mods_list",
  "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", "symbol_list_part_bare",
  "function_arglist_nonbackup", "reparsed_rhythm",
  "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", "maybe_notemode_duration",
  "optional_notemode_duration", "steno_duration", "multiplied_duration",
  "dots", "multipliers", "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_partial_function", "markup_arglist_partial",
  "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,   364,   365,    45,    43,   366,    46,   123,
     125,    61,    44,    39,    42,    93,    47,    91,    63
};
# endif

#define YYPACT_NINF -633

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

#define YYTABLE_NINF -575

#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[] =
{
       8,  -633,   110,  1563,  1214,  -633,  -633,   256,    13,    24,
    -633,  -633,   339,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,   420,  -633,  -633,  -633,  -633,  -633,    31,    34,    34,
     339,  -633,  -633,    56,   328,  -633,   328,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,   167,   351,  -633,
    -633,  -633,  -633,  -633,  -633,   119,  1058,  -633,  -633,  -633,
    -633,  3826,   128,  -633,  -633,  -633,  -633,  -633,  -633,   152,
    -633,  -633,  1405,  -633,  -633,   255,   226,   252,  -633,  -633,
     340,   298,   298,  -633,  -633,  -633,  -633,   339,   404,  1214,
     195,   195,   195,   918,   195,   268,  -633,  -633,   131,   131,
     131,  -633,  -633,   479,   -43,   -43,   131,   504,  -633,  -633,
     312,   -43,   314,   108,  -633,  -633,   324,  -633,  -633,  -633,
    -633,  -633,   284,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  3572,   242,   329,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,   131,  -633,  -633,  -633,  -633,  -633,  -633,   131,
    -633,   904,  -633,   347,  -633,   363,  -633,   131,  -633,  -633,
    -633,  -633,  1781,   374,  -633,  -633,  -633,  -633,   389,   294,
     307,  -633,  -633,  -633,   278,   291,   300,   305,   302,   309,
    1016,  -633,  -633,  -633,   278,  1823,   195,   511,   350,  -633,
    -633,   359,  -633,  -633,   386,  -633,  1330,   316,  -633,   195,
    3055,   195,  -633,  -633,  -633,  -633,  -633,  -633,  3744,  -633,
    -633,   128,  -633,  -633,  -633,  -633,   452,  -633,   152,   413,
    -633,  -633,   254,   629,  -633,  -633,  -633,  -633,  -633,   200,
    -633,  -633,  -633,  -633,  -633,  -633,  1405,  -633,  -633,  -633,
     365,  -633,   572,   398,  -633,  -633,  -633,  -633,  -633,   365,
     366,  -633,  -633,  -633,  -633,  -633,  -633,   138,  -633,  -633,
    -633,   195,   375,  -633,   195,   138,   390,  -633,  -633,  -633,
    -633,   131,   396,  -633,  -633,  -633,  -633,   400,  -633,  1090,
     737,  -633,  -633,  -633,  -633,  -633,   572,   439,  -633,  -633,
    -633,  -633,   409,   421,  -633,  -633,   572,   463,  -633,  -633,
     226,  -633,  -633,  -633,   195,   195,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,   134,  -633,   478,   808,   815,   529,   328,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,   429,   478,   478,  -633,
     478,   655,   517,  3445,  -633,  -633,  -633,  3662,  -633,  1651,
    -633,  1737,   256,  -633,  -633,  -633,   152,   256,   474,   459,
    -633,  1016,    82,  3469,  -633,  -633,  -633,  -633,   138,   482,
     247,  -633,  2943,   486,   682,   878,  1528,  -633,  -633,   138,
     460,    61,   140,   163,   224,  -633,  -633,  -633,  -633,   170,
    -633,  -633,    80,  -633,    62,  -633,  -633,  -633,   467,  -633,
    -633,  -633,   452,   302,  -633,  -633,  -633,   461,   476,   629,
     629,   629,  -633,  -633,   629,  -633,  -633,  1288,   500,  -633,
    -633,  -633,  -633,  -633,  -633,   572,   519,  -633,  2383,   762,
     256,  3927,   195,   195,  -633,  3163,  -633,  -633,   525,  -633,
    3271,   493,   389,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,   894,
    -633,  -633,   854,  -633,  -633,   478,   478,  2383,   762,  -633,
    -633,  2383,   762,   497,   499,  1447,  -633,   478,   298,  -633,
     509,  -633,  -633,   509,  -633,  -633,   -46,    99,   478,   669,
     669,  -633,  -633,   655,   623,  -633,  -633,  -633,  -633,   167,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,   167,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
     302,  -633,  -633,  -633,  -633,   167,  -633,  -633,  -633,   774,
    1036,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,   245,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
     548,  2495,   605,  -633,  -633,   231,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,   955,
    3055,  -633,   618,    93,  -633,   195,   195,   478,    93,    93,
      93,    93,  3055,  -633,   302,  -633,  -633,  -633,   207,  1016,
     465,  -633,  -633,  1405,  -633,  -633,  -633,  -633,  2607,   780,
    -633,   572,   558,  2047,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,   195,  -633,   195,  -633,   339,  -633,   305,
    -633,  -633,  3908,  -633,  -633,   693,  -633,   546,  -633,  -633,
     164,  -633,   224,  -633,  -633,   237,  -633,  -633,  -633,  -633,
     129,  -633,  -633,   389,  -633,   531,  3963,   478,   529,   854,
    -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  2047,  -633,  2047,  3379,  3379,  -633,  -633,   458,   -43,
    -633,   131,  -633,  -633,   669,   636,  -633,   207,  -633,  -633,
      34,  -633,  -633,  -633,  -633,   600,  2159,   667,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,   682,  -633,  -633,  -633,
    -633,  -633,   260,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
     365,   195,   195,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,  -633,  -633,  -633,  -633,    86,   103,  -633,  -633,
     609,   465,  -633,  -633,   622,  1935,  -633,  2719,   762,  -633,
     597,  -633,  -633,  -633,  -633,  -633,  -633,  3379,   572,   641,
    -633,   195,   195,   180,  -633,  -633,   389,  -633,  -633,  -633,
     -46,  -633,  -633,    36,  -633,  -633,  -633,   601,  -633,  -633,
     672,   465,  -633,   774,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,   277,  -633,  -633,  -633,  -633,  -633,  -633,  -633,  -633,
    -633,  -633,   429,   138,   138,  -633,  -633,   780,  2271,  3379,
    -633,   107,   782,  -633,  -633,   195,   195,  -633,  -633,  -633,
    -633,  -633,   720,  -633,  -633,  -633,  -633,  -633,  -633,   478,
    -633,   195,   195,   304,   321,   647,   107,  -633,  -633,   478,
    -633,   478,   613,   615,   572,   656,   572,   662,   782,   107,
     107,   107,   782,   107,   782,  2831,   107,   107
};

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

  /* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
    -633,  -633,  -633,  -633,  -633,     3,    77,   -41,  -633,     5,
     281,    11,   634,   660,  -633,  -387,    57,  -633,  -633,   -28,
    -461,    68,   360,   143,   117,  -633,  -633,   111,  -633,  -633,
     130,  -633,  -633,    52,  -155,  -633,  -633,  -633,   425,    37,
    -633,  -633,  -633,  -633,  -633,  -633,     9,    -9,  -236,   723,
      95,  -633,   194,  -633,  -633,  -633,  -633,    74,  -633,  -633,
    -161,  -633,  -633,  -633,   570,   726,  -633,   730,     7,  -633,
     -37,  -337,   -65,   -88,  -633,  -174,    87,  -306,  -633,  -487,
      16,  -632,   -72,  -388,  -157,  -633,  -238,  -484,   -80,   606,
    -335,  -633,  -633,  -633,  -633,  -633,  -110,  -633,  -395,  -633,
    -633,  -633,   141,  -633,  -287,   -92,  -633,  -633,    53,  -633,
      28,   -14,  -396,   733,  -633,  -633,  -633,  -633,  -633,  -633,
    -123,    35,    88,  -633,   657,  -633,    39,   -93,  -633,  -633,
    -633,   292,   325,  -633,  -633,   422,  -633,  -633,  -136,   679,
     -42,   438,   -51,    90,  -633,  -633,  -633,   357,  -633,  -633,
    -633,  -633,    20,  -633,  -633,  -158,  -633,  -633,   145,  -633,
    -633,    -4,   171,  -633,   -49,  -341,    17,  -347,  -145,   373,
     172,    73,  -633,   729,    -3,   133,  -633,  -134,  -633,  -142,
    -183,  -633,  -633,  -633,  -633,  -633,  -159,  -345,  -633,  -279,
    -189,   -67,   -61,  -633,   415
};

  /* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
      -1,     2,     4,     3,    42,   114,   115,    44,   541,   227,
     542,   117,   118,   119,   579,   198,   544,    47,    48,    49,
     386,   387,   122,   545,   631,   632,   431,   546,   349,   499,
     547,   351,   511,   548,   362,   524,   363,   525,   502,   549,
      54,    55,   400,    56,   208,   128,   185,    57,   129,   130,
     367,   132,   550,    58,    59,    60,   134,   551,   277,   278,
     218,   219,   656,    61,   216,    62,   211,    63,   136,    65,
      66,   566,   379,   258,   259,   260,   190,   567,   191,   370,
     192,   562,   614,   427,   193,   194,   372,   373,    67,   353,
     355,   356,    68,    69,    70,   137,   380,   634,   437,   438,
     439,   635,   636,   261,   262,   266,   264,   138,   646,   271,
     168,   174,   647,   140,   141,   142,   279,   449,   450,   143,
     337,   144,   479,   146,   147,   332,   681,   291,   292,   293,
     148,   149,   150,   453,   333,   302,   334,   151,   281,   282,
     152,   283,   240,   336,   154,   461,   668,   462,   669,   463,
     280,   824,   214,   156,   157,   158,   159,   678,   484,   776,
     777,   778,   654,   392,   393,   394,   395,   396,   655,   318,
     486,   556,   180,   162,   312,   558,   228,   229,   418,   230,
     231,   408,   232,   233,   417,   234,   415,   416,   342,   686,
     235,   361,   604,   407,   742
};

  /* 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[] =
{
      73,   163,   274,   263,   428,   236,    43,   179,   245,   116,
      64,   237,   294,   316,    45,   206,   184,   473,   299,   182,
     183,   160,   315,   347,   155,   257,   389,   265,   207,   265,
     371,   288,   217,   338,   249,   298,   340,   607,   360,   573,
      53,   127,   696,   584,   652,   697,   359,   422,   467,   178,
     196,   272,   195,   421,   403,    52,   126,   139,   471,    43,
      46,   120,   491,   413,   597,   598,   599,    45,   593,   600,
     574,   330,   121,   250,   798,   679,    71,   161,   135,   289,
     290,   581,   680,   521,   167,   371,   163,   521,   649,   173,
     273,   398,   145,   649,   116,   343,   244,     1,   177,   131,
     276,   237,   582,    77,   521,   820,   160,   173,   682,   155,
       5,   494,   691,    86,    50,   124,   798,   300,    77,   727,
     640,   368,   745,   195,   692,   697,   127,   527,    86,   371,
     160,   734,   169,    51,   125,   215,   308,   164,   694,   371,
     267,   126,   139,   170,   685,   687,   120,   123,   335,    85,
     181,   434,   821,    41,   422,   476,   329,   121,   831,   465,
     421,   466,   161,   135,   173,   173,   832,   256,   256,   256,
     270,   256,   422,   346,   186,   423,   436,   145,   421,  -234,
      22,   405,   413,  -234,   131,   693,   590,   608,   591,   253,
     308,   477,   518,   698,   683,   588,   589,   397,   133,   448,
     124,   308,   522,   528,   253,   385,   805,   197,   583,   833,
      28,   688,    29,   474,   689,   834,   488,   570,   577,   125,
     391,   746,   164,   806,   699,    31,   309,   359,   750,   441,
     751,   102,   123,   582,    77,   390,   763,   127,   202,   257,
     265,   565,   584,   594,    86,   306,   239,   758,   307,   732,
     733,   759,   126,   139,   703,   704,   432,   120,  -233,   735,
     433,   645,  -233,   256,   238,   705,   645,   587,   371,   799,
     800,    41,   241,   161,   135,   602,   256,   464,   256,   652,
     801,  -235,   423,   133,   447,  -235,   826,   827,   585,   108,
     109,   254,   586,   406,   255,   760,   696,   828,   815,   825,
     419,   420,   816,    33,   108,   109,   254,   246,   498,   255,
     510,   124,  -371,   764,  -372,    36,   108,   109,   475,   519,
     745,   303,   657,   825,   -86,   310,   313,   649,   649,   -82,
     125,  -318,   530,   164,   413,   244,   409,   410,   256,   781,
     411,   256,   412,   123,   638,   639,   506,   -55,   516,   721,
     603,   399,    43,   722,    43,   761,   504,   460,   514,   762,
      45,   810,    45,   -83,    33,   108,   109,   165,   523,   557,
     166,   275,   371,   747,  -373,   540,    36,   108,   109,   310,
     517,   256,   256,   543,   348,   520,   503,   844,   503,   555,
     310,   845,   571,   578,   388,   569,   576,   350,   344,   352,
     526,   501,   401,   512,   846,   354,   389,   552,   847,   345,
     649,   187,  -381,   830,   422,   188,   189,   637,   389,   746,
     421,  -382,   505,   242,   515,   557,  -383,   243,   189,   167,
     357,   540,   397,   374,   167,   378,   630,   397,   540,   543,
     736,   737,   153,   540,   375,   555,   543,   346,   108,   109,
     171,   543,   371,   172,   371,   648,   464,   739,   615,   404,
     648,   561,   649,   552,   557,   359,   740,   773,   557,   199,
     540,   376,   200,   201,   540,   728,   729,    95,   543,   500,
     308,   429,   543,   424,   555,    33,    75,   430,   555,    78,
      79,   319,    81,    82,    83,    84,   435,    36,   108,   109,
     645,   645,   552,   247,   248,   633,   552,   167,   629,   256,
     256,   440,   720,   108,   109,   171,   613,   442,   172,   443,
     811,   220,   468,   251,   480,   481,   482,   153,   483,   108,
     109,   175,   469,   741,   176,   436,   460,   436,   725,   730,
     731,   310,   743,   470,   842,   780,   472,   702,   485,   774,
     701,   726,   422,   487,   492,   671,   409,   310,   718,   673,
     420,    33,   286,   222,   540,   529,   287,   189,   245,   311,
     559,   451,   543,    36,   108,   109,   224,   397,   717,   225,
     595,   580,    43,   645,   606,   385,   779,   296,   592,   397,
      45,   297,   189,   478,   187,   596,   714,   385,   369,   189,
     391,   371,   609,   738,   452,   557,   851,   740,   853,   650,
     718,   540,   391,   752,   653,   390,   540,   127,   674,   543,
     675,   818,   111,   311,   543,   555,   371,   390,   690,   127,
     717,   706,   126,   139,   311,   645,   719,   120,   581,   753,
     756,   748,   637,   552,   126,   139,   766,   740,   714,   120,
     371,   813,   814,   161,   135,   425,   803,   804,   346,   426,
     189,   630,   256,   256,   553,   161,   135,   757,   718,   310,
     718,   397,   397,  -574,   540,   817,   540,   540,   540,   829,
     743,   782,   543,   783,   543,   543,   543,   371,   717,   371,
     717,   124,   738,   796,   648,   648,   839,   554,   797,   540,
     256,   841,   256,   124,   173,   807,   714,   543,   714,   419,
     125,   414,   410,   164,   741,   411,   643,   412,   809,   822,
     553,   643,   125,   123,   812,   164,   823,   837,   838,   773,
     848,   793,    72,   629,   849,   123,   850,   489,   490,   852,
     843,   411,   796,   412,   557,   854,   454,   301,   540,   252,
     540,   684,   490,   554,   397,   411,   543,   412,   543,   553,
     540,   288,   298,   553,   555,   187,   257,   265,   543,   560,
     189,   346,   676,   768,   388,   677,   513,   648,   284,   285,
     793,   402,   552,    22,   209,   295,   388,   210,   610,    33,
     364,   212,   554,   561,   213,   644,   554,   769,   256,   256,
     651,    36,   108,   109,   754,   718,   397,   755,   331,   819,
     802,   540,   540,   568,   575,   455,   659,   456,   840,   543,
     543,   314,    72,   775,   765,   717,   658,   670,   317,   648,
     770,   672,   605,     0,     0,   808,   339,     0,   256,   256,
     256,     0,   713,   714,     0,   611,   108,   109,   457,   612,
     189,   458,   718,   715,     0,     0,     0,   187,   540,     0,
      72,   695,   189,   425,   459,   611,   543,   744,   189,   835,
     189,     0,   717,   660,  -460,  -460,  -460,     0,  -460,     0,
      72,   480,   481,   482,     0,   483,   716,   267,    77,     0,
     714,     0,   256,   256,   713,     0,    85,     0,    86,   836,
     553,     0,     0,   454,     0,   715,     0,     0,   256,   256,
       0,     0,    75,   311,    72,    78,    79,   319,   320,   321,
       0,     0,     0,   322,    22,    72,     0,   267,     0,   661,
     662,   663,     0,   554,     0,   855,    85,     0,   716,   856,
      22,   857,     0,     0,     0,     0,     0,     0,     0,     0,
      22,     0,   713,     0,   713,   643,   643,     0,     0,     0,
       0,     0,     0,   715,    22,   715,     0,     0,   700,   664,
     665,     0,   563,   749,   456,   102,   323,   792,     0,   666,
     667,     0,   104,   105,     0,   564,     0,     0,   794,   306,
     565,   111,   307,     0,     0,     0,   716,     0,   716,     0,
      33,     0,     0,   108,   109,   457,    34,     0,   458,    72,
       0,     0,    36,   108,   109,   324,     0,     0,   325,   326,
     327,   795,   328,     0,     0,     0,   792,   108,   109,   268,
       0,   771,   269,   772,     0,     0,     0,   794,   643,   553,
       0,     0,    72,     0,     0,   267,    77,     0,     0,     0,
       0,    33,     0,     0,    85,     0,    86,     0,     0,   203,
       0,     0,  -161,    36,    37,   723,    39,     0,     0,    40,
     795,     0,   554,   221,     0,   724,    72,     0,    72,     0,
      72,     0,     0,     0,  -161,  -161,  -161,     0,  -161,   713,
     643,     0,    72,  -161,  -161,     0,  -161,  -161,     0,     0,
     715,  -161,  -161,  -161,    72,    72,     0,     0,  -161,  -161,
       0,     0,    33,  -161,   358,   223,  -161,  -161,  -161,  -161,
       0,  -161,     0,  -161,    36,   108,   109,     0,     0,  -161,
     563,  -161,     0,   716,     0,   226,   713,  -161,     0,  -161,
     104,   105,     0,     0,     0,     0,     0,   715,   565,   111,
    -161,  -161,     0,     0,    33,     0,     0,     0,     0,     0,
    -161,  -161,   444,     0,  -161,     0,    36,    37,   204,    39,
       0,   610,    40,     0,     0,     0,     0,  -161,   205,     0,
     716,     0,     0,   445,     0,     0,    33,     0,    72,     0,
       0,     0,    34,   446,   104,   105,   749,     0,    36,   108,
     109,     0,     0,   111,    72,     0,     0,     0,     0,   644,
     651,   670,     0,   672,   -51,    74,   771,   772,     7,     0,
       0,     0,    75,    76,    77,    78,    79,    80,    81,    82,
      83,    84,    85,     0,    86,     0,     0,     0,     8,     9,
      87,    10,    11,     0,    88,     0,     0,     0,     0,    13,
      14,     0,    15,    16,   -64,    89,    18,    19,    20,    21,
      22,    23,    24,     0,    25,    90,    26,     0,     0,    91,
      27,     0,    28,    92,    29,    93,     0,    94,    95,    30,
       0,     0,     0,     0,     0,    96,     0,    31,     0,     0,
       0,     0,     0,    97,     0,    98,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,    99,   100,     0,   101,
      33,   102,     0,     0,     0,     0,   103,    35,   104,   105,
     106,     0,   107,   108,   109,   110,     0,   111,   112,   113,
       0,   365,     0,    41,     7,     0,     0,     0,     0,   267,
       0,     0,     0,     0,   220,   221,     0,     0,    85,     0,
       0,     0,     0,     0,     0,     0,    87,    10,    11,     0,
      12,     0,     0,     0,     0,    13,    14,     0,    15,    16,
       0,     0,     0,    19,    20,    21,    22,     0,     0,     0,
      25,   304,     0,     0,    33,    91,   222,   223,    28,   305,
      29,    93,     0,    94,     0,    30,    36,   108,   109,   224,
       0,    96,   225,    31,     0,     0,     0,   226,   601,    97,
       0,    98,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    99,   100,     0,     0,    33,   102,     0,     0,
       0,     0,    34,    35,   104,   105,   106,     0,    36,   108,
     109,   306,     0,   111,   307,     0,     0,   -56,   365,    41,
     377,     7,     0,     0,     0,     0,   267,     0,     0,     0,
       0,   220,   221,     0,     0,    85,     0,     0,     0,     0,
       0,     0,     0,    87,    10,    11,     0,    12,     0,     0,
       0,     0,    13,    14,     0,    15,    16,     0,     0,     0,
      19,    20,    21,    22,     0,     0,     0,    25,   304,     0,
       0,    33,    91,   222,   223,    28,   305,    29,    93,     0,
      94,     0,    30,    36,   108,   109,   224,     0,    96,   225,
      31,     0,     0,     0,   226,     0,    97,     0,    98,     0,
       0,     0,     0,     0,     0,     0,     0,   267,    77,    99,
     100,     0,     0,    33,   102,     0,    85,     0,    86,    34,
      35,   104,   105,   106,     0,    36,   108,   109,   306,     0,
     111,   307,     0,    -2,     6,     0,    41,     7,     0,     0,
       0,     0,     0,     0,    22,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     8,     9,     0,
      10,    11,     0,    12,     0,     0,     0,     0,    13,    14,
       0,    15,    16,   -64,    17,    18,    19,    20,    21,    22,
      23,    24,     0,    25,     0,    26,     0,     0,     0,    27,
       0,    28,   563,    29,     0,   102,     0,     0,    30,     0,
       0,     0,   104,   105,     0,   572,    31,     0,     0,   306,
     565,   111,   307,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   495,    32,     0,     7,     0,     0,     0,    33,
       0,     0,     0,     0,     0,    34,    35,     0,     0,     0,
       0,    36,    37,    38,    39,     0,     9,    40,    10,    11,
       0,    12,    41,     0,     0,     0,    13,    14,     0,    15,
      16,  -123,     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,   507,     0,
       0,     7,     0,     0,     0,     0,     0,    33,     0,     0,
       0,     0,     0,    34,    35,     0,     0,     0,     0,    36,
      37,   496,     0,     0,    10,    11,     0,    12,     0,     0,
      41,   497,    13,    14,     0,    15,    16,  -136,     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,   365,     0,     0,     7,     0,     0,
       0,     0,   267,    33,     0,     0,     0,   220,   221,    34,
      35,    85,     0,     0,     0,    36,    37,   508,     0,    87,
      10,    11,     0,    12,     0,     0,    41,   509,    13,    14,
       0,    15,    16,     0,     0,     0,    19,    20,    21,    22,
       0,     0,     0,    25,   304,     0,     0,    33,    91,   341,
     223,    28,   305,    29,    93,     0,    94,     0,    30,    36,
     108,   109,   224,     0,    96,   225,    31,   366,     0,     0,
     226,     0,    97,     0,    98,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    99,   100,     0,     0,    33,
     102,     0,     0,     0,     0,    34,    35,   104,   105,   106,
       0,    36,   108,   109,   306,     0,   111,   307,     0,     7,
       0,     0,    41,    75,   784,   785,    78,    79,   319,    81,
      82,    83,    84,   786,     0,   787,     0,     0,     0,     8,
       9,    87,    10,    11,     0,    88,     0,     0,     0,     0,
      13,    14,  -291,    15,    16,   -64,     0,    18,    19,    20,
      21,    22,    23,    24,     0,    25,   304,    26,     0,     0,
      91,    27,     0,    28,   305,    29,    93,     0,    94,    95,
      30,     0,     0,     0,     0,     0,    96,     0,    31,     0,
       0,     0,     0,     0,    97,     0,    98,     0,     0,     0,
     530,     0,     0,     0,     0,     0,     0,    99,   100,     0,
     533,    33,     0,     0,     0,     0,     0,    34,    35,   104,
     105,   106,   534,    36,   788,   536,   789,     0,   111,   790,
     791,     7,     0,     0,    41,    75,   707,    77,    78,    79,
      80,    81,    82,    83,    84,   708,     0,    86,     0,     0,
       0,     8,     9,    87,    10,    11,     0,    88,  -283,     0,
       0,     0,    13,    14,  -287,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,    90,    26,
       0,     0,    91,    27,     0,    28,    92,    29,    93,     0,
      94,    95,    30,     0,     0,     0,     0,     0,    96,     0,
      31,     0,     0,     0,     0,     0,    97,     0,    98,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    99,
     100,     0,   533,    33,     0,     0,     0,     0,     0,   103,
      35,   104,   105,   106,   534,   107,   709,   536,   710,     0,
     111,   711,   712,     7,     0,     0,    41,    75,   784,   785,
      78,    79,   319,    81,    82,    83,    84,   786,     0,   787,
       0,     0,     0,     8,     9,    87,    10,    11,     0,    88,
       0,     0,     0,     0,    13,    14,     0,    15,    16,   -64,
       0,    18,    19,    20,    21,    22,    23,    24,     0,    25,
     304,    26,     0,     0,    91,    27,     0,    28,   305,    29,
      93,     0,    94,    95,    30,     0,     0,     0,     0,     0,
      96,     0,    31,     0,     0,     0,     0,     0,    97,     0,
      98,     0,     0,     0,   530,     0,     0,     0,     0,     0,
       0,    99,   100,     0,   533,    33,     0,     0,     0,     0,
       0,    34,    35,   104,   105,   106,   534,    36,   788,   536,
     789,     0,   111,   790,   791,     7,     0,     0,    41,    75,
     707,    77,    78,    79,   319,    81,    82,    83,    84,   708,
       0,    86,     0,     0,     0,     8,     9,    87,    10,    11,
       0,    88,  -283,     0,     0,     0,    13,    14,  -287,    15,
      16,     0,     0,    18,    19,    20,    21,    22,    23,    24,
       0,    25,   304,    26,     0,     0,    91,    27,     0,    28,
     305,    29,    93,     0,    94,    95,    30,     0,     0,     0,
       0,     0,    96,     0,    31,     0,     0,     0,     0,     0,
      97,     0,    98,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,    99,   100,     0,   533,    33,     0,     0,
       0,     0,     0,    34,    35,   104,   105,   106,   534,    36,
     709,   536,   710,     0,   111,   711,   712,     7,     0,     0,
      41,    75,   531,    77,    78,    79,    80,    81,    82,    83,
      84,   532,     0,    86,     0,     0,     0,     8,     9,    87,
      10,    11,     0,    88,     0,     0,     0,     0,    13,    14,
    -285,    15,    16,     0,     0,    18,    19,    20,    21,    22,
      23,    24,     0,    25,    90,    26,     0,     0,    91,    27,
       0,    28,    92,    29,    93,     0,    94,    95,    30,     0,
       0,     0,     0,     0,    96,     0,    31,     0,     0,     0,
       0,     0,    97,     0,    98,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    99,   100,     0,   533,    33,
       0,     0,     0,     0,     0,   103,    35,   104,   105,   106,
     534,   107,   535,   536,   537,     0,   111,   538,   539,     7,
       0,     0,    41,    75,   707,    77,    78,    79,   319,    81,
      82,    83,    84,   708,     0,    86,     0,     0,     0,     8,
       9,    87,    10,    11,     0,    88,  -283,     0,     0,     0,
      13,    14,     0,    15,    16,     0,     0,    18,    19,    20,
      21,    22,    23,    24,     0,    25,   304,    26,     0,     0,
      91,    27,     0,    28,   305,    29,    93,     0,    94,    95,
      30,     0,     0,     0,     0,     0,    96,     0,    31,     0,
       0,     0,     0,     0,    97,     0,    98,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,    99,   100,     0,
     533,    33,     0,     0,     0,     0,     0,    34,    35,   104,
     105,   106,   534,    36,   709,   536,   710,     0,   111,   711,
     712,     7,     0,     0,    41,    75,   531,    77,    78,    79,
     319,    81,    82,    83,    84,   532,     0,    86,     0,     0,
       0,     8,     9,    87,    10,    11,     0,    88,     0,     0,
       0,     0,    13,    14,  -289,    15,    16,     0,     0,    18,
      19,    20,    21,    22,    23,    24,     0,    25,   304,    26,
       0,     0,    91,    27,     0,    28,   305,    29,    93,     0,
      94,    95,    30,     0,     0,     0,     0,     0,    96,     0,
      31,     0,     0,     0,     0,     0,    97,     0,    98,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    99,
     100,     0,   533,    33,     0,     0,     0,     0,     0,    34,
      35,   104,   105,   106,   534,    36,   535,   536,   537,     0,
     111,   538,   539,     7,     0,     0,    41,    75,   531,    77,
      78,    79,   319,    81,    82,    83,    84,   532,     0,    86,
       0,     0,     0,     8,     9,    87,    10,    11,     0,    88,
       0,     0,     0,     0,    13,    14,  -285,    15,    16,     0,
       0,    18,    19,    20,    21,    22,    23,    24,     0,    25,
     304,    26,     0,     0,    91,    27,     0,    28,   305,    29,
      93,     0,    94,    95,    30,     0,     0,     0,     0,     0,
      96,     0,    31,     0,     0,     0,     0,     0,    97,     0,
      98,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    99,   100,     0,   533,    33,     0,     0,     0,     0,
       0,    34,    35,   104,   105,   106,   534,    36,   535,   536,
     537,     0,   111,   538,   539,     7,     0,     0,    41,    75,
     707,    77,    78,    79,   319,    81,    82,    83,    84,   708,
       0,    86,     0,     0,     0,     8,     9,    87,    10,    11,
       0,    88,     0,     0,     0,     0,    13,    14,  -287,    15,
      16,     0,     0,    18,    19,    20,    21,    22,    23,    24,
       0,    25,   304,    26,     0,     0,    91,    27,     0,    28,
     305,    29,    93,     0,    94,    95,    30,     0,     0,     0,
       0,     0,    96,     0,    31,     0,     0,     0,     0,     0,
      97,     0,    98,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,    99,   100,     0,   533,    33,     0,     0,
       0,     0,     0,    34,    35,   104,   105,   106,   534,    36,
     709,   536,   710,     0,   111,   711,   712,     7,     0,     0,
      41,    75,   531,    77,    78,    79,   319,    81,    82,    83,
      84,   532,     0,    86,     0,     0,     0,     8,     9,    87,
      10,    11,     0,    88,     0,     0,     0,     0,    13,    14,
       0,    15,    16,     0,     0,    18,    19,    20,    21,    22,
      23,    24,     0,    25,   304,    26,     0,     0,    91,    27,
       0,    28,   305,    29,    93,     0,    94,    95,    30,     0,
       0,     0,     0,     0,    96,     0,    31,     0,     0,     0,
       0,     0,    97,     0,    98,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    99,   100,     0,   533,    33,
       0,     0,     0,     0,     0,    34,    35,   104,   105,   106,
     534,    36,   535,   536,   537,     0,   111,   538,   539,     7,
       0,     0,    41,    75,   381,    77,    78,    79,    80,    81,
      82,    83,    84,     0,     0,    86,     0,     0,     0,     8,
       9,    87,    10,    11,     0,    88,     0,     0,     0,     0,
      13,    14,     0,    15,    16,     0,     0,    18,    19,    20,
      21,    22,    23,    24,     0,    25,    90,    26,     0,     0,
      91,    27,     0,    28,    92,    29,    93,     0,    94,    95,
      30,     0,     0,     0,     0,     0,    96,     0,    31,     0,
       0,     0,     0,     0,    97,     0,    98,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,    99,   100,     0,
     101,    33,     0,     0,     0,     0,     0,   103,    35,   104,
     105,   106,     0,   107,   108,   109,   382,     7,   111,   383,
     384,     0,   381,    77,    41,     0,   640,     0,     0,     0,
       0,     0,     0,    86,     0,     0,     0,     8,     9,    87,
      10,    11,     0,    88,     0,     0,     0,     0,    13,    14,
     -94,    15,    16,     0,     0,    18,    19,    20,    21,    22,
      23,    24,     0,    25,    90,    26,     0,     0,    91,    27,
       0,    28,    92,    29,    93,     0,    94,    95,    30,     0,
       0,     0,     0,     0,    96,     0,    31,     0,     0,     0,
       0,     0,    97,     0,    98,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    99,   100,     0,   533,    33,
       0,     0,     0,     0,     0,   103,    35,   104,   105,   106,
     534,   107,   641,   536,   382,     7,   111,   383,   642,     0,
     381,    77,    41,     0,   640,     0,     0,     0,     0,     0,
       0,    86,     0,     0,     0,     8,     9,    87,    10,    11,
       0,    88,     0,     0,     0,     0,    13,    14,   -95,    15,
      16,     0,     0,    18,    19,    20,    21,    22,    23,    24,
       0,    25,    90,    26,     0,     0,    91,    27,     0,    28,
      92,    29,    93,     0,    94,    95,    30,     0,     0,     0,
       0,     0,    96,     0,    31,     0,     0,     0,     0,     0,
      97,     0,    98,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,    99,   100,     0,   533,    33,     0,     0,
       0,     0,     0,   103,    35,   104,   105,   106,   534,   107,
     641,   536,   382,     7,   111,   383,   642,     0,   381,    77,
      41,     0,     0,     0,     0,     0,     0,     0,     0,    86,
       0,     0,     0,     8,     9,    87,    10,    11,     0,    88,
       0,     0,     0,     0,    13,    14,     0,    15,    16,     0,
       0,    18,    19,    20,    21,    22,    23,    24,     0,    25,
     304,    26,     0,     0,    91,    27,     0,    28,   305,    29,
      93,     0,    94,    95,    30,     0,     0,     0,     0,     0,
      96,     0,    31,     0,     0,     0,     0,     0,    97,     0,
      98,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    99,   100,     7,   533,    33,     0,     0,     0,     0,
       0,    34,    35,   104,   105,   106,   534,    36,   641,   536,
     382,     0,   111,   383,   642,    87,    10,    11,    41,    12,
       0,   220,   221,     0,    13,    14,     0,    15,    16,  -147,
       0,    18,    19,    20,    21,    22,     0,    24,     0,    25,
     304,    26,     0,     0,    91,     0,     0,    28,   305,    29,
      93,     0,    94,     0,    30,     0,     0,     0,     0,     0,
      96,    33,    31,   493,   223,     0,     0,     0,    97,     0,
      98,     0,     0,    36,   108,   109,   224,     0,     0,   225,
       0,    99,   100,     0,   226,    33,   102,     0,     0,     0,
       0,    34,    35,   104,   105,   106,     7,    36,   108,   109,
     306,   267,   111,   307,     0,     0,     0,     0,    41,     0,
      85,     0,     0,     0,     0,     0,     0,     0,    87,    10,
      11,     0,    12,     0,     0,     0,     0,    13,    14,     0,
      15,    16,     0,     0,     0,    19,    20,    21,    22,     0,
       0,     0,    25,   304,     0,     0,     0,    91,     0,     0,
      28,   305,    29,    93,     0,    94,     0,    30,     0,     0,
       0,     0,     0,    96,     0,    31,     0,     0,     0,     0,
       0,    97,     0,    98,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,    99,   100,     7,     0,    33,   102,
       0,     0,     0,     0,    34,    35,   104,   105,   106,     0,
      36,   108,   109,   306,     0,   111,   307,     0,    87,    10,
      11,    41,    12,     0,     0,     0,     0,    13,    14,     0,
      15,    16,     0,     0,     0,    19,    20,    21,    22,     0,
       0,     0,    25,   304,     0,     0,     0,    91,     0,     0,
      28,   305,    29,    93,     0,    94,     0,    30,     0,     0,
       0,     0,     0,    96,     0,    31,     0,     0,     0,     0,
       0,    97,     0,    98,     0,     0,     0,     0,     7,     0,
       0,     0,     0,     0,    99,   100,     0,     0,     0,   102,
       0,     0,     0,     0,    34,    35,   104,   105,   106,     0,
      87,    10,    11,   306,    88,   111,   307,     0,     0,    13,
      14,    41,    15,    16,     0,     0,     0,    19,    20,    21,
       0,     0,     0,     0,    25,   304,     0,     0,     0,    91,
       0,     0,    28,   305,    29,    93,     0,    94,     0,    30,
       0,     0,     0,     0,     0,    96,     0,    31,     0,     0,
       0,     0,     0,    97,     0,    98,     0,     0,     0,     0,
       7,     0,     0,     0,     0,     0,    99,   100,     0,     0,
       0,     0,     0,     0,     0,     0,    34,    35,     0,     0,
     106,     0,     0,    10,    11,     0,    12,     0,     0,     0,
       0,    13,    14,    41,    15,    16,     0,     0,     0,    19,
      20,    21,     0,     0,     0,     0,    25,     0,     0,     0,
       0,     0,     0,     0,    28,     0,    29,    93,     0,     0,
       0,    30,     0,     0,     0,     0,     0,    96,     0,    31,
       0,     0,     0,     0,     0,    97,     0,    98,     0,     0,
       0,     0,     7,     0,     0,     0,     0,     0,    99,   100,
       0,     0,     0,     0,     0,     0,     0,     0,    34,    35,
     104,   105,   106,     0,     0,    10,    11,     0,    12,   111,
       0,     0,     0,    13,    14,    41,    15,    16,     0,   616,
     617,    19,    20,    21,     0,     0,   618,     0,    25,   619,
     620,   621,     0,     0,     0,     0,    28,     0,    29,     0,
       0,     0,     0,    30,     0,     0,   622,     0,   623,     0,
     624,    31,   625,     0,     0,   616,   617,     0,     0,   626,
     627,    95,   618,     0,     0,   619,   620,   621,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      34,    35,   622,     0,   623,     0,   624,     0,   625,     0,
       0,     0,     0,    33,     0,   626,   627,    41,     0,     0,
       0,     0,     0,     0,     0,    36,   108,   109,   171,     0,
       0,   172,     0,     0,     0,     0,     0,   628,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,    33,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    36,   108,   109,   171,     0,     0,   172,     0,     0,
       0,     0,     0,   767
};

static const yytype_int16 yycheck[] =
{
       3,     4,    94,    91,   242,    72,     3,    21,    80,     4,
       3,    72,   105,   149,     3,    56,    30,   304,   111,    28,
      29,     4,   145,   168,     4,    90,   200,    92,    56,    94,
     187,   103,    69,   156,    85,   107,   159,   425,   180,   376,
       3,     4,   529,   384,   440,   529,   180,   236,   286,    21,
      41,    93,    36,   236,   215,     3,     4,     4,   296,    56,
       3,     4,   341,   222,   409,   410,   411,    56,   403,   414,
     376,   151,     4,    87,   706,   121,     3,     4,     4,   122,
     123,    20,   128,     1,     7,   242,    89,     1,   435,    12,
      93,   201,     4,   440,    89,   162,    80,    89,    21,     4,
      95,   162,     9,    10,     1,    69,    89,    30,     9,    89,
       0,   347,   499,    20,     3,     4,   748,     9,    10,   580,
      13,   186,   609,   107,   511,   609,    89,   363,    20,   286,
     113,   592,   119,     3,     4,     7,   131,     4,   525,   296,
       9,    89,    89,   119,   489,   490,    89,     4,   151,    18,
     119,   261,   116,   119,   343,   313,   151,    89,    51,   282,
     343,   284,    89,    89,    87,    88,    59,    90,    91,    92,
      93,    94,   361,   168,   118,   236,   264,    89,   361,   118,
      46,   218,   341,   122,    89,   520,   124,   425,   126,     9,
     185,   314,   353,   530,    95,   115,   116,   200,     4,   279,
      89,   196,   120,   364,     9,   200,   120,    40,   115,   102,
      58,   490,    60,   305,   493,   108,   339,   375,   376,    89,
     200,   609,    89,   120,   530,    73,   131,   361,   623,   271,
     625,    97,    89,     9,    10,   200,   107,   200,   119,   304,
     305,   112,   583,   404,    20,   111,    20,    83,   114,   590,
     591,    87,   200,   200,     9,    10,   118,   200,   118,   594,
     122,   435,   122,   186,     9,    20,   440,   390,   425,     9,
      10,   119,    20,   200,   200,   417,   199,   280,   201,   675,
      20,   118,   343,    89,   279,   122,     9,    10,   118,   109,
     110,   111,   122,   219,   114,   642,   783,    20,   118,   783,
     100,   101,   122,    96,   109,   110,   111,     9,   349,   114,
     351,   200,     0,   650,     0,   108,   109,   110,   309,   356,
     807,    37,   445,   807,     0,   131,    84,   674,   675,     0,
     200,    84,    85,   200,   493,   319,    82,    83,   261,   684,
      86,   264,    88,   200,   432,   433,   349,     0,   351,   118,
     417,   208,   349,   122,   351,   118,   349,   280,   351,   122,
     349,   757,   351,     0,    96,   109,   110,   111,   363,   372,
     114,   103,   529,   611,     0,   372,   108,   109,   110,   185,
     352,   304,   305,   372,    90,   357,   349,    83,   351,   372,
     196,    87,   375,   376,   200,   375,   376,    90,     9,   121,
     363,   349,   208,   351,    83,   103,   580,   372,    87,    20,
     757,    83,   121,   809,   603,    87,    88,   431,   592,   807,
     603,   121,   349,    83,   351,   428,   121,    87,    88,   352,
     121,   428,   435,    83,   357,   119,   431,   440,   435,   428,
     595,   596,     4,   440,    85,   428,   435,   442,   109,   110,
     111,   440,   609,   114,   611,   435,   459,   599,   430,     7,
     440,   374,   809,   428,   467,   599,   600,     9,   471,   118,
     467,    85,   121,   122,   471,   585,   586,    64,   467,   349,
     475,    83,   471,   118,   467,    96,     8,   121,   471,    11,
      12,    13,    14,    15,    16,    17,   121,   108,   109,   110,
     674,   675,   467,    81,    82,   431,   471,   430,   431,   432,
     433,   121,   563,   109,   110,   111,   429,   121,   114,   119,
     758,    56,    83,   119,    66,    67,    68,    89,    70,   109,
     110,   111,   123,   600,   114,   623,   459,   625,   579,   588,
     589,   347,   603,   122,   831,   681,    83,   530,    19,    91,
     530,   579,   741,   124,    37,   468,    82,   363,   561,   472,
     101,    96,    83,    98,   561,    83,    87,    88,   640,   131,
      84,   279,   561,   108,   109,   110,   111,   580,   561,   114,
     119,   121,   579,   757,    84,   580,   679,    83,   121,   592,
     579,    87,    88,   115,    83,   119,   561,   592,    87,    88,
     580,   758,    83,   598,   279,   608,   844,   741,   846,    84,
     613,   608,   592,   627,   121,   580,   613,   580,   121,   608,
     121,   766,   113,   185,   613,   608,   783,   592,     5,   592,
     613,    83,   580,   580,   196,   809,    31,   580,    20,   632,
     635,    83,   656,   608,   592,   592,   115,   781,   613,   592,
     807,   761,   762,   580,   580,    83,   721,   722,   653,    87,
      88,   656,   585,   586,   372,   592,   592,   121,   671,   475,
     673,   674,   675,    37,   671,   763,   673,   674,   675,   802,
     741,   690,   671,    83,   673,   674,   675,   844,   671,   846,
     673,   580,   687,   696,   674,   675,   819,   372,    31,   696,
     623,   824,   625,   592,   627,    83,   671,   696,   673,   100,
     580,    82,    83,   580,   781,    86,   435,    88,   121,   118,
     428,   440,   592,   580,    83,   592,    54,   815,   816,     9,
      83,   696,     3,   656,   121,   592,   121,    82,    83,    83,
     832,    86,   745,    88,   747,    83,     9,   113,   745,    89,
     747,    82,    83,   428,   757,    86,   745,    88,   747,   467,
     757,   833,   834,   471,   747,    83,   831,   832,   757,    87,
      88,   766,   480,   656,   580,   483,   351,   757,    99,   100,
     745,   211,   747,    46,    61,   106,   592,    61,   428,    96,
     184,    61,   467,   706,    61,   435,   471,   656,   721,   722,
     440,   108,   109,   110,   111,   808,   809,   114,   151,   770,
     720,   808,   809,   375,   376,    78,   459,    80,   822,   808,
     809,   142,    93,   678,   653,   808,   453,   467,   149,   809,
     658,   471,   417,    -1,    -1,   748,   157,    -1,   761,   762,
     763,    -1,   561,   808,    -1,    83,   109,   110,   111,    87,
      88,   114,   855,   561,    -1,    -1,    -1,    83,   855,    -1,
     131,    87,    88,    83,   127,    83,   855,    87,    88,    87,
      88,    -1,   855,    19,    66,    67,    68,    -1,    70,    -1,
     151,    66,    67,    68,    -1,    70,   561,     9,    10,    -1,
     855,    -1,   815,   816,   613,    -1,    18,    -1,    20,   812,
     608,    -1,    -1,     9,    -1,   613,    -1,    -1,   831,   832,
      -1,    -1,     8,   475,   185,    11,    12,    13,    14,    15,
      -1,    -1,    -1,    19,    46,   196,    -1,     9,    -1,    75,
      76,    77,    -1,   608,    -1,   848,    18,    -1,   613,   852,
      46,   854,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      46,    -1,   671,    -1,   673,   674,   675,    -1,    -1,    -1,
      -1,    -1,    -1,   671,    46,   673,    -1,    -1,   530,   115,
     116,    -1,    94,   613,    80,    97,    72,   696,    -1,   125,
     126,    -1,   104,   105,    -1,   107,    -1,    -1,   696,   111,
     112,   113,   114,    -1,    -1,    -1,   671,    -1,   673,    -1,
      96,    -1,    -1,   109,   110,   111,   102,    -1,   114,   280,
      -1,    -1,   108,   109,   110,   111,    -1,    -1,   114,   115,
     116,   696,   118,    -1,    -1,    -1,   745,   109,   110,   111,
      -1,   671,   114,   673,    -1,    -1,    -1,   745,   757,   747,
      -1,    -1,   313,    -1,    -1,     9,    10,    -1,    -1,    -1,
      -1,    96,    -1,    -1,    18,    -1,    20,    -1,    -1,     1,
      -1,    -1,     4,   108,   109,   110,   111,    -1,    -1,   114,
     745,    -1,   747,    57,    -1,   120,   347,    -1,   349,    -1,
     351,    -1,    -1,    -1,    26,    27,    28,    -1,    30,   808,
     809,    -1,   363,    35,    36,    -1,    38,    39,    -1,    -1,
     808,    43,    44,    45,   375,   376,    -1,    -1,    50,    51,
      -1,    -1,    96,    55,    98,    99,    58,    59,    60,    61,
      -1,    63,    -1,    65,   108,   109,   110,    -1,    -1,    71,
      94,    73,    -1,   808,    -1,   119,   855,    79,    -1,    81,
     104,   105,    -1,    -1,    -1,    -1,    -1,   855,   112,   113,
      92,    93,    -1,    -1,    96,    -1,    -1,    -1,    -1,    -1,
     102,   103,    72,    -1,   106,    -1,   108,   109,   110,   111,
      -1,   811,   114,    -1,    -1,    -1,    -1,   119,   120,    -1,
     855,    -1,    -1,    93,    -1,    -1,    96,    -1,   459,    -1,
      -1,    -1,   102,   103,   104,   105,   836,    -1,   108,   109,
     110,    -1,    -1,   113,   475,    -1,    -1,    -1,    -1,   849,
     850,   851,    -1,   853,     0,     1,   856,   857,     4,    -1,
      -1,    -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,    40,    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,    -1,    95,
      96,    97,    -1,    -1,    -1,    -1,   102,   103,   104,   105,
     106,    -1,   108,   109,   110,   111,    -1,   113,   114,   115,
      -1,     1,    -1,   119,     4,    -1,    -1,    -1,    -1,     9,
      -1,    -1,    -1,    -1,    56,    57,    -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,    96,    55,    98,    99,    58,    59,
      60,    61,    -1,    63,    -1,    65,   108,   109,   110,   111,
      -1,    71,   114,    73,    -1,    -1,    -1,   119,   120,    79,
      -1,    81,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    92,    93,    -1,    -1,    96,    97,    -1,    -1,
      -1,    -1,   102,   103,   104,   105,   106,    -1,   108,   109,
     110,   111,    -1,   113,   114,    -1,    -1,     0,     1,   119,
     120,     4,    -1,    -1,    -1,    -1,     9,    -1,    -1,    -1,
      -1,    56,    57,    -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,    96,    55,    98,    99,    58,    59,    60,    61,    -1,
      63,    -1,    65,   108,   109,   110,   111,    -1,    71,   114,
      73,    -1,    -1,    -1,   119,    -1,    79,    -1,    81,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,     9,    10,    92,
      93,    -1,    -1,    96,    97,    -1,    18,    -1,    20,   102,
     103,   104,   105,   106,    -1,   108,   109,   110,   111,    -1,
     113,   114,    -1,     0,     1,    -1,   119,     4,    -1,    -1,
      -1,    -1,    -1,    -1,    46,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -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,    94,    60,    -1,    97,    -1,    -1,    65,    -1,
      -1,    -1,   104,   105,    -1,   107,    73,    -1,    -1,   111,
     112,   113,   114,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,     1,    90,    -1,     4,    -1,    -1,    -1,    96,
      -1,    -1,    -1,    -1,    -1,   102,   103,    -1,    -1,    -1,
      -1,   108,   109,   110,   111,    -1,    25,   114,    27,    28,
      -1,    30,   119,    -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,     1,    -1,
      -1,     4,    -1,    -1,    -1,    -1,    -1,    96,    -1,    -1,
      -1,    -1,    -1,   102,   103,    -1,    -1,    -1,    -1,   108,
     109,   110,    -1,    -1,    27,    28,    -1,    30,    -1,    -1,
     119,   120,    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,     4,    -1,    -1,
      -1,    -1,     9,    96,    -1,    -1,    -1,    56,    57,   102,
     103,    18,    -1,    -1,    -1,   108,   109,   110,    -1,    26,
      27,    28,    -1,    30,    -1,    -1,   119,   120,    35,    36,
      -1,    38,    39,    -1,    -1,    -1,    43,    44,    45,    46,
      -1,    -1,    -1,    50,    51,    -1,    -1,    96,    55,    98,
      99,    58,    59,    60,    61,    -1,    63,    -1,    65,   108,
     109,   110,   111,    -1,    71,   114,    73,    74,    -1,    -1,
     119,    -1,    79,    -1,    81,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    92,    93,    -1,    -1,    96,
      97,    -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,
      -1,   108,   109,   110,   111,    -1,   113,   114,    -1,     4,
      -1,    -1,   119,     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,    40,    -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,    -1,
      95,    96,    -1,    -1,    -1,    -1,    -1,   102,   103,   104,
     105,   106,   107,   108,   109,   110,   111,    -1,   113,   114,
     115,     4,    -1,    -1,   119,     8,     9,    10,    11,    12,
      13,    14,    15,    16,    17,    18,    -1,    20,    -1,    -1,
      -1,    24,    25,    26,    27,    28,    -1,    30,    31,    -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,    -1,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,   111,    -1,
     113,   114,   115,     4,    -1,    -1,   119,     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,    40,
      -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,    -1,    95,    96,    -1,    -1,    -1,    -1,
      -1,   102,   103,   104,   105,   106,   107,   108,   109,   110,
     111,    -1,   113,   114,   115,     4,    -1,    -1,   119,     8,
       9,    10,    11,    12,    13,    14,    15,    16,    17,    18,
      -1,    20,    -1,    -1,    -1,    24,    25,    26,    27,    28,
      -1,    30,    31,    -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,    -1,    95,    96,    -1,    -1,
      -1,    -1,    -1,   102,   103,   104,   105,   106,   107,   108,
     109,   110,   111,    -1,   113,   114,   115,     4,    -1,    -1,
     119,     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,    -1,    95,    96,
      -1,    -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,
     107,   108,   109,   110,   111,    -1,   113,   114,   115,     4,
      -1,    -1,   119,     8,     9,    10,    11,    12,    13,    14,
      15,    16,    17,    18,    -1,    20,    -1,    -1,    -1,    24,
      25,    26,    27,    28,    -1,    30,    31,    -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,    -1,
      95,    96,    -1,    -1,    -1,    -1,    -1,   102,   103,   104,
     105,   106,   107,   108,   109,   110,   111,    -1,   113,   114,
     115,     4,    -1,    -1,   119,     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,    -1,    95,    96,    -1,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,   106,   107,   108,   109,   110,   111,    -1,
     113,   114,   115,     4,    -1,    -1,   119,     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,    -1,    95,    96,    -1,    -1,    -1,    -1,
      -1,   102,   103,   104,   105,   106,   107,   108,   109,   110,
     111,    -1,   113,   114,   115,     4,    -1,    -1,   119,     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,    -1,    95,    96,    -1,    -1,
      -1,    -1,    -1,   102,   103,   104,   105,   106,   107,   108,
     109,   110,   111,    -1,   113,   114,   115,     4,    -1,    -1,
     119,     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,    -1,    95,    96,
      -1,    -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,
     107,   108,   109,   110,   111,    -1,   113,   114,   115,     4,
      -1,    -1,   119,     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,    -1,
      95,    96,    -1,    -1,    -1,    -1,    -1,   102,   103,   104,
     105,   106,    -1,   108,   109,   110,   111,     4,   113,   114,
     115,    -1,     9,    10,   119,    -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,
      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,    -1,    95,    96,
      -1,    -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,
     107,   108,   109,   110,   111,     4,   113,   114,   115,    -1,
       9,    10,   119,    -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,    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,    -1,    95,    96,    -1,    -1,
      -1,    -1,    -1,   102,   103,   104,   105,   106,   107,   108,
     109,   110,   111,     4,   113,   114,   115,    -1,     9,    10,
     119,    -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,     4,    95,    96,    -1,    -1,    -1,    -1,
      -1,   102,   103,   104,   105,   106,   107,   108,   109,   110,
     111,    -1,   113,   114,   115,    26,    27,    28,   119,    30,
      -1,    56,    57,    -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,    96,    73,    98,    99,    -1,    -1,    -1,    79,    -1,
      81,    -1,    -1,   108,   109,   110,   111,    -1,    -1,   114,
      -1,    92,    93,    -1,   119,    96,    97,    -1,    -1,    -1,
      -1,   102,   103,   104,   105,   106,     4,   108,   109,   110,
     111,     9,   113,   114,    -1,    -1,    -1,    -1,   119,    -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,    -1,    92,    93,     4,    -1,    96,    97,
      -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,    -1,
     108,   109,   110,   111,    -1,   113,   114,    -1,    26,    27,
      28,   119,    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,     4,    -1,
      -1,    -1,    -1,    -1,    92,    93,    -1,    -1,    -1,    97,
      -1,    -1,    -1,    -1,   102,   103,   104,   105,   106,    -1,
      26,    27,    28,   111,    30,   113,   114,    -1,    -1,    35,
      36,   119,    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,    -1,    -1,    -1,
       4,    -1,    -1,    -1,    -1,    -1,    92,    93,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,   102,   103,    -1,    -1,
     106,    -1,    -1,    27,    28,    -1,    30,    -1,    -1,    -1,
      -1,    35,    36,   119,    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,    -1,
      -1,    -1,     4,    -1,    -1,    -1,    -1,    -1,    92,    93,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   102,   103,
     104,   105,   106,    -1,    -1,    27,    28,    -1,    30,   113,
      -1,    -1,    -1,    35,    36,   119,    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,
      -1,    -1,    -1,    96,    -1,    62,    63,   119,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,   108,   109,   110,   111,    -1,
      -1,   114,    -1,    -1,    -1,    -1,    -1,   120,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    96,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,   108,   109,   110,   111,    -1,    -1,   114,    -1,    -1,
      -1,    -1,    -1,   120
};

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

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

  /* 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,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     3,     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,     2,     4,     0,     2,     1,     1,     3,     5,
       5,     1,     1,     3,     3,     2,     1,     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,     1,     1,     0,     2,     0,
       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,     3,     1,     3,
       3,     1,     1,     1,     1,     1,     1,     1,     4,     5,
       5,     5,     4,     4,     3,     3,     3,     3,     3,     3,
       3,     4,     4,     4,     4,     4,     4,     4,     4,     4,
       1,     4,     4,     4,     4,     4,     4,     4,     4,     5,
       5,     5,     4,     4,     4,     4,     3,     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,     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,     3,
       2,     4,     2,     3,     1,     1,     5,     5,     4,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     2,
       2,     2,     1,     1,     2,     1,     1,     4,     3,     4,
       2,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     2,     1,
       3,     3,     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,     2,     0,     2,     0,     3,     3,     1,
       2,     1,     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,     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,
       2,     3,     2,     2,     2,     2,     3,     1,     2,     1,
       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 391 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 2970 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

  case 11:
#line 417 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3032 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 12:
#line 421 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3041 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 13:
#line 425 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3053 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 14:
#line 432 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3062 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 15:
#line 436 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3071 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 16:
#line 440 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3080 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 17:
#line 444 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3089 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 18:
#line 448 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3098 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 19:
#line 453 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 (ly_is_module ((yyvsp[0])))
		{
			SCM module = get_header (parser);
			ly_module_copy (module, (yyvsp[0]));
			parser->lexer_->set_identifier
				(ly_symbol2scm ("$defaultheader"), module);
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3137 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 20:
#line 487 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3155 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 22:
#line 505 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = loc_on_copy (parser, (yyloc),
				  nested_property ((yyvsp[-2]), scm_reverse_x ((yyvsp[0]), SCM_EOL)));
	}
#line 3164 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

  case 51:
#line 588 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3217 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 54:
#line 598 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3243 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 56:
#line 620 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3256 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

  case 61:
#line 644 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3297 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 62:
#line 648 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (ly_is_module ((yyvsp[0])))
			ly_module_copy (scm_current_module (), (yyvsp[0]));
		else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3308 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 69:
#line 683 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3351 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 70:
#line 688 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3361 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 75:
#line 708 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3403 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 90:
#line 747 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3412 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 94:
#line 768 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3450 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 95:
#line 778 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3464 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 99:
#line 800 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3502 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 100:
#line 810 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3516 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 104:
#line 835 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3554 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 106:
#line 849 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 3562 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 109:
#line 864 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3594 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 110:
#line 874 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3610 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 111:
#line 885 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3638 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 112:
#line 913 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3649 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 113:
#line 925 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3664 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 115:
#line 938 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3681 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 116:
#line 942 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3690 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 117:
#line 946 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3699 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 118:
#line 950 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3708 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 119:
#line 954 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3717 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 120:
#line 958 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3726 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 121:
#line 962 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3735 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 122:
#line 967 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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]))) {
			if (to_boolean (od->lookup_variable (ly_symbol2scm ("is-paper")))) {
				unsmob<Book> ((yyvsp[-1]))->paper_ = od;
				set_paper (parser, od);
			} else {
				parser->parser_error ((yylsp[0]), _ ("need \\paper for paper block"));
			}
		} else if (ly_is_module ((yyvsp[0])))
		{
			ly_module_copy (unsmob<Book> ((yyvsp[-1]))->header_, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3767 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 125:
#line 998 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3786 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 126:
#line 1007 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3796 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 127:
#line 1015 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3806 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 130:
#line 1026 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3831 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 131:
#line 1030 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3840 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 132:
#line 1034 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3849 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 133:
#line 1038 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3858 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 134:
#line 1042 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3867 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 135:
#line 1047 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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]))) {
			if (to_boolean (od->lookup_variable (ly_symbol2scm ("is-paper")))) {
				unsmob<Book> ((yyvsp[-1]))->paper_ = od;
			} else {
				parser->parser_error ((yylsp[0]), _ ("need \\paper for paper block"));
			}
		} else if (ly_is_module ((yyvsp[0]))) {
			Book *book = unsmob<Book> ((yyvsp[-1]));
			if (!ly_is_module (book->header_))
				book->header_ = ly_make_module (false);
			ly_module_copy (book->header_, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("bad expression type"));
	}
#line 3900 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 136:
#line 1076 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3911 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 140:
#line 1097 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 3952 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 146:
#line 1131 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 (ly_is_module ((yyvsp[0]))) {
			SCM module = SCM_UNSPECIFIED;
			if (score) {
				module = score->get_header ();
				if (!ly_is_module (module))
				{
					module = ly_make_module (false);
					score->set_header (module);
				}
			} else if (scm_is_pair ((yyval)) && ly_is_module (scm_car ((yyval))))
				module = scm_car ((yyval));
			else {
				module = ly_make_module (false);
				(yyval) = scm_cons (module, (yyval));
			}
			ly_module_copy (module, (yyvsp[0]));
		} else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _("Spurious expression in \\score"));
	}
#line 4031 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 147:
#line 1190 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4047 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 149:
#line 1212 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4069 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 150:
#line 1225 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4081 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 151:
#line 1235 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4092 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 152:
#line 1241 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4102 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 153:
#line 1246 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4113 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 157:
#line 1272 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4134 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 159:
#line 1284 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4176 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 160:
#line 1312 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4187 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 161:
#line 1319 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[0])))
			(yyvsp[0]) = scm_car ((yyvsp[0]));
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 4197 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 162:
#line 1324 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4214 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

  case 169:
#line 1364 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4275 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 174:
#line 1387 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4296 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 175:
#line 1399 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4307 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 178:
#line 1414 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4339 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 179:
#line 1429 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4362 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

  case 191:
#line 1493 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 4418 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 193:
#line 1501 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 {
			// let's permit \with #*unspecified* to go for
			// an empty context mod
			if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
				parser->parser_error ((yylsp[0]), _ ("not a context mod"));
			(yyval) = Context_mod ().smobbed_copy ();
		}
	}
#line 4447 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 196:
#line 1529 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (scm_is_pair ((yyvsp[0])))
			(yyval) = scm_append_x (scm_reverse_x ((yyvsp[0]), SCM_EOL));
        }
#line 4456 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 198:
#line 1546 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (Context_mod *m = unsmob<Context_mod> ((yyvsp[0])))
			(yyval) = scm_cons (m->get_mods (), (yyvsp[-1]));
	}
#line 4473 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 200:
#line 1561 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4490 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 201:
#line 1565 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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])))
			unsmob<Context_mod> ((yyval))->add_context_mods
				(unsmob<Context_mod> ((yyvsp[0]))->get_mods ());
		else if (!scm_is_eq ((yyvsp[0]), SCM_UNSPECIFIED))
			parser->parser_error ((yylsp[0]), _ ("not a context mod"));
        }
#line 4506 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 202:
#line 1579 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = START_MAKE_SYNTAX (context_specification, (yyvsp[-2]), (yyvsp[-1]), (yyvsp[0]), SCM_BOOL_F);
	}
#line 4514 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 203:
#line 1582 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = START_MAKE_SYNTAX (context_specification, (yyvsp[-2]), (yyvsp[-1]), (yyvsp[0]), SCM_BOOL_T);
	}
#line 4522 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 214:
#line 1633 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4565 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 219:
#line 1653 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4589 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 226:
#line 1725 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4609 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 227:
#line 1729 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4617 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 232:
#line 1751 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_reverse_key_list ((yyvsp[0]));
		if (SCM_UNBNDP ((yyval))) {
			parser->parser_error ((yylsp[0]), _("not a key"));
			(yyval) = SCM_EOL;
		}
	}
#line 4645 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 235:
#line 1772 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = try_word_variants (Lily::key_list_p, (yyvsp[0]));
		if (SCM_UNBNDP ((yyval))) {
			parser->parser_error ((yylsp[0]), _("not a key"));
			(yyval) = SCM_EOL;
		} else
			(yyval) = scm_reverse ((yyval));
	}
#line 4666 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 239:
#line 1793 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4698 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 240:
#line 1805 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4708 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 241:
#line 1811 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4718 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 242:
#line 1817 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4732 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 244:
#line 1831 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4754 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

  case 251:
#line 1869 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_music_from_simple (parser, (yyloc),
					     make_duration ((yyvsp[-3]), scm_to_int ((yyvsp[-2])), (yyvsp[-1])));
		Music *m = unsmob<Music> ((yyval));
		assert (m);
		if (scm_is_pair ((yyvsp[0])))
			m->set_property ("articulations",
					 scm_reverse_x ((yyvsp[0]), SCM_EOL));
	}
#line 4816 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 252:
#line 1882 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4837 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 253:
#line 1899 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4852 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 254:
#line 1910 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4867 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 255:
#line 1921 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4888 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 256:
#line 1938 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_word_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 4909 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 257:
#line 1955 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 4926 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 258:
#line 1968 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			// May be 3 \cm or similar
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		else if (scm_is_true (scm_call_1 ((yyvsp[-2]), scm_list_1 ((yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, scm_list_1 ((yyvsp[0])));
		else {
			SCM d = make_duration ((yyvsp[0]));
			if (!SCM_UNBNDP (d)) {
				if (scm_is_true (scm_call_1 ((yyvsp[-2]), d)))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
				else if (scm_is_true
					 (scm_call_1
					  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), d))))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_ARG, d);
				else
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
			} else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
		}
	}
#line 4953 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 259:
#line 1991 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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]), DURATION_IDENTIFIER, (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]), DURATION_ARG, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
	}
#line 4969 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 261:
#line 2010 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
				MYBACKUP (SCM_ARG, (yyvsp[0]), (yylsp[0]));
			}
		}
	}
#line 4988 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 262:
#line 2025 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (EVENT_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5002 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 263:
#line 2035 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (PITCH_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5022 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 264:
#line 2051 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (TONICNAME_PITCH, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5042 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 265:
#line 2067 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (SCM_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5055 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 266:
#line 2076 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			// May be 3 \cm or similar
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		else if (scm_is_true (scm_call_1 ((yyvsp[-2]), scm_list_1 ((yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, scm_list_1 ((yyvsp[0])));
		else {
			SCM d = make_duration ((yyvsp[0]));
			if (!SCM_UNBNDP (d)) {
				if (scm_is_true (scm_call_1 ((yyvsp[-2]), d)))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
				else if (scm_is_true
					 (scm_call_1
					  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), d))))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_ARG, d);
				else {
					(yyval) = scm_cons (loc_on_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
					MYBACKUP (UNSIGNED, (yyvsp[0]), (yylsp[0]));
				}
			} else {
				(yyval) = scm_cons (loc_on_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
				MYBACKUP (UNSIGNED, (yyvsp[0]), (yylsp[0]));
			}
		}
	}
#line 5086 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 267:
#line 2103 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (REAL, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5101 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 268:
#line 2114 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (NUMBER_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5115 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 269:
#line 2124 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
				MYBACKUP (UNSIGNED, (yyvsp[0]), (yylsp[0]));
				parser->lexer_->push_extra_token ((yylsp[-1]), '-');
			}
		}
	}
#line 5138 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 270:
#line 2143 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
			MYBACKUP (REAL, n, (yylsp[0]));
		}
	}
#line 5153 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 271:
#line 2154 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-2]), (yyvsp[-4])), (yyvsp[-2]));
			MYBACKUP (NUMBER_IDENTIFIER, n, (yylsp[0]));
		}
	}
#line 5167 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 272:
#line 2164 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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]), DURATION_IDENTIFIER, (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]), DURATION_ARG, (yyvsp[0]));
		else {
			(yyval) = scm_cons (loc_on_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (DURATION_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5185 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 273:
#line 2178 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (SCM_IDENTIFIER, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5204 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 274:
#line 2193 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (STRING, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5223 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 275:
#line 2208 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		SCM res = try_word_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_copy (parser, (yylsp[-1]), (yyvsp[-3])), (yyvsp[-1]));
			MYBACKUP (STRING, (yyvsp[0]), (yylsp[0]));
		}
	}
#line 5242 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 276:
#line 2223 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5256 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  case 294:
#line 2324 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5393 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 297:
#line 2344 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5420 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 300:
#line 2359 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5452 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 305:
#line 2391 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5509 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 306:
#line 2409 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5524 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 307:
#line 2420 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5539 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 308:
#line 2431 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5561 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 309:
#line 2449 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		SCM res = try_word_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 5583 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 310:
#line 2467 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5601 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 311:
#line 2481 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = (yyvsp[-1]);
		if (scm_is_true (scm_call_1 ((yyvsp[-2]), (yyvsp[0]))))
			// May be 3 \cm or similar
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), REAL, (yyvsp[0]));
		else if (scm_is_true (scm_call_1 ((yyvsp[-2]), scm_list_1 ((yyvsp[0])))))
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SYMBOL_LIST, scm_list_1 ((yyvsp[0])));
		else {
			SCM d = make_duration ((yyvsp[0]));
			if (!SCM_UNBNDP (d)) {
				if (scm_is_true (scm_call_1 ((yyvsp[-2]), d)))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_IDENTIFIER, d);
				else if (scm_is_true
					 (scm_call_1
					  ((yyvsp[-2]), make_music_from_simple (parser, (yylsp[0]), d))))
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), DURATION_ARG, d);
				else
					MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
			} else
				MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
		}
	}
#line 5628 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 312:
#line 2504 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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]), DURATION_IDENTIFIER, (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]), DURATION_ARG, (yyvsp[0]));
		else
			MYREPARSE ((yylsp[0]), (yyvsp[-2]), SCM_ARG, (yyvsp[0])); // trigger error
	}
#line 5644 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 313:
#line 2516 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5664 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 314:
#line 2532 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5674 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

  case 326:
#line 2589 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5746 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 327:
#line 2600 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = MAKE_SYNTAX (context_specification, (yyloc), (yyvsp[-2]), SCM_EOL, (yyvsp[-1]), 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 5759 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 328:
#line 2611 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);

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

  case 329:
#line 2617 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::drum_pitch_names);

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

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

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

  case 331:
#line 2627 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->chordmodifier_tab_ =
			alist_to_hashq (Lily::chordmodifiers);
		parser->lexer_->push_chord_state (Lily::pitchnames);
		(yyval) = ly_symbol2scm ("chords");

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

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

  case 333:
#line 2641 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::drum_pitch_names);

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

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

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

  case 335:
#line 2651 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->chordmodifier_tab_ =
			alist_to_hashq (Lily::chordmodifiers);
		parser->lexer_->push_chord_state (Lily::pitchnames);
		(yyval) = ly_symbol2scm ("ChordNames");
	}
#line 5840 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

  case 341:
#line 2683 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5896 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 344:
#line 2731 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 5924 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  case 361:
#line 2780 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!scm_is_string ((yyvsp[0]))
		    && !scm_is_eq ((yyvsp[-1]), ly_symbol2scm ("consists"))
		    && !scm_is_eq ((yyvsp[-1]), ly_symbol2scm ("remove")))
		{
			(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 6042 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 362:
#line 2798 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6060 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 363:
#line 2816 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6072 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 364:
#line 2824 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6087 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 365:
#line 2839 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6105 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 366:
#line 2871 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6124 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 367:
#line 2888 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6138 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 369:
#line 2900 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6160 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 370:
#line 2909 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6173 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 377:
#line 2930 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6186 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 380:
#line 2943 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6199 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 382:
#line 2958 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!is_regular_identifier ((yyvsp[0]), false))
			parser->parser_error ((yylsp[0]), (_ ("symbol expected")));
		(yyval) = scm_string_to_symbol ((yyvsp[0]));
	}
#line 6217 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 383:
#line 2964 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6234 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 392:
#line 3006 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6270 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 397:
#line 3028 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6307 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 402:
#line 3065 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6368 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 403:
#line 3090 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6383 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 404:
#line 3101 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6401 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 410:
#line 3133 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6441 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 412:
#line 3157 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6464 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 413:
#line 3167 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6474 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 414:
#line 3172 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6484 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 415:
#line 3177 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6497 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 416:
#line 3185 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6510 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 421:
#line 3213 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6546 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 424:
#line 3225 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6564 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 427:
#line 3237 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6595 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

  case 437:
#line 3290 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6660 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 438:
#line 3305 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6673 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 440:
#line 3317 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6686 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 443:
#line 3333 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6696 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 444:
#line 3338 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6707 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 445:
#line 3344 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		// Flag a warning? could be unintentional
		Music *t = MY_MAKE_MUSIC ("TextScriptEvent", (yyloc));
		t->set_property ("text",
			make_simple_markup ((yyvsp[0])));
		(yyval) = t->unprotect ();
	}
#line 6719 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 446:
#line 3352 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6735 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 447:
#line 3366 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6745 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

  case 461:
#line 3423 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6858 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 462:
#line 3431 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_duration ((yyvsp[-1]), scm_to_int ((yyvsp[0])));
	}
#line 6866 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 463:
#line 3437 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		(yyval) = make_duration ((yyvsp[-1]), 0, (yyvsp[0]));
	}
#line 6874 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

  case 467:
#line 3457 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = scm_product ((yyvsp[-2]), (yyvsp[0]));
		else
			(yyval) = (yyvsp[0]);
	}
#line 6909 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 468:
#line 3464 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!SCM_UNBNDP ((yyvsp[-2])))
			(yyval) = scm_product ((yyvsp[-2]), scm_divide (scm_car ((yyvsp[0])),
							  scm_cdr ((yyvsp[0]))));
		else
			(yyval) = scm_divide (scm_car ((yyvsp[0])), scm_cdr ((yyvsp[0])));
	}
#line 6921 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 470:
#line 3477 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6943 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 475:
#line 3494 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 6959 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 480:
#line 3518 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7002 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 481:
#line 3529 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7011 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 482:
#line 3533 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7027 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 483:
#line 3544 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7036 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

  case 494:
#line 3591 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7157 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 495:
#line 3630 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7179 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 496:
#line 3650 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7191 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 497:
#line 3657 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7209 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 498:
#line 3673 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7219 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 499:
#line 3678 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		if (!parser->lexer_->is_lyric_state ())
			parser->parser_error ((yylsp[0]), _f ("not a note name: %s", ly_scm2string ((yyvsp[0]))));
		(yyval) = (yyvsp[0]);
	}
#line 7229 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 502:
#line 3692 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7250 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 503:
#line 3702 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7261 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 504:
#line 3708 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7270 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  case 536:
#line 3833 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7473 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 537:
#line 3842 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7486 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 539:
#line 3855 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7503 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 541:
#line 3872 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7520 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

  case 548:
#line 3916 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7578 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

  case 550:
#line 3927 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7601 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

  case 557:
#line 3958 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 7641 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 558:
#line 3960 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7657 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  case 581:
#line 4074 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-1.x86_64/build/lily/parser.yy" /* yacc.c:1646  */
    {
		parser->lexer_->push_note_state (Lily::pitchnames);
	}
#line 7839 "./out/parser.cc" /* yacc.c:1646  */
    break;

  case 582:
#line 4076 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7855 "./out/parser.cc" /* yacc.c:1646  */
    break;

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

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

  case 585:
#line 4098 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 7880 "./out/parser.cc" /* yacc.c:1646  */
    break;

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


#line 7892 "./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 4107 "/cygdrive/e/cyg_pub/devel/lilypond/lilypond-2.19.65-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 SCM_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;
	} else if (scm_is_pair (sid)
		   && scm_is_pair (scm_car (sid))
		   && scm_is_true (Lily::key_p (scm_caar (sid)))) {
		*destination = sid;
		return LOOKUP_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_copy (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 ();
	}
	if (Book *b = unsmob<Book> (arg))
	{
		b = b->clone ();
		b->origin ()->set_spot (parser->lexer_->override_input (loc));
		return b->unprotect ();
	}
	if (Context_def *cd = unsmob<Context_def> (arg))
	{
		cd = cd->clone ();
		cd->origin ()->set_spot (parser->lexer_->override_input (loc));
		return cd->unprotect ();
	}
	if (Output_def *od = unsmob<Output_def> (arg))
	{
		od = od->clone ();
		od->input_origin_ = parser->lexer_->override_input (loc);
		return od->unprotect ();
	}
	if (Score *s = unsmob<Score> (arg))
	{
		s = s->clone ();
		s->origin ()->set_spot (parser->lexer_->override_input (loc));
		return s->unprotect ();
	}
	if (Context_mod *cm = unsmob<Context_mod> (arg))
	{
		return cm->smobbed_copy ();
	}
	return arg;
}

SCM
make_reverse_key_list (SCM keys)
{
	if (scm_is_true (Lily::key_p (keys)))
		return scm_list_1 (keys);
	if (scm_is_string (keys))
		return scm_list_1 (scm_string_to_symbol (keys));
	if (!ly_is_list (keys))
		return SCM_UNDEFINED;
	SCM res = SCM_EOL;
	for (; scm_is_pair (keys); keys = scm_cdr (keys))
	{
		SCM elt = scm_car (keys);
		if (scm_is_true (Lily::key_p (elt)))
			res = scm_cons (elt, res);
		else if (scm_is_string (elt))
			res = scm_cons (scm_string_to_symbol (elt), res);
		else return SCM_UNDEFINED;
	}
	return res;
}

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 key may be interpreted as a list of keys if it helps
	if (scm_is_true (Lily::key_p (str))) {
		str = scm_list_1 (str);
		if (scm_is_true (scm_call_1 (pred, str)))
			return str;
		return SCM_UNDEFINED;
	}

	if (!scm_is_string (str))
		return SCM_UNDEFINED;

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

	str = scm_string_to_symbol (str);

	SCM lst = scm_list_1 (str);

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

	// Try the single symbol interpretation

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

	return SCM_UNDEFINED;
}

SCM
try_word_variants (SCM pred, SCM str)
{
	// str is always a string when we come here

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

	// 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_split (scm_car (p),
						    SCM_MAKE_CHAR (',')));
	str = scm_append_x (str);
	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 == '.' || 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 (scm_is_symbol (simple))
	{
		SCM out = SCM_UNDEFINED;
		switch (parser->lexer_->scan_word (out, simple))
		{
		case DRUM_PITCH:
		{
			Music *n = MY_MAKE_MUSIC ("NoteEvent", loc);
			n->set_property ("duration", parser->default_duration_.smobbed_copy ());
			n->set_property ("drum-type", out);
			return n->unprotect ();
		}
		case NOTENAME_PITCH:
		case TONICNAME_PITCH:
			// Take the parsed pitch
			simple = out;
			break;
		// Don't scan CHORD_MODIFIER etc.
		}
	}

	if (parser->lexer_->is_note_state ()) {
		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 ();
		}
		SCM d = simple;
		if (scm_is_integer (simple))
			d = make_duration (simple);
		if (unsmob<Duration> (d)) {
			Music *n = MY_MAKE_MUSIC ("NoteEvent", loc);
			n->set_property ("duration", d);
			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, SCM factor)
{
	Duration k;

	if (Duration *dur = unsmob<Duration> (d)) {
		if (!dots && SCM_UNBNDP (factor))
			return d;
		k = *dur;
		if (dots)
			k = Duration (k.duration_log (), k.dot_count () + dots)
				.compressed (k.factor ());
	} else {
		int t = scm_to_int (d);
		if (t > 0 && (t & (t-1)) == 0)
			k = Duration (intlog2 (t), dots);
		else
			return SCM_UNDEFINED;
	}

	if (!SCM_UNBNDP (factor))
		k = k.compressed (ly_scm2rational (factor));

	return k.smobbed_copy ();
}

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