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


/* Substitute the variable and function names.  */
#define yyparse         cssyyparse
#define yylex           cssyylex
#define yyerror         cssyyerror
#define yydebug         cssyydebug
#define yynerrs         cssyynerrs


/* Copy the first part of user declarations.  */
#line 1 "generated/CSSGrammar.y" /* yacc.c:339  */


/*
 *  Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org)
 *  Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
 *  Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
 *  Copyright (C) 2008 Eric Seidel <eric@webkit.org>
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#include "config.h"

#include "CSSParser.h"
#include "CSSParserMode.h"
#include "CSSPrimitiveValue.h"
#include "CSSPropertyNames.h"
#include "CSSSelector.h"
#include "CSSSelectorList.h"
#include "Document.h"
#include "HTMLNames.h"
#include "MediaList.h"
#include "MediaQueryExp.h"
#include "StyleRule.h"
#include "StyleSheetContents.h"
#include "WebKitCSSKeyframeRule.h"
#include "WebKitCSSKeyframesRule.h"
#include <wtf/FastMalloc.h>
#include <stdlib.h>
#include <string.h>

using namespace WebCore;
using namespace HTMLNames;

#define YYMALLOC fastMalloc
#define YYFREE fastFree

#define YYENABLE_NLS 0
#define YYLTYPE_IS_TRIVIAL 1
#define YYMAXDEPTH 10000
#define YYDEBUG 0

#if YYDEBUG > 0
#define YYPRINT(File,Type,Value) print_token_value(File,Type,Value)
static void print_token_value(FILE * yyoutput, int yytype, YYSTYPE const &yyvalue)
{
    switch (yytype) {
    case IDENT:
    case STRING:
    case NTH:
    case HEX:
    case IDSEL:
    case DIMEN:
    case INVALIDDIMEN:
    case URI:
    case FUNCTION:
    case ANYFUNCTION:
    case NOTFUNCTION:
    case CALCFUNCTION:
    case MINFUNCTION:
    case MAXFUNCTION:
    case VAR_DEFINITION:
    case UNICODERANGE:
        YYFPRINTF(yyoutput, "%s", String(yyvalue.string).utf8().data());
        break;
    default:
        break;
    }
}
#endif


#line 158 "generated/CSSGrammar.cpp" /* 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 0
#endif

/* In a future release of Bison, this section will be replaced
   by #include "CSSGrammar.hpp".  */
#ifndef YY_CSSYY_GENERATED_CSSGRAMMAR_HPP_INCLUDED
# define YY_CSSYY_GENERATED_CSSGRAMMAR_HPP_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int cssyydebug;
#endif

/* Token type.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    TOKEN_EOF = 0,
    LOWEST_PREC = 258,
    UNIMPORTANT_TOK = 259,
    WHITESPACE = 260,
    SGML_CD = 261,
    INCLUDES = 262,
    DASHMATCH = 263,
    BEGINSWITH = 264,
    ENDSWITH = 265,
    CONTAINS = 266,
    STRING = 267,
    IDENT = 268,
    NTH = 269,
    HEX = 270,
    IDSEL = 271,
    IMPORT_SYM = 272,
    PAGE_SYM = 273,
    MEDIA_SYM = 274,
    FONT_FACE_SYM = 275,
    CHARSET_SYM = 276,
    NAMESPACE_SYM = 277,
    VARFUNCTION = 278,
    WEBKIT_RULE_SYM = 279,
    WEBKIT_DECLS_SYM = 280,
    WEBKIT_KEYFRAME_RULE_SYM = 281,
    WEBKIT_KEYFRAMES_SYM = 282,
    WEBKIT_VALUE_SYM = 283,
    WEBKIT_MEDIAQUERY_SYM = 284,
    WEBKIT_SELECTOR_SYM = 285,
    WEBKIT_REGION_RULE_SYM = 286,
    WEBKIT_VIEWPORT_RULE_SYM = 287,
    TOPLEFTCORNER_SYM = 288,
    TOPLEFT_SYM = 289,
    TOPCENTER_SYM = 290,
    TOPRIGHT_SYM = 291,
    TOPRIGHTCORNER_SYM = 292,
    BOTTOMLEFTCORNER_SYM = 293,
    BOTTOMLEFT_SYM = 294,
    BOTTOMCENTER_SYM = 295,
    BOTTOMRIGHT_SYM = 296,
    BOTTOMRIGHTCORNER_SYM = 297,
    LEFTTOP_SYM = 298,
    LEFTMIDDLE_SYM = 299,
    LEFTBOTTOM_SYM = 300,
    RIGHTTOP_SYM = 301,
    RIGHTMIDDLE_SYM = 302,
    RIGHTBOTTOM_SYM = 303,
    ATKEYWORD = 304,
    IMPORTANT_SYM = 305,
    MEDIA_ONLY = 306,
    MEDIA_NOT = 307,
    MEDIA_AND = 308,
    REMS = 309,
    QEMS = 310,
    EMS = 311,
    EXS = 312,
    PXS = 313,
    CMS = 314,
    MMS = 315,
    INS = 316,
    PTS = 317,
    PCS = 318,
    DEGS = 319,
    RADS = 320,
    GRADS = 321,
    TURNS = 322,
    MSECS = 323,
    SECS = 324,
    HERTZ = 325,
    KHERTZ = 326,
    DIMEN = 327,
    INVALIDDIMEN = 328,
    PERCENTAGE = 329,
    FLOATTOKEN = 330,
    INTEGER = 331,
    VW = 332,
    VH = 333,
    VMIN = 334,
    DPPX = 335,
    DPI = 336,
    DPCM = 337,
    URI = 338,
    FUNCTION = 339,
    ANYFUNCTION = 340,
    NOTFUNCTION = 341,
    CALCFUNCTION = 342,
    MINFUNCTION = 343,
    MAXFUNCTION = 344,
    VAR_DEFINITION = 345,
    UNICODERANGE = 346
  };
#endif

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED

union YYSTYPE
{
#line 89 "generated/CSSGrammar.y" /* yacc.c:355  */

    bool boolean;
    char character;
    int integer;
    double number;
    CSSParserString string;
    StyleRuleBase* rule;
    Vector<RefPtr<StyleRuleBase> >* ruleList;
    CSSParserSelector* selector;
    Vector<OwnPtr<CSSParserSelector> >* selectorList;
    CSSSelector::MarginBoxType marginBox;
    CSSSelector::Relation relation;
    MediaQuerySet* mediaList;
    MediaQuery* mediaQuery;
    MediaQuery::Restrictor mediaQueryRestrictor;
    MediaQueryExp* mediaQueryExp;
    CSSParserValue value;
    CSSParserValueList* valueList;
    Vector<OwnPtr<MediaQueryExp> >* mediaQueryExpList;
    StyleKeyframe* keyframe;
    Vector<RefPtr<StyleKeyframe> >* keyframeRuleList;
    float val;
    CSSPropertyID id;

#line 316 "generated/CSSGrammar.cpp" /* yacc.c:355  */
};

typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif



int cssyyparse (CSSParser* parser);

#endif /* !YY_CSSYY_GENERATED_CSSGRAMMAR_HPP_INCLUDED  */

/* Copy the second part of user declarations.  */
#line 113 "generated/CSSGrammar.y" /* yacc.c:358  */

static inline int cssyyerror(void*, const char*)
{
    return 1;
}

#line 338 "generated/CSSGrammar.cpp" /* 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 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;
};

/* 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)) \
      + 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  21
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST   1953

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  112
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  105
/* YYNRULES -- Number of rules.  */
#define YYNRULES  315
/* YYNSTATES -- Number of states.  */
#define YYNSTATES  603

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

#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,     2,     2,   110,     2,   111,     2,     2,
     100,   101,    20,   103,   102,   106,    18,   109,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,    17,    99,
       2,   108,   105,     2,     2,     2,     2,     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,   107,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,    97,    21,    98,   104,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
       5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
      15,    16,    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
};

#if YYDEBUG
  /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_uint16 yyrline[] =
{
       0,   294,   294,   295,   296,   297,   298,   299,   300,   303,
     308,   313,   317,   328,   333,   341,   342,   344,   345,   346,
     348,   349,   353,   354,   357,   364,   366,   370,   373,   377,
     378,   384,   385,   386,   387,   388,   389,   390,   391,   394,
     397,   398,   399,   402,   403,   413,   414,   415,   416,   419,
     420,   421,   422,   423,   424,   427,   433,   438,   441,   444,
     448,   452,   458,   462,   465,   468,   473,   474,   477,   478,
     481,   486,   489,   494,   504,   508,   514,   517,   522,   525,
     528,   533,   537,   543,   546,   549,   554,   561,   566,   571,
     576,   581,   584,   587,   593,   598,   603,   608,   609,   612,
     613,   620,   625,   629,   636,   637,   649,   654,   664,   668,
     674,   679,   686,   691,   697,   698,   701,   701,   708,   711,
     714,   717,   720,   723,   726,   729,   732,   735,   738,   741,
     744,   747,   750,   753,   758,   763,   767,   771,   777,   787,
     792,   802,   803,   804,   807,   808,   811,   812,   815,   820,
     825,   830,   835,   843,   851,   856,   861,   864,   868,   881,
     893,   898,   899,   900,   903,   907,   912,   917,   921,   926,
     933,   940,   947,   952,   958,   964,   967,   973,   978,   985,
     996,   997,   998,  1001,  1010,  1018,  1023,  1029,  1034,  1042,
    1045,  1048,  1051,  1054,  1057,  1062,  1063,  1066,  1076,  1085,
    1094,  1107,  1116,  1125,  1142,  1157,  1160,  1165,  1168,  1171,
    1174,  1177,  1182,  1186,  1189,  1192,  1196,  1199,  1205,  1209,
    1215,  1219,  1235,  1239,  1244,  1249,  1253,  1258,  1263,  1268,
    1273,  1274,  1277,  1281,  1294,  1297,  1300,  1305,  1308,  1311,
    1316,  1317,  1318,  1319,  1324,  1325,  1326,  1327,  1328,  1329,
    1330,  1332,  1335,  1338,  1341,  1346,  1347,  1348,  1349,  1350,
    1351,  1352,  1353,  1354,  1355,  1356,  1357,  1358,  1359,  1360,
    1361,  1362,  1363,  1364,  1365,  1366,  1373,  1374,  1375,  1376,
    1377,  1378,  1381,  1389,  1397,  1406,  1416,  1417,  1419,  1422,
    1425,  1428,  1431,  1436,  1450,  1454,  1466,  1478,  1479,  1484,
    1487,  1500,  1508,  1513,  1516,  1521,  1529,  1534,  1537,  1542,
    1545,  1550,  1555,  1558,  1563,  1564
};
#endif

#if YYDEBUG || YYERROR_VERBOSE || 0
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
static const char *const yytname[] =
{
  "TOKEN_EOF", "error", "$undefined", "LOWEST_PREC", "UNIMPORTANT_TOK",
  "WHITESPACE", "SGML_CD", "INCLUDES", "DASHMATCH", "BEGINSWITH",
  "ENDSWITH", "CONTAINS", "STRING", "IDENT", "NTH", "HEX", "IDSEL", "':'",
  "'.'", "'['", "'*'", "'|'", "IMPORT_SYM", "PAGE_SYM", "MEDIA_SYM",
  "FONT_FACE_SYM", "CHARSET_SYM", "NAMESPACE_SYM", "VARFUNCTION",
  "WEBKIT_RULE_SYM", "WEBKIT_DECLS_SYM", "WEBKIT_KEYFRAME_RULE_SYM",
  "WEBKIT_KEYFRAMES_SYM", "WEBKIT_VALUE_SYM", "WEBKIT_MEDIAQUERY_SYM",
  "WEBKIT_SELECTOR_SYM", "WEBKIT_REGION_RULE_SYM",
  "WEBKIT_VIEWPORT_RULE_SYM", "TOPLEFTCORNER_SYM", "TOPLEFT_SYM",
  "TOPCENTER_SYM", "TOPRIGHT_SYM", "TOPRIGHTCORNER_SYM",
  "BOTTOMLEFTCORNER_SYM", "BOTTOMLEFT_SYM", "BOTTOMCENTER_SYM",
  "BOTTOMRIGHT_SYM", "BOTTOMRIGHTCORNER_SYM", "LEFTTOP_SYM",
  "LEFTMIDDLE_SYM", "LEFTBOTTOM_SYM", "RIGHTTOP_SYM", "RIGHTMIDDLE_SYM",
  "RIGHTBOTTOM_SYM", "ATKEYWORD", "IMPORTANT_SYM", "MEDIA_ONLY",
  "MEDIA_NOT", "MEDIA_AND", "REMS", "QEMS", "EMS", "EXS", "PXS", "CMS",
  "MMS", "INS", "PTS", "PCS", "DEGS", "RADS", "GRADS", "TURNS", "MSECS",
  "SECS", "HERTZ", "KHERTZ", "DIMEN", "INVALIDDIMEN", "PERCENTAGE",
  "FLOATTOKEN", "INTEGER", "VW", "VH", "VMIN", "DPPX", "DPI", "DPCM",
  "URI", "FUNCTION", "ANYFUNCTION", "NOTFUNCTION", "CALCFUNCTION",
  "MINFUNCTION", "MAXFUNCTION", "VAR_DEFINITION", "UNICODERANGE", "'{'",
  "'}'", "';'", "'('", "')'", "','", "'+'", "'~'", "'>'", "'-'", "']'",
  "'='", "'/'", "'#'", "'%'", "$accept", "stylesheet", "webkit_rule",
  "webkit_keyframe_rule", "webkit_decls", "webkit_value",
  "webkit_mediaquery", "webkit_selector", "maybe_space", "maybe_sgml",
  "maybe_charset", "closing_brace", "charset", "ignored_charset",
  "rule_list", "valid_rule", "rule", "block_rule_list", "block_valid_rule",
  "block_rule", "at_import_header_end_maybe_space", "before_import_rule",
  "import", "namespace", "maybe_ns_prefix", "string_or_uri",
  "media_feature", "maybe_media_value", "media_query_exp",
  "media_query_exp_list", "maybe_and_media_query_exp_list",
  "maybe_media_restrictor", "media_query", "maybe_media_list",
  "media_list", "at_rule_body_start", "before_media_rule",
  "at_rule_header_end_maybe_space", "media", "medium",
  "before_keyframes_rule", "keyframes", "keyframe_name", "keyframes_rule",
  "keyframe_rule", "key_list", "key", "before_page_rule", "page",
  "page_selector", "declarations_and_margins", "margin_box", "$@1",
  "margin_sym", "before_font_face_rule", "font_face", "region_selector",
  "before_region_rule", "region", "combinator", "maybe_unary_operator",
  "unary_operator", "maybe_space_before_declaration",
  "before_selector_list", "at_rule_header_end", "ruleset", "selector_list",
  "selector_with_trailing_whitespace", "selector", "namespace_selector",
  "simple_selector", "simple_selector_list", "element_name",
  "specifier_list", "specifier", "class", "attr_name", "attrib", "match",
  "ident_or_string", "pseudo_page", "pseudo", "declaration_list",
  "decl_list", "declaration", "property", "prio", "expr", "operator",
  "term", "unary_term", "function", "calc_func_term", "calc_func_operator",
  "calc_func_paren_expr", "calc_func_expr", "calc_func_expr_list",
  "calc_function", "min_or_max", "min_or_max_function", "save_block",
  "invalid_at", "invalid_rule", "invalid_block", "invalid_block_list", 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,   263,   264,
     265,   266,   267,   268,   269,   270,   271,    58,    46,    91,
      42,   124,   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,   123,   125,    59,
      40,    41,    44,    43,   126,    62,    45,    93,    61,    47,
      35,    37
};
# endif

#define YYPACT_NINF -515

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

#define YYTABLE_NINF -301

#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[] =
{
     609,   -52,   -41,   -24,    82,   191,   104,   243,  -515,  -515,
    -515,  -515,  -515,  -515,    42,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,   200,   200,   200,   200,   200,   200,  -515,   381,
    -515,  -515,   530,   200,   335,   205,  1303,   259,   566,   160,
      50,   435,   408,  -515,   224,  -515,  -515,   206,  -515,   234,
    -515,   279,  -515,   245,  -515,   273,  -515,   585,  -515,   339,
    -515,  -515,   313,   246,  1747,   382,    57,  -515,  -515,  -515,
    -515,  -515,  -515,   285,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  1188,  1118,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,   124,  -515,   291,   398,
    -515,  -515,   415,   389,  -515,   404,  -515,   122,   585,   179,
     599,  -515,   499,   472,  -515,  -515,  -515,  -515,   428,  -515,
    -515,  -515,  -515,  -515,  1899,   385,   360,   247,   405,  -515,
    -515,   386,   208,   450,    71,  -515,  -515,   460,   200,   200,
    -515,  -515,   395,   363,  1767,  -515,  1667,  -515,  -515,  -515,
     249,   199,  -515,   200,   200,   200,   391,   200,   200,   200,
     200,   200,   200,   200,   200,   200,   200,   200,   200,   200,
     200,   200,   200,   200,   200,   200,   200,   200,   200,   200,
     200,   200,   200,   200,   200,   200,  1218,  1393,   200,   200,
     200,  -515,  -515,  -515,  -515,  -515,  -515,  1568,   608,  1442,
     299,   242,  -515,  -515,  -515,   462,  -515,  -515,  -515,  -515,
     465,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,   585,  -515,  -515,   499,   528,   934,  -515,  -515,   181,
     115,   429,  -515,   529,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,   103,  -515,   401,   200,   103,   319,   413,   187,
     423,   494,   426,   200,   451,   585,   452,   200,   439,  1303,
    -515,   533,  -515,   429,   200,  -515,   200,   812,  -515,  -515,
    -515,   394,  -515,  -515,   912,  -515,  -515,  -515,  1273,  -515,
    -515,  -515,   240,   200,   200,   200,  -515,   429,  -515,   166,
     400,  -515,  -515,  -515,   492,  -515,    36,   566,   566,   398,
     404,   538,    56,   566,   200,   200,   200,  -515,   943,  -515,
    -515,  -515,   557,  -515,  -515,   251,   440,   435,   200,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,   143,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,   542,   547,  -515,  -515,  -515,  -515,
    -515,  -515,   156,  -515,  -515,  -515,   712,   200,   443,   200,
     200,  1568,   712,   379,   205,  -515,   200,  -515,  -515,   434,
    1492,  -515,   200,  -515,  -515,  -515,   556,   558,  -515,  1807,
    -515,  -515,   259,   200,   459,  -515,  -515,  -515,  -515,   483,
    -515,    31,  -515,   200,  -515,   361,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,   355,   181,  -515,  -515,  -515,  -515,
     256,   322,  -515,  -515,   468,  -515,   471,  -515,  -515,   481,
    -515,   495,  -515,   200,  -515,  -515,  -515,   712,  1685,   482,
    -515,   200,   200,   488,   211,   200,   200,  -515,  -515,   200,
    -515,  -515,   200,  1492,  -515,  -515,  -515,  -515,   259,    39,
     126,  -515,  -515,   237,   172,  -515,  -515,   437,  -515,   260,
    -515,  -515,   118,   189,   259,  -515,   200,  -515,  -515,   335,
    -515,   335,   200,   200,  -515,  -515,  -515,  -515,   218,   231,
     193,   200,   410,   124,  -515,  -515,   230,  -515,  -515,  -515,
     437,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    1142,  -515,  -515,   110,  -515,   110,   200,  -515,  -515,   490,
    -515,   566,  -515,    34,   200,   181,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,   200,
     335,  -515,   200,  -515,   200,  1303,  -515,  -515,    43,  -515,
    1142,  -515,   435,    40,  1012,  -515,  1142,  1015,   200,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,
    -515,  -515,  -515,   200,   200,   379,  -515,  -515,   183,  -515,
     379,   110,  -515
};

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

  /* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
    -515,  -515,  -515,  -515,  -515,  -515,  -515,  -515,     0,  -264,
    -515,  -238,  -515,  -515,  -515,   441,  -515,  -483,  -515,  -515,
    -515,  -515,    -9,    -7,  -515,   318,  -515,  -515,   195,   139,
    -515,  -343,   -36,  -515,   180,  -316,  -515,  -155,    -6,  -515,
    -515,    -2,  -515,  -515,    47,  -515,   238,  -515,    -1,  -515,
    -515,  -515,  -515,  -515,  -515,     1,  -515,  -515,  -515,  -515,
     298,   -32,   -59,  -515,   -43,     2,   -51,  -515,   294,   388,
    -134,  -515,   497,  -105,  -119,  -515,   303,  -515,   220,   131,
     300,  -515,  -367,  -515,   598,  -515,  -252,  -178,  -515,   438,
    -101,  -515,   267,  -515,   287,  -224,  -515,  -515,  -515,  -515,
    -514,   545,   549,   163,   -37
};

  /* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
      -1,     7,     8,     9,    10,    11,    12,    13,    33,    41,
      30,   536,    31,   264,   154,    43,   266,   520,   537,   538,
     276,    44,   539,   540,   272,   351,   467,   529,   125,   126,
     406,   127,   355,   482,   356,   435,    47,   278,   541,   324,
      49,   542,   361,   563,    70,    71,    72,    51,   543,   366,
     564,   590,   596,   591,    53,   544,   371,    55,    56,   251,
      73,   115,    34,    57,   286,   545,   137,   138,   139,   140,
     141,   411,   142,   143,   144,   145,   332,   146,   423,   513,
     367,   147,    63,    64,    65,    66,   445,   116,   227,   117,
     118,   119,   310,   399,   311,   312,   320,   120,   121,   122,
     546,   547,   548,   166,   228
};

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

static const yytype_int16 yycheck[] =
{
       0,    37,   266,    35,   138,   229,    57,   162,     8,     9,
      10,    11,    12,    13,   115,    15,   383,    17,    18,    19,
      20,   259,    59,    32,   143,    32,    32,    64,    65,    29,
      32,    32,     1,    32,    32,   140,     5,   142,   216,     5,
       0,     5,    42,    43,     5,    97,   560,     5,     5,    13,
      14,   534,   566,    13,   370,     5,    97,   373,     1,   402,
      60,    61,    12,     7,     8,     9,    10,    11,    26,   552,
      70,    71,     1,    97,    17,    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,
       0,   289,   112,   113,   114,    12,   217,   251,     0,   297,
       5,   121,   489,     1,   491,   468,   126,   127,   229,     5,
     382,     5,   101,   102,   134,   172,   255,   256,    98,   103,
     101,   107,   106,   103,     1,   154,   106,   154,   154,   254,
     107,   151,   154,   154,    97,   154,   154,     1,   158,   159,
     160,   161,   162,   107,   108,   165,   390,     1,    97,   485,
     170,   487,   488,   102,   490,   175,   176,     5,   178,    97,
       1,     0,    58,   550,     5,   217,    20,   425,     5,     0,
       1,    88,     5,   327,   328,   447,     5,   229,     5,    12,
      13,    97,    39,   381,     5,     5,   361,   308,    98,     1,
       5,   366,     1,     5,    99,    97,     5,    99,    13,   338,
      98,   221,   259,     5,   102,   225,   226,   101,   595,    66,
      24,    20,     1,   600,   285,     5,   236,   237,   238,   463,
      97,     1,     5,     0,   244,   102,    22,     5,   248,   249,
     250,    20,     5,    97,     5,    13,     5,    97,   102,    99,
      20,     5,   262,    12,     5,     5,    32,   101,   102,   103,
      25,   271,   106,   101,   538,   109,    97,    98,    97,    98,
      97,   102,   103,   104,   105,   523,    97,   525,    99,   390,
     290,   102,   292,   100,   326,   295,    97,   535,   399,   299,
     300,   102,    23,   303,     5,    97,   306,   307,   103,    36,
     310,   106,   101,   356,   103,    56,    57,   106,   155,   101,
     109,   321,   322,   323,     5,   563,   564,     5,   371,   329,
      17,   101,   101,   102,   103,    13,     1,   106,   101,   102,
     109,   101,   100,   103,    98,    98,   106,    98,    13,   109,
      99,   351,   384,    97,   354,    99,     1,    58,   390,    99,
       5,   361,   463,   601,    79,     5,   366,   399,     7,     8,
       9,    10,    11,    13,   374,    56,    57,   555,    56,    57,
       1,   440,     1,   442,     5,   385,     5,     1,   388,    98,
      55,     5,    13,    12,   394,   395,     5,   531,   398,    13,
     400,   401,    13,    17,    13,   405,     1,   407,   408,     1,
       5,   411,   412,     5,   414,     5,    97,    12,    99,    21,
      12,    13,   100,   423,   261,    21,   426,    17,    13,     1,
      95,   463,    17,   433,    55,   435,    97,   274,    99,     5,
       5,     6,     5,   280,   444,   282,   446,    13,   484,    12,
      13,   288,    97,    98,   454,     5,   293,   102,   103,   104,
     105,     1,    99,   522,     5,   465,   466,   467,   107,   108,
       5,   471,    13,     1,    95,    13,   476,     5,    13,    97,
     317,    99,    97,    97,    99,    20,    21,    15,    16,    17,
      18,    19,    97,    88,    99,   101,    88,   497,    97,     5,
      99,   101,   102,   503,    89,    90,    91,    13,   508,   346,
      97,    17,    99,   513,    15,    16,    17,    18,    19,   519,
      97,   521,    99,    97,   524,    99,    97,   527,   528,     1,
       1,   563,   532,     5,     1,     5,    97,    97,    99,    99,
      97,   378,    99,    15,    16,    17,    18,    19,    97,    97,
      58,    13,    22,    23,    24,    25,   556,    27,     1,    17,
      13,     5,    32,     5,    81,    97,    36,   567,    97,    97,
      98,     5,   572,   101,   102,   103,   104,   105,    97,    13,
      98,    15,    16,    17,    18,    19,    20,    21,   425,   101,
     590,   101,    97,   430,   276,   154,   596,   402,    13,   599,
      15,    16,    17,    18,    19,    20,    21,   468,     0,     1,
     563,   431,    13,     5,    15,    16,    17,    18,    19,    20,
      12,    13,   384,    15,   326,    97,    98,   333,   240,   101,
     102,   103,   104,   105,   331,   415,    28,   140,    29,    30,
      31,   510,    33,    34,    35,   482,    38,    39,    40,    41,
      42,    43,    44,    45,    46,    47,    48,    49,    50,    51,
      52,    53,    64,    55,   364,   227,   399,    59,    60,    61,
      62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
      72,    73,    74,    75,    76,    77,   399,    79,    80,    81,
      82,    83,    84,    85,    86,    87,    88,    89,   535,   154,
      92,    93,    94,   154,    96,    97,    98,    99,    -1,   101,
     102,   103,     0,     1,   106,    -1,    -1,   109,   110,   111,
      -1,    -1,    -1,    -1,    12,    13,    -1,    15,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      28,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      38,    39,    40,    41,    42,    43,    44,    45,    46,    47,
      48,    49,    50,    51,    52,    53,    -1,    55,    -1,    -1,
      -1,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
      -1,    79,    80,    81,    82,    83,    84,    85,    86,    87,
      88,    89,    -1,    -1,    92,    93,    94,    -1,    96,    97,
      98,    99,     0,     1,   102,   103,    -1,     5,   106,    -1,
      -1,   109,   110,   111,    12,    13,    -1,    15,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      28,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      38,    39,    40,    41,    42,    43,    44,    45,    46,    47,
      48,    49,    50,    51,    52,    53,    -1,    -1,    -1,    -1,
      -1,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
      -1,    79,    80,    81,    82,    83,    84,    85,    86,    87,
      88,    89,    -1,    -1,    92,    93,    94,    -1,    96,    97,
      98,    99,     0,     1,    -1,   103,    -1,    -1,   106,    -1,
      -1,    -1,   110,   111,    12,    13,    -1,    15,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,     1,    -1,    -1,    -1,     5,
      28,    -1,    -1,    -1,     1,    -1,    -1,    -1,     5,    15,
      16,    17,    18,    19,    -1,    -1,    -1,    -1,    15,    16,
      17,    18,    19,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
      -1,    79,    80,    81,    82,    83,    84,    85,    86,    87,
      88,    89,    -1,    -1,    92,    93,    94,    -1,    96,    97,
      -1,    -1,     0,   101,   102,   103,     1,    -1,   106,    -1,
       5,   109,   110,   111,    -1,    -1,    -1,    12,    13,    -1,
      15,    97,    98,    -1,    -1,   101,   102,   103,   104,   105,
      97,    98,    -1,    28,   101,   102,   103,   104,   105,    -1,
      38,    39,    40,    41,    42,    43,    44,    45,    46,    47,
      48,    49,    50,    51,    52,    53,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    59,    60,    61,    62,    63,    64,
      65,    66,    67,    68,    69,    70,    71,    72,    73,    74,
      75,    76,    77,    -1,    79,    80,    81,    82,    83,    84,
      85,    86,    87,    88,    89,    -1,    -1,    92,    93,    94,
      98,    96,    97,    -1,    -1,    -1,   101,   102,   103,     1,
      -1,   106,    -1,    -1,   109,   110,   111,    -1,    -1,    -1,
      12,    13,    -1,    15,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,     0,     1,    -1,    -1,    28,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    13,    -1,    15,    16,    17,
      18,    19,    20,    21,    22,    23,    24,    25,    -1,    27,
      -1,    -1,    -1,    -1,    32,    -1,    -1,    59,    60,    61,
      62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
      72,    73,    74,    75,    76,    77,    54,    79,    80,    81,
      82,    83,    84,    85,    86,    87,    88,    89,    -1,    -1,
      92,    93,    94,    -1,    96,    97,    98,    -1,    -1,     1,
     102,   103,    -1,     5,   106,    -1,    -1,   109,   110,   111,
      12,    13,    -1,    15,    -1,    -1,    -1,    -1,    -1,    -1,
      98,    -1,    -1,    -1,    -1,    -1,    28,    59,    60,    61,
      62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
      72,    73,    74,    75,    76,    77,    -1,    79,    80,    81,
      82,    83,    84,    85,    86,    87,    -1,    59,    60,    61,
      62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
      72,    73,    74,    75,    76,    77,    -1,    79,    80,    81,
      82,    83,    84,    85,    86,    87,    88,    89,     5,    -1,
      92,    93,    94,    -1,    96,    12,    13,    -1,    15,   101,
      -1,   103,    -1,    -1,   106,    -1,    -1,    -1,   110,   111,
      -1,    28,    59,    60,    61,    62,    63,    64,    65,    66,
      67,    68,    69,    70,    71,    72,    73,    74,    75,    76,
      -1,    -1,    79,    80,    81,    82,    83,    84,    85,    86,
      87,    -1,    59,    60,    61,    62,    63,    64,    65,    66,
      67,    68,    69,    70,    71,    72,    73,    74,    75,    76,
      77,    -1,    79,    80,    81,    82,    83,    84,    85,    86,
      87,    88,    89,    -1,     1,    92,    93,    94,     5,    96,
      -1,    -1,    -1,    -1,    -1,    -1,   103,    -1,    -1,   106,
      -1,    -1,    -1,   110,   111,    -1,    -1,    -1,    -1,    -1,
      -1,    28,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,     1,    -1,    -1,    -1,     5,    -1,    -1,
      -1,    -1,    59,    60,    61,    62,    63,    64,    65,    66,
      67,    68,    69,    70,    71,    72,    73,    74,    75,    76,
      28,    -1,    79,    80,    81,    82,    83,    84,    85,    86,
      87,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,   100,    -1,    -1,   103,     5,    -1,   106,
      -1,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    -1,
      28,    79,    80,    81,    82,    83,    84,    85,    86,    87,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,   100,    -1,    -1,   103,    -1,    -1,   106,    -1,
      -1,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    -1,
      -1,    79,    80,    81,    82,    83,    84,    85,    86,    87,
      12,    13,    -1,    15,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,   100,    -1,    -1,   103,    28,    -1,   106,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    59,    60,    61,
      62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
      72,    73,    74,    75,    76,    77,    -1,    79,    80,    81,
      82,    83,    84,    85,    86,    87,    88,    89,    -1,    -1,
      92,    93,    94,    -1,    96,    -1,    -1,     0,     1,    -1,
      -1,   103,     5,    -1,   106,    -1,    -1,    -1,   110,   111,
      13,    -1,    -1,    -1,    -1,     0,     1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    38,    39,    40,    41,    42,
      43,    44,    45,    46,    47,    48,    49,    50,    51,    52,
      53,    -1,    55,    38,    39,    40,    41,    42,    43,    44,
      45,    46,    47,    48,    49,    50,    51,    52,    53,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,     0,     1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      13,    -1,    95,    -1,    97,    98,    99,     0,     1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    97,    98,    99,    38,    39,    40,    41,    42,
      43,    44,    45,    46,    47,    48,    49,    50,    51,    52,
      53,    -1,    55,    -1,    -1,    38,    39,    40,    41,    42,
      43,    44,    45,    46,    47,    48,    49,    50,    51,    52,
      53,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    28,    -1,    -1,    -1,    -1,
      -1,    -1,    95,    -1,    97,    98,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    98,    59,    60,    61,    62,
      63,    64,    65,    66,    67,    68,    69,    70,    71,    72,
      73,    74,    75,    76,    -1,    -1,    79,    80,    81,    82,
      83,    84,    85,    86,    87,    -1,    -1,    -1,    -1,     0,
       1,    -1,    -1,    -1,    -1,    -1,    -1,   100,    -1,    -1,
     103,    -1,    13,   106,    15,    16,    17,    18,    19,    20,
      21,    22,    23,    24,    25,    26,    27,    -1,    -1,    -1,
      -1,    32,    -1,    -1,    -1,    36,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    54
};

  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
     symbol of state STATE-NUM.  */
static const yytype_uint8 yystos[] =
{
       0,    29,    30,    31,    33,    34,    35,   113,   114,   115,
     116,   117,   118,   119,   120,    97,    97,    97,    97,     5,
      97,     0,   120,   120,   120,   120,   120,   120,     5,    26,
     122,   124,   120,   120,   174,   120,   120,   120,   120,     1,
     120,   121,    27,   127,   133,   134,   135,   148,   150,   152,
     153,   159,   160,   166,   167,   169,   170,   175,   177,     1,
      13,    55,    95,   194,   195,   196,   197,    13,   103,   106,
     156,   157,   158,   172,   173,    12,    13,    15,    28,    59,
      60,    61,    62,    63,    64,    65,    66,    67,    68,    69,
      70,    71,    72,    73,    74,    75,    76,    77,    79,    80,
      81,    82,    83,    84,    85,    86,    87,    88,    89,    92,
      93,    94,    96,   110,   111,   173,   199,   201,   202,   203,
     209,   210,   211,    56,    57,   140,   141,   143,   144,    13,
      15,    16,    17,    18,    19,    20,    21,   178,   179,   180,
     181,   182,   184,   185,   186,   187,   189,   193,    97,    99,
     215,    12,     5,     6,   126,     1,   120,   120,    22,    24,
      32,    23,    25,    36,   178,    99,   215,   216,   120,   120,
      17,    98,     1,   196,   216,    99,   216,     1,    17,   215,
     120,   120,    79,   120,   120,   120,   120,   120,   120,   120,
     120,   120,   120,   120,   120,   120,   120,   120,   120,   120,
     120,   120,   120,   120,   120,   120,   120,   120,   120,   120,
     120,   120,   120,   120,   120,   120,   120,   120,   120,   120,
     120,    77,   202,     1,    98,   102,   109,   200,   216,   120,
     120,   120,    98,    21,    13,    17,    89,    90,    91,    13,
     120,    21,     1,    98,   102,   182,     1,     5,   103,   104,
     105,   171,    13,    20,   184,   185,   185,     1,   186,     1,
     120,     1,    26,    54,   125,   127,   128,   213,   214,    99,
     215,    13,   136,    98,     1,   120,   132,   120,   149,   120,
       1,   120,     1,   120,   149,     5,   176,   120,     1,   120,
      99,   216,    99,     1,   120,    99,   120,   120,    98,    97,
     102,    13,     1,   101,   199,     1,    28,   100,   173,   202,
     204,   206,   207,   120,   120,   120,   201,     1,     1,   207,
     208,    58,    13,   100,   151,    13,   120,   120,   120,    13,
      20,   181,   188,   120,   120,   120,   120,   182,   185,     0,
      98,   123,   216,    99,   215,   120,     1,   121,   120,    12,
      88,   137,    99,   215,   137,   144,   146,    97,    99,    12,
      13,   154,    99,   215,    13,    17,   161,   192,    99,   215,
      97,   168,   178,    97,    99,   215,   199,   120,     1,   120,
     120,     1,   199,   120,   120,   101,   120,     0,   101,   120,
     120,   202,   120,     1,    20,   101,   103,   106,   109,   205,
     101,   102,   120,   120,   120,    58,   142,    13,    14,   172,
     182,   183,   182,   120,    13,   188,     7,     8,     9,    10,
      11,   107,   108,   190,   180,     1,    12,    99,    99,   215,
     120,   120,     1,   102,   176,   147,   149,   192,    13,   149,
     147,   176,   147,   120,    55,   198,    99,   199,   198,   194,
     158,   120,   120,    13,   207,   120,   120,     5,     5,   120,
     204,   206,   120,   120,   140,   143,    13,   138,   120,   120,
     120,    81,     1,   120,   120,   107,   190,   120,   123,   120,
      99,   215,   145,   146,   120,    97,   120,    97,    97,   174,
      97,   174,   120,   120,   198,     1,    98,   101,   120,   207,
     120,   120,   120,   141,   101,   101,   120,   101,   102,   101,
     120,    12,    13,   191,    99,     0,    99,   215,   144,   147,
     129,   147,   147,   194,   147,   194,   120,   101,    17,   139,
     101,   120,   191,   120,   120,     1,   123,   130,   131,   134,
     135,   150,   153,   160,   167,   177,   212,   213,   214,   120,
     174,   123,   120,   123,   120,   120,   101,   182,   120,   107,
     129,   123,   121,   155,   162,   194,   129,   199,   120,   107,
     212,   123,   156,    38,    39,    40,    41,    42,    43,    44,
      45,    46,    47,    48,    49,    50,    51,    52,    53,   123,
     163,   165,   212,   120,   120,   120,   164,   194,   120,    97,
     120,   194,   123
};

  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
static const yytype_uint8 yyr1[] =
{
       0,   112,   113,   113,   113,   113,   113,   113,   113,   114,
     115,   116,   117,   118,   119,   120,   120,   121,   121,   121,
     122,   122,   123,   123,   124,   124,   124,   125,   125,   126,
     126,   127,   127,   127,   127,   127,   127,   127,   127,   128,
     128,   128,   128,   129,   129,   130,   130,   130,   130,   131,
     131,   131,   131,   131,   131,   132,   133,   134,   134,   134,
     134,   134,   135,   135,   135,   135,   136,   136,   137,   137,
     138,   139,   139,   140,   141,   141,   142,   142,   143,   143,
     143,   144,   144,   145,   145,   146,   146,   146,   147,   148,
     149,   150,   150,   150,   151,   152,   153,   154,   154,   155,
     155,   156,   157,   157,   158,   158,   159,   160,   160,   160,
     161,   161,   161,   161,   162,   162,   164,   163,   165,   165,
     165,   165,   165,   165,   165,   165,   165,   165,   165,   165,
     165,   165,   165,   165,   166,   167,   167,   167,   168,   169,
     170,   171,   171,   171,   172,   172,   173,   173,   174,   175,
     176,   177,   178,   178,   178,   179,   180,   180,   180,   180,
     180,   181,   181,   181,   182,   182,   182,   182,   182,   182,
     183,   183,   183,   184,   184,   185,   185,   185,   186,   186,
     186,   186,   186,   187,   188,   189,   189,   189,   189,   190,
     190,   190,   190,   190,   190,   191,   191,   192,   193,   193,
     193,   193,   193,   193,   193,   194,   194,   194,   194,   194,
     194,   194,   195,   195,   195,   195,   195,   195,   195,   195,
     196,   196,   196,   196,   196,   196,   196,   196,   196,   197,
     198,   198,   199,   199,   199,   199,   199,   200,   200,   200,
     201,   201,   201,   201,   201,   201,   201,   201,   201,   201,
     201,   201,   201,   201,   201,   202,   202,   202,   202,   202,
     202,   202,   202,   202,   202,   202,   202,   202,   202,   202,
     202,   202,   202,   202,   202,   202,   202,   202,   202,   202,
     202,   202,   203,   203,   203,   203,   204,   204,   204,   205,
     205,   205,   205,   206,   207,   207,   207,   207,   207,   208,
     208,   209,   209,   210,   210,   211,   211,   212,   212,   213,
     213,   214,   215,   215,   216,   216
};

  /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.  */
static const yytype_uint8 yyr2[] =
{
       0,     2,     4,     2,     2,     2,     2,     2,     2,     6,
       6,     5,     5,     5,     5,     0,     2,     0,     2,     2,
       0,     1,     1,     1,     5,     3,     3,     5,     3,     0,
       3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     0,     3,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     0,     7,     7,     7,
       4,     4,     6,     6,     3,     3,     0,     2,     1,     1,
       2,     0,     4,     9,     1,     5,     0,     3,     0,     1,
       1,     1,     4,     0,     1,     1,     4,     2,     0,     0,
       1,    10,     8,     4,     2,     0,    10,     1,     1,     0,
       3,     6,     1,     5,     2,     1,     0,    10,     4,     4,
       1,     2,     1,     0,     1,     4,     0,     7,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     0,     8,     4,     4,     1,     0,
      10,     2,     2,     2,     1,     0,     1,     1,     1,     0,
       0,     8,     1,     4,     2,     2,     1,     1,     2,     3,
       2,     1,     2,     2,     1,     2,     1,     2,     3,     2,
       1,     5,     2,     1,     1,     1,     2,     2,     1,     1,
       1,     1,     1,     2,     2,     4,     8,     5,     9,     1,
       1,     1,     1,     1,     1,     1,     1,     2,     2,     3,
       6,     6,     7,     6,     6,     1,     2,     1,     3,     1,
       2,     2,     3,     3,     4,     3,     5,     4,     4,     6,
       5,     5,     2,     6,     6,     2,     3,     4,     2,     2,
       2,     0,     1,     3,     2,     3,     2,     2,     2,     0,
       1,     2,     2,     2,     2,     3,     2,     2,     2,     2,
       5,     1,     1,     1,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     5,     4,     4,     3,     1,     5,     2,     2,
       2,     2,     2,     6,     2,     3,     3,     1,     2,     1,
       4,     5,     3,     1,     1,     5,     3,     1,     2,     3,
       3,     2,     5,     3,     1,     3
};


#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 (parser, YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
    }                                                           \
while (0)

/* Error token number */
#define YYTERROR        1
#define YYERRCODE       256



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

/* This macro is provided for backward compatibility. */
#ifndef YY_LOCATION_PRINT
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif


# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
do {                                                                      \
  if (yydebug)                                                            \
    {                                                                     \
      YYFPRINTF (stderr, "%s ", Title);                                   \
      yy_symbol_print (stderr,                                            \
                  Type, Value, parser); \
      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, CSSParser* parser)
{
  FILE *yyo = yyoutput;
  YYUSE (yyo);
  YYUSE (parser);
  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, CSSParser* parser)
{
  YYFPRINTF (yyoutput, "%s %s (",
             yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);

  yy_symbol_value_print (yyoutput, yytype, yyvaluep, parser);
  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, int yyrule, CSSParser* parser)
{
  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)])
                                              , parser);
      YYFPRINTF (stderr, "\n");
    }
}

# define YY_REDUCE_PRINT(Rule)          \
do {                                    \
  if (yydebug)                          \
    yy_reduce_print (yyssp, yyvsp, Rule, parser); \
} 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, CSSParser* parser)
{
  YYUSE (yyvaluep);
  YYUSE (parser);
  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 (CSSParser* parser)
{
/* 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);

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

       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;

    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;

#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))

  /* 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;
  yystacksize = YYINITDEPTH;

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

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY; /* Cause a token to be read.  */
  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;

        /* 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),
                    &yystacksize);

        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);
#  undef YYSTACK_RELOCATE
        if (yyss1 != yyssa)
          YYSTACK_FREE (yyss1);
      }
# endif
#endif /* no yyoverflow */

      yyssp = yyss + yysize - 1;
      yyvsp = yyvs + 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, 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

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


  YY_REDUCE_PRINT (yyn);
  switch (yyn)
    {
        case 9:
#line 303 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->m_rule = (yyvsp[-2].rule);
    }
#line 2161 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 10:
#line 308 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->m_keyframe = (yyvsp[-2].keyframe);
    }
#line 2169 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 11:
#line 313 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
    }
#line 2176 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 12:
#line 317 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-1].valueList)) {
            parser->m_valueList = parser->sinkFloatingValueList((yyvsp[-1].valueList));
            int oldParsedProperties = parser->m_parsedProperties.size();
            if (!parser->parseValue(parser->m_id, parser->m_important))
                parser->rollbackLastProperties(parser->m_parsedProperties.size() - oldParsedProperties);
            parser->m_valueList = nullptr;
        }
    }
#line 2190 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 13:
#line 328 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
         parser->m_mediaQuery = parser->sinkFloatingMediaQuery((yyvsp[-1].mediaQuery));
     }
#line 2198 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 14:
#line 333 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-1].selectorList)) {
            if (parser->m_selectorListForParseSelector)
                parser->m_selectorListForParseSelector->adoptSelectorVector(*(yyvsp[-1].selectorList));
        }
    }
#line 2209 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 21:
#line 349 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
  }
#line 2216 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 24:
#line 357 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
     if (parser->m_styleSheet)
         parser->m_styleSheet->parserSetEncodingFromCharsetRule((yyvsp[-2].string));
     if (parser->isExtractingSourceData() && parser->m_currentRuleDataStack->isEmpty() && parser->m_ruleSourceDataResult)
         parser->addNewRuleToSourceTree(CSSRuleSourceData::createUnknown());
     (yyval.rule) = 0;
  }
#line 2228 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 25:
#line 364 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
  }
#line 2235 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 26:
#line 366 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
  }
#line 2242 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 27:
#line 370 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 2250 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 28:
#line 373 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 2258 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 30:
#line 378 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
     if ((yyvsp[-1].rule) && parser->m_styleSheet)
         parser->m_styleSheet->parserAppendRule((yyvsp[-1].rule));
 }
#line 2267 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 39:
#line 394 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->m_hadSyntacticallyValidCSSRule = true;
    }
#line 2275 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 43:
#line 402 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.ruleList) = 0; }
#line 2281 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 44:
#line 403 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.ruleList) = (yyvsp[-2].ruleList);
      if ((yyvsp[-1].rule)) {
          if (!(yyval.ruleList))
              (yyval.ruleList) = parser->createRuleList();
          (yyval.ruleList)->append((yyvsp[-1].rule));
      }
  }
#line 2294 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 55:
#line 427 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderEnd();
        parser->markRuleBodyStart();
    }
#line 2303 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 56:
#line 433 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::IMPORT_RULE);
    }
#line 2311 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 57:
#line 438 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createImportRule((yyvsp[-3].string), (yyvsp[-1].mediaList));
    }
#line 2319 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 58:
#line 441 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createImportRule((yyvsp[-3].string), (yyvsp[-1].mediaList));
    }
#line 2327 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 59:
#line 444 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
        parser->popRuleData();
    }
#line 2336 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 60:
#line 448 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
        parser->popRuleData();
    }
#line 2345 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 61:
#line 452 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
        parser->popRuleData();
    }
#line 2354 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 62:
#line 458 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
    parser->addNamespace((yyvsp[-3].string), (yyvsp[-2].string));
    (yyval.rule) = 0;
}
#line 2363 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 63:
#line 462 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
    (yyval.rule) = 0;
}
#line 2371 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 64:
#line 465 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
    (yyval.rule) = 0;
}
#line 2379 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 65:
#line 468 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
    (yyval.rule) = 0;
}
#line 2387 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 66:
#line 473 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.string).clear(); }
#line 2393 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 67:
#line 474 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.string) = (yyvsp[-1].string); }
#line 2399 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 70:
#line 481 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.string) = (yyvsp[-1].string);
    }
#line 2407 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 71:
#line 486 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = 0;
    }
#line 2415 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 72:
#line 489 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = (yyvsp[-1].valueList);
    }
#line 2423 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 73:
#line 494 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-8].mediaQueryRestrictor) != MediaQuery::None)
            (yyval.mediaQueryExp) = parser->createFloatingMediaQueryExp("", 0);
        else {
            (yyvsp[-4].string).lower();
            (yyval.mediaQueryExp) = parser->createFloatingMediaQueryExp((yyvsp[-4].string), (yyvsp[-2].valueList));
        }
    }
#line 2436 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 74:
#line 504 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryExpList) = parser->createFloatingMediaQueryExpList();
        (yyval.mediaQueryExpList)->append(parser->sinkFloatingMediaQueryExp((yyvsp[0].mediaQueryExp)));
    }
#line 2445 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 75:
#line 508 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryExpList) = (yyvsp[-4].mediaQueryExpList);
        (yyval.mediaQueryExpList)->append(parser->sinkFloatingMediaQueryExp((yyvsp[0].mediaQueryExp)));
    }
#line 2454 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 76:
#line 514 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryExpList) = parser->createFloatingMediaQueryExpList();
    }
#line 2462 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 77:
#line 517 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryExpList) = (yyvsp[0].mediaQueryExpList);
    }
#line 2470 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 78:
#line 522 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryRestrictor) = MediaQuery::None;
    }
#line 2478 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 79:
#line 525 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryRestrictor) = MediaQuery::Only;
    }
#line 2486 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 80:
#line 528 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQueryRestrictor) = MediaQuery::Not;
    }
#line 2494 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 81:
#line 533 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaQuery) = parser->createFloatingMediaQuery(parser->sinkFloatingMediaQueryExpList((yyvsp[0].mediaQueryExpList)));
    }
#line 2502 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 82:
#line 537 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyvsp[-1].string).lower();
        (yyval.mediaQuery) = parser->createFloatingMediaQuery((yyvsp[-3].mediaQueryRestrictor), (yyvsp[-1].string), parser->sinkFloatingMediaQueryExpList((yyvsp[0].mediaQueryExpList)));
    }
#line 2511 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 83:
#line 543 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaList) = parser->createMediaQuerySet();
     }
#line 2519 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 85:
#line 549 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaList) = parser->createMediaQuerySet();
        (yyval.mediaList)->addMediaQuery(parser->sinkFloatingMediaQuery((yyvsp[0].mediaQuery)));
        parser->updateLastMediaLine((yyval.mediaList));
    }
#line 2529 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 86:
#line 554 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaList) = (yyvsp[-3].mediaList);
        if ((yyval.mediaList)) {
            (yyval.mediaList)->addMediaQuery(parser->sinkFloatingMediaQuery((yyvsp[0].mediaQuery)));
            parser->updateLastMediaLine((yyval.mediaList));
        }
    }
#line 2541 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 87:
#line 561 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.mediaList) = 0;
    }
#line 2549 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 88:
#line 566 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleBodyStart();
    }
#line 2557 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 89:
#line 571 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::MEDIA_RULE);
    }
#line 2565 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 90:
#line 576 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderEnd();
    }
#line 2573 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 91:
#line 581 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createMediaRule((yyvsp[-6].mediaList), (yyvsp[-1].ruleList));
    }
#line 2581 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 92:
#line 584 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createMediaRule(0, (yyvsp[-1].ruleList));
    }
#line 2589 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 93:
#line 587 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
        parser->popRuleData();
    }
#line 2598 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 94:
#line 593 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.string) = (yyvsp[-1].string);
  }
#line 2606 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 95:
#line 598 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::KEYFRAMES_RULE);
    }
#line 2614 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 96:
#line 603 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createKeyframesRule((yyvsp[-6].string), parser->sinkFloatingKeyframeVector((yyvsp[-1].keyframeRuleList)));
    }
#line 2622 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 99:
#line 612 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.keyframeRuleList) = parser->createFloatingKeyframeVector(); }
#line 2628 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 100:
#line 613 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.keyframeRuleList) = (yyvsp[-2].keyframeRuleList);
        if ((yyvsp[-1].keyframe))
            (yyval.keyframeRuleList)->append((yyvsp[-1].keyframe));
    }
#line 2638 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 101:
#line 620 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.keyframe) = parser->createKeyframe((yyvsp[-5].valueList));
    }
#line 2646 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 102:
#line 625 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = parser->createFloatingValueList();
        (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[0].value)));
    }
#line 2655 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 103:
#line 629 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = (yyvsp[-4].valueList);
        if ((yyval.valueList))
            (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[0].value)));
    }
#line 2665 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 104:
#line 636 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).isInt = false; (yyval.value).fValue = (yyvsp[-1].integer) * (yyvsp[0].number); (yyval.value).unit = CSSPrimitiveValue::CSS_NUMBER; }
#line 2671 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 105:
#line 637 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.value).id = 0; (yyval.value).isInt = false; (yyval.value).unit = CSSPrimitiveValue::CSS_NUMBER;
        CSSParserString& str = (yyvsp[0].string);
        if (str.equalIgnoringCase("from"))
            (yyval.value).fValue = 0;
        else if (str.equalIgnoringCase("to"))
            (yyval.value).fValue = 100;
        else
            YYERROR;
    }
#line 2686 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 106:
#line 649 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::PAGE_RULE);
    }
#line 2694 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 107:
#line 655 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-6].selector))
            (yyval.rule) = parser->createPageRule(parser->sinkFloatingSelector((yyvsp[-6].selector)));
        else {
            parser->clearProperties();
            (yyval.rule) = 0;
            parser->popRuleData();
        }
    }
#line 2708 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 108:
#line 664 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      parser->popRuleData();
      (yyval.rule) = 0;
    }
#line 2717 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 109:
#line 668 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      parser->popRuleData();
      (yyval.rule) = 0;
    }
#line 2726 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 110:
#line 674 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setTag(QualifiedName(nullAtom, (yyvsp[0].string), parser->m_defaultNamespace));
        (yyval.selector)->setForPage();
    }
#line 2736 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 111:
#line 679 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector)) {
            (yyval.selector)->setTag(QualifiedName(nullAtom, (yyvsp[-1].string), parser->m_defaultNamespace));
            (yyval.selector)->setForPage();
        }
    }
#line 2748 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 112:
#line 686 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector))
            (yyval.selector)->setForPage();
    }
#line 2758 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 113:
#line 691 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setForPage();
    }
#line 2767 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 116:
#line 701 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->startDeclarationsForMarginBox();
    }
#line 2775 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 117:
#line 703 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createMarginAtRule((yyvsp[-6].marginBox));
    }
#line 2783 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 118:
#line 708 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::TopLeftCornerMarginBox;
    }
#line 2791 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 119:
#line 711 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::TopLeftMarginBox;
    }
#line 2799 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 120:
#line 714 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::TopCenterMarginBox;
    }
#line 2807 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 121:
#line 717 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::TopRightMarginBox;
    }
#line 2815 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 122:
#line 720 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::TopRightCornerMarginBox;
    }
#line 2823 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 123:
#line 723 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::BottomLeftCornerMarginBox;
    }
#line 2831 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 124:
#line 726 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::BottomLeftMarginBox;
    }
#line 2839 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 125:
#line 729 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::BottomCenterMarginBox;
    }
#line 2847 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 126:
#line 732 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::BottomRightMarginBox;
    }
#line 2855 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 127:
#line 735 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::BottomRightCornerMarginBox;
    }
#line 2863 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 128:
#line 738 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::LeftTopMarginBox;
    }
#line 2871 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 129:
#line 741 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::LeftMiddleMarginBox;
    }
#line 2879 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 130:
#line 744 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::LeftBottomMarginBox;
    }
#line 2887 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 131:
#line 747 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::RightTopMarginBox;
    }
#line 2895 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 132:
#line 750 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::RightMiddleMarginBox;
    }
#line 2903 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 133:
#line 753 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.marginBox) = CSSSelector::RightBottomMarginBox;
    }
#line 2911 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 134:
#line 758 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::FONT_FACE_RULE);
    }
#line 2919 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 135:
#line 764 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createFontFaceRule();
    }
#line 2927 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 136:
#line 767 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.rule) = 0;
      parser->popRuleData();
    }
#line 2936 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 137:
#line 771 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.rule) = 0;
      parser->popRuleData();
    }
#line 2945 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 138:
#line 777 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[0].selectorList)) {
            parser->setReusableRegionSelectorVector((yyvsp[0].selectorList));
            (yyval.selectorList) = parser->reusableRegionSelectorVector();
        }
        else
            (yyval.selectorList) = 0;
    }
#line 2958 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 139:
#line 787 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::REGION_RULE);
    }
#line 2966 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 140:
#line 792 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-6].selectorList))
            (yyval.rule) = parser->createRegionRule((yyvsp[-6].selectorList), (yyvsp[-1].ruleList));
        else {
            (yyval.rule) = 0;
            parser->popRuleData();
        }
    }
#line 2979 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 141:
#line 802 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.relation) = CSSSelector::DirectAdjacent; }
#line 2985 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 142:
#line 803 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.relation) = CSSSelector::IndirectAdjacent; }
#line 2991 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 143:
#line 804 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.relation) = CSSSelector::Child; }
#line 2997 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 144:
#line 807 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.integer) = (yyvsp[0].integer); }
#line 3003 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 145:
#line 808 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.integer) = 1; }
#line 3009 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 146:
#line 811 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.integer) = -1; }
#line 3015 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 147:
#line 812 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.integer) = 1; }
#line 3021 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 148:
#line 815 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
    }
#line 3029 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 149:
#line 820 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderStart(CSSRuleSourceData::STYLE_RULE);
    }
#line 3037 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 150:
#line 825 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markRuleHeaderEnd();
    }
#line 3045 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 151:
#line 830 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = parser->createStyleRule((yyvsp[-6].selectorList));
    }
#line 3053 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 152:
#line 835 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[0].selector)) {
            (yyval.selectorList) = parser->reusableSelectorVector();
            (yyval.selectorList)->shrink(0);
            (yyval.selectorList)->append(parser->sinkFloatingSelector((yyvsp[0].selector)));
            parser->updateLastSelectorLineAndPosition();
        }
    }
#line 3066 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 153:
#line 843 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-3].selectorList) && (yyvsp[0].selector)) {
            (yyval.selectorList) = (yyvsp[-3].selectorList);
            (yyval.selectorList)->append(parser->sinkFloatingSelector((yyvsp[0].selector)));
            parser->updateLastSelectorLineAndPosition();
        } else
            (yyval.selectorList) = 0;
    }
#line 3079 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 154:
#line 851 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selectorList) = 0;
    }
#line 3087 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 155:
#line 856 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[-1].selector);
    }
#line 3095 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 156:
#line 861 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
    }
#line 3103 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 157:
#line 865 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
    }
#line 3111 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 158:
#line 869 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if (!(yyvsp[-1].selector))
            (yyval.selector) = 0;
        else if ((yyval.selector)) {
            CSSParserSelector* end = (yyval.selector);
            while (end->tagHistory())
                end = end->tagHistory();
            end->setRelation(CSSSelector::Descendant);
            end->setTagHistory(parser->sinkFloatingSelector((yyvsp[-1].selector)));
        }
    }
#line 3128 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 159:
#line 881 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if (!(yyvsp[-2].selector))
            (yyval.selector) = 0;
        else if ((yyval.selector)) {
            CSSParserSelector* end = (yyval.selector);
            while (end->tagHistory())
                end = end->tagHistory();
            end->setRelation((yyvsp[-1].relation));
            end->setTagHistory(parser->sinkFloatingSelector((yyvsp[-2].selector)));
        }
    }
#line 3145 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 160:
#line 893 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = 0;
    }
#line 3153 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 161:
#line 898 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.string).clear(); }
#line 3159 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 162:
#line 899 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { static LChar star = '*'; (yyval.string).init(&star, 1); }
#line 3165 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 163:
#line 900 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.string) = (yyvsp[-1].string); }
#line 3171 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 164:
#line 903 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setTag(QualifiedName(nullAtom, (yyvsp[0].string), parser->m_defaultNamespace));
    }
#line 3180 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 165:
#line 907 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector))
            parser->updateSpecifiersWithElementName(nullAtom, (yyvsp[-1].string), (yyval.selector));
    }
#line 3190 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 166:
#line 912 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector))
            parser->updateSpecifiersWithElementName(nullAtom, starAtom, (yyval.selector));
    }
#line 3200 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 167:
#line 917 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setTag(parser->determineNameInNamespace((yyvsp[-1].string), (yyvsp[0].string)));
    }
#line 3209 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 168:
#line 921 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector))
            parser->updateSpecifiersWithElementName((yyvsp[-2].string), (yyvsp[-1].string), (yyval.selector));
    }
#line 3219 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 169:
#line 926 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
        if ((yyval.selector))
            parser->updateSpecifiersWithElementName((yyvsp[-1].string), starAtom, (yyval.selector));
    }
#line 3229 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 170:
#line 933 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[0].selector)) {
            (yyval.selectorList) = parser->createFloatingSelectorVector();
            (yyval.selectorList)->append(parser->sinkFloatingSelector((yyvsp[0].selector)));
        } else
            (yyval.selectorList) = 0;
    }
#line 3241 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 171:
#line 940 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-4].selectorList) && (yyvsp[0].selector)) {
            (yyval.selectorList) = (yyvsp[-4].selectorList);
            (yyval.selectorList)->append(parser->sinkFloatingSelector((yyvsp[0].selector)));
        } else
            (yyval.selectorList) = 0;
    }
#line 3253 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 172:
#line 947 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selectorList) = 0;
    }
#line 3261 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 173:
#line 952 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserString& str = (yyvsp[0].string);
        if (parser->m_context.isHTMLDocument)
            str.lower();
        (yyval.string) = str;
    }
#line 3272 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 174:
#line 958 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        static LChar star = '*';
        (yyval.string).init(&star, 1);
    }
#line 3281 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 175:
#line 964 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = (yyvsp[0].selector);
    }
#line 3289 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 176:
#line 967 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if (!(yyvsp[0].selector))
            (yyval.selector) = 0;
        else if ((yyvsp[-1].selector))
            (yyval.selector) = parser->updateSpecifiers((yyvsp[-1].selector), (yyvsp[0].selector));
    }
#line 3300 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 177:
#line 973 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = 0;
    }
#line 3308 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 178:
#line 978 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::Id);
        if (parser->m_context.mode == CSSQuirksMode)
            (yyvsp[0].string).lower();
        (yyval.selector)->setValue((yyvsp[0].string));
    }
#line 3320 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 179:
#line 985 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[0].string)[0] >= '0' && (yyvsp[0].string)[0] <= '9') {
            (yyval.selector) = 0;
        } else {
            (yyval.selector) = parser->createFloatingSelector();
            (yyval.selector)->setMatch(CSSSelector::Id);
            if (parser->m_context.mode == CSSQuirksMode)
                (yyvsp[0].string).lower();
            (yyval.selector)->setValue((yyvsp[0].string));
        }
    }
#line 3336 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 183:
#line 1001 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::Class);
        if (parser->m_context.mode == CSSQuirksMode)
            (yyvsp[0].string).lower();
        (yyval.selector)->setValue((yyvsp[0].string));
    }
#line 3348 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 184:
#line 1010 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserString& str = (yyvsp[-1].string);
        if (parser->m_context.isHTMLDocument)
            str.lower();
        (yyval.string) = str;
    }
#line 3359 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 185:
#line 1018 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setAttribute(QualifiedName(nullAtom, (yyvsp[-1].string), nullAtom));
        (yyval.selector)->setMatch(CSSSelector::Set);
    }
#line 3369 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 186:
#line 1023 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setAttribute(QualifiedName(nullAtom, (yyvsp[-5].string), nullAtom));
        (yyval.selector)->setMatch((CSSSelector::Match)(yyvsp[-4].integer));
        (yyval.selector)->setValue((yyvsp[-2].string));
    }
#line 3380 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 187:
#line 1029 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setAttribute(parser->determineNameInNamespace((yyvsp[-2].string), (yyvsp[-1].string)));
        (yyval.selector)->setMatch(CSSSelector::Set);
    }
#line 3390 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 188:
#line 1034 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setAttribute(parser->determineNameInNamespace((yyvsp[-6].string), (yyvsp[-5].string)));
        (yyval.selector)->setMatch((CSSSelector::Match)(yyvsp[-4].integer));
        (yyval.selector)->setValue((yyvsp[-2].string));
    }
#line 3401 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 189:
#line 1042 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::Exact;
    }
#line 3409 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 190:
#line 1045 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::List;
    }
#line 3417 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 191:
#line 1048 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::Hyphen;
    }
#line 3425 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 192:
#line 1051 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::Begin;
    }
#line 3433 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 193:
#line 1054 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::End;
    }
#line 3441 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 194:
#line 1057 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.integer) = CSSSelector::Contain;
    }
#line 3449 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 197:
#line 1066 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PagePseudoClass);
        (yyvsp[0].string).lower();
        (yyval.selector)->setValue((yyvsp[0].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
    }
#line 3463 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 198:
#line 1076 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PseudoClass);
        (yyvsp[0].string).lower();
        (yyval.selector)->setValue((yyvsp[0].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
    }
#line 3477 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 199:
#line 1085 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PseudoElement);
        (yyvsp[0].string).lower();
        (yyval.selector)->setValue((yyvsp[0].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
    }
#line 3491 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 200:
#line 1094 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-2].selectorList)) {
            (yyval.selector) = parser->createFloatingSelector();
            (yyval.selector)->setMatch(CSSSelector::PseudoClass);
            (yyval.selector)->adoptSelectorVector(*parser->sinkFloatingSelectorVector((yyvsp[-2].selectorList)));
            (yyvsp[-4].string).lower();
            (yyval.selector)->setValue((yyvsp[-4].string));
            CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
            if (type != CSSSelector::PseudoAny)
                (yyval.selector) = 0;
        } else
            (yyval.selector) = 0;
    }
#line 3509 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 201:
#line 1107 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PseudoClass);
        (yyval.selector)->setArgument((yyvsp[-2].string));
        (yyval.selector)->setValue((yyvsp[-4].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
    }
#line 3523 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 202:
#line 1116 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PseudoClass);
        (yyval.selector)->setArgument(String::number((yyvsp[-3].integer) * (yyvsp[-2].number)));
        (yyval.selector)->setValue((yyvsp[-5].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
    }
#line 3537 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 203:
#line 1125 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.selector) = parser->createFloatingSelector();
        (yyval.selector)->setMatch(CSSSelector::PseudoClass);
        (yyval.selector)->setArgument((yyvsp[-2].string));
        (yyvsp[-4].string).lower();
        (yyval.selector)->setValue((yyvsp[-4].string));
        CSSSelector::PseudoType type = (yyval.selector)->pseudoType();
        if (type == CSSSelector::PseudoUnknown)
            (yyval.selector) = 0;
        else if (type == CSSSelector::PseudoNthChild ||
                 type == CSSSelector::PseudoNthOfType ||
                 type == CSSSelector::PseudoNthLastChild ||
                 type == CSSSelector::PseudoNthLastOfType) {
            if (!isValidNthToken((yyvsp[-2].string)))
                (yyval.selector) = 0;
        }
    }
#line 3559 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 204:
#line 1142 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if (!(yyvsp[-2].selector) || !(yyvsp[-2].selector)->isSimple())
            (yyval.selector) = 0;
        else {
            (yyval.selector) = parser->createFloatingSelector();
            (yyval.selector)->setMatch(CSSSelector::PseudoClass);
            Vector<OwnPtr<CSSParserSelector> > selectorVector;
            selectorVector.append(parser->sinkFloatingSelector((yyvsp[-2].selector)));
            (yyval.selector)->adoptSelectorVector(selectorVector);
            (yyvsp[-4].string).lower();
            (yyval.selector)->setValue((yyvsp[-4].string));
        }
    }
#line 3577 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 205:
#line 1157 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = (yyvsp[0].boolean);
    }
#line 3585 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 206:
#line 1160 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = (yyvsp[-1].boolean);
        if ( (yyvsp[0].boolean) )
            (yyval.boolean) = (yyvsp[0].boolean);
    }
#line 3595 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 207:
#line 1165 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = (yyvsp[0].boolean);
    }
#line 3603 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 208:
#line 1168 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3611 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 209:
#line 1171 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3619 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 210:
#line 1174 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = (yyvsp[-1].boolean);
    }
#line 3627 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 211:
#line 1177 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = (yyvsp[-1].boolean);
    }
#line 3635 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 212:
#line 1182 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
        (yyval.boolean) = (yyvsp[-2].boolean);
    }
#line 3644 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 213:
#line 1186 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3652 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 214:
#line 1189 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3660 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 215:
#line 1192 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
        (yyval.boolean) = false;
    }
#line 3669 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 216:
#line 1196 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3677 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 217:
#line 1199 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
        (yyval.boolean) = (yyvsp[-3].boolean);
        if ((yyvsp[-2].boolean))
            (yyval.boolean) = (yyvsp[-2].boolean);
    }
#line 3688 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 218:
#line 1205 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
        (yyval.boolean) = (yyvsp[-3].boolean);
    }
#line 3697 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 219:
#line 1209 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyStart();
        (yyval.boolean) = (yyvsp[-5].boolean);
    }
#line 3706 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 220:
#line 1215 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3714 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 221:
#line 1219 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
        bool isPropertyParsed = false;
        if ((yyvsp[-4].id) && (yyvsp[-1].valueList)) {
            parser->m_valueList = parser->sinkFloatingValueList((yyvsp[-1].valueList));
            int oldParsedProperties = parser->m_parsedProperties.size();
            (yyval.boolean) = parser->parseValue(static_cast<CSSPropertyID>((yyvsp[-4].id)), (yyvsp[0].boolean));
            if (!(yyval.boolean))
                parser->rollbackLastProperties(parser->m_parsedProperties.size() - oldParsedProperties);
            else
                isPropertyParsed = true;
            parser->m_valueList = nullptr;
        }
        parser->markPropertyEnd((yyvsp[0].boolean), isPropertyParsed);
    }
#line 3734 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 222:
#line 1235 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3742 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 223:
#line 1239 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyEnd(false, false);
        (yyval.boolean) = false;
    }
#line 3751 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 224:
#line 1244 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyEnd(false, false);
        (yyval.boolean) = false;
    }
#line 3760 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 225:
#line 1249 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3768 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 226:
#line 1253 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyEnd(false, false);
        (yyval.boolean) = false;
    }
#line 3777 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 227:
#line 1258 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->markPropertyEnd(false, false);
        (yyval.boolean) = false;
    }
#line 3786 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 228:
#line 1263 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.boolean) = false;
    }
#line 3794 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 229:
#line 1268 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.id) = cssPropertyID((yyvsp[-1].string));
    }
#line 3802 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 230:
#line 1273 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.boolean) = true; }
#line 3808 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 231:
#line 1274 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.boolean) = false; }
#line 3814 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 232:
#line 1277 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = parser->createFloatingValueList();
        (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[0].value)));
    }
#line 3823 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 233:
#line 1281 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = (yyvsp[-2].valueList);
        if ((yyval.valueList)) {
            if ((yyvsp[-1].character)) {
                CSSParserValue v;
                v.id = 0;
                v.unit = CSSParserValue::Operator;
                v.iValue = (yyvsp[-1].character);
                (yyval.valueList)->addValue(v);
            }
            (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[0].value)));
        }
    }
#line 3841 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 234:
#line 1294 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = 0;
    }
#line 3849 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 235:
#line 1297 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = 0;
    }
#line 3857 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 236:
#line 1300 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = 0;
    }
#line 3865 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 237:
#line 1305 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = '/';
    }
#line 3873 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 238:
#line 1308 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = ',';
    }
#line 3881 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 239:
#line 1311 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = 0;
  }
#line 3889 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 240:
#line 1316 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value) = (yyvsp[0].value); }
#line 3895 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 241:
#line 1317 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value) = (yyvsp[0].value); (yyval.value).fValue *= (yyvsp[-1].integer); }
#line 3901 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 242:
#line 1318 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_STRING; }
#line 3907 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 243:
#line 1319 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value).id = cssValueKeywordID((yyvsp[-1].string));
      (yyval.value).unit = CSSPrimitiveValue::CSS_IDENT;
      (yyval.value).string = (yyvsp[-1].string);
  }
#line 3917 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 244:
#line 1324 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_DIMENSION; }
#line 3923 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 245:
#line 1325 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_DIMENSION; }
#line 3929 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 246:
#line 1326 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_URI; }
#line 3935 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 247:
#line 1327 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_UNICODE_RANGE; }
#line 3941 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 248:
#line 1328 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = (yyvsp[-1].string); (yyval.value).unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; }
#line 3947 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 249:
#line 1329 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).string = CSSParserString(); (yyval.value).unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; }
#line 3953 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 250:
#line 1330 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
  }
#line 3960 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 251:
#line 1332 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value) = (yyvsp[0].value);
  }
#line 3968 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 252:
#line 1335 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value) = (yyvsp[0].value);
  }
#line 3976 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 253:
#line 1338 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value) = (yyvsp[0].value);
  }
#line 3984 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 254:
#line 1341 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value).id = 0; (yyval.value).unit = 0;
  }
#line 3992 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 255:
#line 1346 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).isInt = true; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_NUMBER; }
#line 3998 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 256:
#line 1347 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).isInt = false; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_NUMBER; }
#line 4004 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 257:
#line 1348 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_PERCENTAGE; }
#line 4010 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 258:
#line 1349 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_PX; }
#line 4016 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 259:
#line 1350 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_CM; }
#line 4022 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 260:
#line 1351 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_MM; }
#line 4028 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 261:
#line 1352 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_IN; }
#line 4034 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 262:
#line 1353 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_PT; }
#line 4040 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 263:
#line 1354 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_PC; }
#line 4046 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 264:
#line 1355 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_DEG; }
#line 4052 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 265:
#line 1356 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_RAD; }
#line 4058 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 266:
#line 1357 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_GRAD; }
#line 4064 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 267:
#line 1358 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_TURN; }
#line 4070 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 268:
#line 1359 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_MS; }
#line 4076 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 269:
#line 1360 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_S; }
#line 4082 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 270:
#line 1361 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_HZ; }
#line 4088 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 271:
#line 1362 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_KHZ; }
#line 4094 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 272:
#line 1363 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_EMS; }
#line 4100 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 273:
#line 1364 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSParserValue::Q_EMS; }
#line 4106 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 274:
#line 1365 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_EXS; }
#line 4112 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 275:
#line 1366 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
      (yyval.value).id = 0;
      (yyval.value).fValue = (yyvsp[-1].number);
      (yyval.value).unit = CSSPrimitiveValue::CSS_REMS;
      if (parser->m_styleSheet)
          parser->m_styleSheet->parserSetUsesRemUnits(true);
  }
#line 4124 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 276:
#line 1373 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_VW; }
#line 4130 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 277:
#line 1374 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_VH; }
#line 4136 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 278:
#line 1375 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_VMIN; }
#line 4142 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 279:
#line 1376 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_DPPX; }
#line 4148 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 280:
#line 1377 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_DPI; }
#line 4154 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 281:
#line 1378 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value).id = 0; (yyval.value).fValue = (yyvsp[-1].number); (yyval.value).unit = CSSPrimitiveValue::CSS_DPCM; }
#line 4160 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 282:
#line 1381 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-4].string);
        f->args = parser->sinkFloatingValueList((yyvsp[-2].valueList));
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
    }
#line 4173 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 283:
#line 1389 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-3].string);
        f->args = parser->sinkFloatingValueList((yyvsp[-1].valueList));
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
    }
#line 4186 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 284:
#line 1397 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-3].string);
        CSSParserValueList* valueList = parser->createFloatingValueList();
        f->args = parser->sinkFloatingValueList(valueList);
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
    }
#line 4200 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 285:
#line 1406 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-2].string);
        f->args = nullptr;
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
  }
#line 4213 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 286:
#line 1416 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value) = (yyvsp[0].value); }
#line 4219 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 287:
#line 1417 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
  }
#line 4226 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 288:
#line 1419 "generated/CSSGrammar.y" /* yacc.c:1646  */
    { (yyval.value) = (yyvsp[0].value); (yyval.value).fValue *= (yyvsp[-1].integer); }
#line 4232 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 289:
#line 1422 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = '+';
    }
#line 4240 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 290:
#line 1425 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = '-';
    }
#line 4248 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 291:
#line 1428 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = '*';
    }
#line 4256 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 292:
#line 1431 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.character) = '/';
    }
#line 4264 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 293:
#line 1436 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-3].valueList)) {
            (yyval.valueList) = (yyvsp[-3].valueList);
            CSSParserValue v;
            v.id = 0;
            v.unit = CSSParserValue::Operator;
            v.iValue = '(';
            (yyval.valueList)->insertValueAt(0, v);
            v.iValue = ')';
            (yyval.valueList)->addValue(v);
        } else
            (yyval.valueList) = 0;
    }
#line 4282 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 294:
#line 1450 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = parser->createFloatingValueList();
        (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[-1].value)));
    }
#line 4291 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 295:
#line 1454 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-2].valueList) && (yyvsp[-1].character)) {
            (yyval.valueList) = (yyvsp[-2].valueList);
            CSSParserValue v;
            v.id = 0;
            v.unit = CSSParserValue::Operator;
            v.iValue = (yyvsp[-1].character);
            (yyval.valueList)->addValue(v);
            (yyval.valueList)->addValue(parser->sinkFloatingValue((yyvsp[0].value)));
        } else
            (yyval.valueList) = 0;
    }
#line 4308 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 296:
#line 1466 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-2].valueList) && (yyvsp[-1].character) && (yyvsp[0].valueList)) {
            (yyval.valueList) = (yyvsp[-2].valueList);
            CSSParserValue v;
            v.id = 0;
            v.unit = CSSParserValue::Operator;
            v.iValue = (yyvsp[-1].character);
            (yyval.valueList)->addValue(v);
            (yyval.valueList)->extend(*((yyvsp[0].valueList)));
        } else
            (yyval.valueList) = 0;
    }
#line 4325 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 298:
#line 1479 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = 0;
    }
#line 4333 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 299:
#line 1484 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.valueList) = (yyvsp[0].valueList);
    }
#line 4341 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 300:
#line 1487 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        if ((yyvsp[-3].valueList) && (yyvsp[0].valueList)) {
            (yyval.valueList) = (yyvsp[-3].valueList);
            CSSParserValue v;
            v.id = 0;
            v.unit = CSSParserValue::Operator;
            v.iValue = ',';
            (yyval.valueList)->addValue(v);
            (yyval.valueList)->extend(*((yyvsp[0].valueList)));
        } else
            (yyval.valueList) = 0;
    }
#line 4358 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 301:
#line 1500 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-4].string);
        f->args = parser->sinkFloatingValueList((yyvsp[-2].valueList));
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
    }
#line 4371 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 302:
#line 1508 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        YYERROR;
    }
#line 4379 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 303:
#line 1513 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.string) = (yyvsp[0].string);
    }
#line 4387 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 304:
#line 1516 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.string) = (yyvsp[0].string);
    }
#line 4395 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 305:
#line 1521 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        CSSParserFunction* f = parser->createFloatingFunction();
        f->name = (yyvsp[-4].string);
        f->args = parser->sinkFloatingValueList((yyvsp[-2].valueList));
        (yyval.value).id = 0;
        (yyval.value).unit = CSSParserValue::Function;
        (yyval.value).function = f;
    }
#line 4408 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 306:
#line 1529 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        YYERROR;
    }
#line 4416 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 307:
#line 1534 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 4424 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 308:
#line 1537 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 4432 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 309:
#line 1542 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 4440 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 310:
#line 1545 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 4448 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 311:
#line 1550 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        (yyval.rule) = 0;
    }
#line 4456 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 312:
#line 1555 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->invalidBlockHit();
    }
#line 4464 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;

  case 313:
#line 1558 "generated/CSSGrammar.y" /* yacc.c:1646  */
    {
        parser->invalidBlockHit();
    }
#line 4472 "generated/CSSGrammar.cpp" /* yacc.c:1646  */
    break;


#line 4476 "generated/CSSGrammar.cpp" /* 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;

  /* 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 (parser, 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 (parser, yymsgp);
        if (yysyntax_error_status == 2)
          goto yyexhaustedlab;
      }
# undef YYSYNTAX_ERROR
#endif
    }



  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, parser);
          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;

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


      yydestruct ("Error: popping",
                  yystos[yystate], yyvsp, parser);
      YYPOPSTACK (1);
      yystate = *yyssp;
      YY_STACK_PRINT (yyss, yyssp);
    }

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END


  /* 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 (parser, 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, parser);
    }
  /* 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, parser);
      YYPOPSTACK (1);
    }
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif
#if YYERROR_VERBOSE
  if (yymsg != yymsgbuf)
    YYSTACK_FREE (yymsg);
#endif
  return yyresult;
}
#line 1566 "generated/CSSGrammar.y" /* yacc.c:1906  */

