* Sync up to trunk head (r64377).
[reactos.git] / dll / win32 / msi / sql.tab.c
index a60ec09..f4cfd6b 100644 (file)
@@ -1,19 +1,19 @@
-/* A Bison parser, made by GNU Bison 2.5.  */
+/* A Bison parser, made by GNU Bison 3.0.2.  */
 
 /* Bison implementation for Yacc-like parsers in C
-   
-      Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
-   
+
+   Copyright (C) 1984, 1989-1990, 2000-2013 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/>.  */
 
@@ -26,7 +26,7 @@
    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.  */
 
@@ -44,7 +44,7 @@
 #define YYBISON 1
 
 /* Bison version.  */
-#define YYBISON_VERSION "2.5"
+#define YYBISON_VERSION "3.0.2"
 
 /* Skeleton name.  */
 #define YYSKELETON_NAME "yacc.c"
 /* Pull parsers.  */
 #define YYPULL 1
 
-/* Using locations.  */
-#define YYLSP_NEEDED 0
 
 /* Substitute the variable and function names.  */
 #define yyparse         sql_parse
 #define yylex           sql_lex
 #define yyerror         sql_error
-#define yylval          sql_lval
-#define yychar          sql_char
 #define yydebug         sql_debug
 #define yynerrs         sql_nerrs
 
 
 /* Copy the first part of user declarations.  */
-
-/* Line 268 of yacc.c  */
-#line 1 "sql.y"
+#line 1 "sql.y" /* yacc.c:339  */
 
 
 /*
@@ -124,14 +118,15 @@ static struct expr * EXPR_wildcard( void *info );
     result = current_view
 
 
+#line 134 "sql.tab.c" /* yacc.c:339  */
 
-/* Line 268 of yacc.c  */
-#line 142 "sql.tab.c"
-
-/* Enabling traces.  */
-#ifndef YYDEBUG
-# define YYDEBUG 0
-#endif
+# 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
@@ -141,90 +136,93 @@ static struct expr * EXPR_wildcard( void *info );
 # define YYERROR_VERBOSE 0
 #endif
 
-/* Enabling the token table.  */
-#ifndef YYTOKEN_TABLE
-# define YYTOKEN_TABLE 0
+/* In a future release of Bison, this section will be replaced
+   by #include "sql.tab.h".  */
+#ifndef YY_SQL_SQL_TAB_H_INCLUDED
+# define YY_SQL_SQL_TAB_H_INCLUDED
+/* Debug traces.  */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+#if YYDEBUG
+extern int sql_debug;
 #endif
 
-
-/* Tokens.  */
+/* Token type.  */
 #ifndef YYTOKENTYPE
 # define YYTOKENTYPE
-   /* Put the tokens into the symbol table, so that GDB and other debuggers
-      know about them.  */
-   enum yytokentype {
-     TK_ALTER = 258,
-     TK_AND = 259,
-     TK_BY = 260,
-     TK_CHAR = 261,
-     TK_COMMA = 262,
-     TK_CREATE = 263,
-     TK_DELETE = 264,
-     TK_DROP = 265,
-     TK_DISTINCT = 266,
-     TK_DOT = 267,
-     TK_EQ = 268,
-     TK_FREE = 269,
-     TK_FROM = 270,
-     TK_GE = 271,
-     TK_GT = 272,
-     TK_HOLD = 273,
-     TK_ADD = 274,
-     TK_ID = 275,
-     TK_ILLEGAL = 276,
-     TK_INSERT = 277,
-     TK_INT = 278,
-     TK_INTEGER = 279,
-     TK_INTO = 280,
-     TK_IS = 281,
-     TK_KEY = 282,
-     TK_LE = 283,
-     TK_LONG = 284,
-     TK_LONGCHAR = 285,
-     TK_LP = 286,
-     TK_LT = 287,
-     TK_LOCALIZABLE = 288,
-     TK_MINUS = 289,
-     TK_NE = 290,
-     TK_NOT = 291,
-     TK_NULL = 292,
-     TK_OBJECT = 293,
-     TK_OR = 294,
-     TK_ORDER = 295,
-     TK_PRIMARY = 296,
-     TK_RP = 297,
-     TK_SELECT = 298,
-     TK_SET = 299,
-     TK_SHORT = 300,
-     TK_SPACE = 301,
-     TK_STAR = 302,
-     TK_STRING = 303,
-     TK_TABLE = 304,
-     TK_TEMPORARY = 305,
-     TK_UPDATE = 306,
-     TK_VALUES = 307,
-     TK_WHERE = 308,
-     TK_WILDCARD = 309,
-     COLUMN = 311,
-     FUNCTION = 312,
-     COMMENT = 313,
-     UNCLOSED_STRING = 314,
-     SPACE = 315,
-     ILLEGAL = 316,
-     END_OF_FILE = 317,
-     TK_LIKE = 318,
-     TK_NEGATION = 319
-   };
+  enum yytokentype
+  {
+    TK_ALTER = 258,
+    TK_AND = 259,
+    TK_BY = 260,
+    TK_CHAR = 261,
+    TK_COMMA = 262,
+    TK_CREATE = 263,
+    TK_DELETE = 264,
+    TK_DROP = 265,
+    TK_DISTINCT = 266,
+    TK_DOT = 267,
+    TK_EQ = 268,
+    TK_FREE = 269,
+    TK_FROM = 270,
+    TK_GE = 271,
+    TK_GT = 272,
+    TK_HOLD = 273,
+    TK_ADD = 274,
+    TK_ID = 275,
+    TK_ILLEGAL = 276,
+    TK_INSERT = 277,
+    TK_INT = 278,
+    TK_INTEGER = 279,
+    TK_INTO = 280,
+    TK_IS = 281,
+    TK_KEY = 282,
+    TK_LE = 283,
+    TK_LONG = 284,
+    TK_LONGCHAR = 285,
+    TK_LP = 286,
+    TK_LT = 287,
+    TK_LOCALIZABLE = 288,
+    TK_MINUS = 289,
+    TK_NE = 290,
+    TK_NOT = 291,
+    TK_NULL = 292,
+    TK_OBJECT = 293,
+    TK_OR = 294,
+    TK_ORDER = 295,
+    TK_PRIMARY = 296,
+    TK_RP = 297,
+    TK_SELECT = 298,
+    TK_SET = 299,
+    TK_SHORT = 300,
+    TK_SPACE = 301,
+    TK_STAR = 302,
+    TK_STRING = 303,
+    TK_TABLE = 304,
+    TK_TEMPORARY = 305,
+    TK_UPDATE = 306,
+    TK_VALUES = 307,
+    TK_WHERE = 308,
+    TK_WILDCARD = 309,
+    END_OF_FILE = 310,
+    ILLEGAL = 311,
+    SPACE = 312,
+    UNCLOSED_STRING = 313,
+    COMMENT = 314,
+    FUNCTION = 315,
+    COLUMN = 316,
+    TK_LIKE = 318,
+    TK_NEGATION = 319
+  };
 #endif
 
-
-
+/* Value type.  */
 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
+typedef union YYSTYPE YYSTYPE;
+union YYSTYPE
 {
-
-/* Line 293 of yacc.c  */
-#line 68 "sql.y"
+#line 68 "sql.y" /* yacc.c:355  */
 
     struct sql_str str;
     LPWSTR string;
@@ -234,22 +232,21 @@ typedef union YYSTYPE
     USHORT column_type;
     int integer;
 
-
-
-/* Line 293 of yacc.c  */
-#line 253 "sql.tab.c"
-} YYSTYPE;
+#line 248 "sql.tab.c" /* yacc.c:355  */
+};
 # define YYSTYPE_IS_TRIVIAL 1
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
 # define YYSTYPE_IS_DECLARED 1
 #endif
 
 
-/* Copy the second part of user declarations.  */
 
+int sql_parse (SQL_input *info);
 
-/* Line 343 of yacc.c  */
-#line 265 "sql.tab.c"
+#endif /* !YY_SQL_SQL_TAB_H_INCLUDED  */
+
+/* Copy the second part of user declarations.  */
+
+#line 262 "sql.tab.c" /* yacc.c:358  */
 
 #ifdef short
 # undef short
@@ -263,11 +260,8 @@ typedef unsigned char yytype_uint8;
 
 #ifdef YYTYPE_INT8
 typedef YYTYPE_INT8 yytype_int8;
-#elif (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
-typedef signed char yytype_int8;
 #else
-typedef short int yytype_int8;
+typedef signed char yytype_int8;
 #endif
 
 #ifdef YYTYPE_UINT16
@@ -287,8 +281,7 @@ typedef short int yytype_int16;
 #  define YYSIZE_T __SIZE_TYPE__
 # elif defined size_t
 #  define YYSIZE_T size_t
-# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
+# elif ! defined YYSIZE_T
 #  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
 #  define YYSIZE_T size_t
 # else
@@ -302,38 +295,67 @@ typedef short int yytype_int16;
 # if defined YYENABLE_NLS && YYENABLE_NLS
 #  if ENABLE_NLS
 #   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
-#   define YY_(msgid) dgettext ("bison-runtime", msgid)
+#   define YY_(Msgid) dgettext ("bison-runtime", Msgid)
 #  endif
 # endif
 # ifndef YY_
-#  define YY_(msgid) msgid
+#  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))
+# define YYUSE(E) ((void) (E))
 #else
-# define YYUSE(e) /* empty */
+# define YYUSE(E) /* empty */
 #endif
 
-/* Identity function, used to suppress warnings about constant conditions.  */
-#ifndef lint
-# define YYID(n) (n)
-#else
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
-static int
-YYID (int yyi)
+#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
-static int
-YYID (yyi)
-    int yyi;
+# define YY_INITIAL_VALUE(Value) Value
 #endif
-{
-  return yyi;
-}
+#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
 
@@ -352,9 +374,9 @@ YYID (yyi)
 #    define alloca _alloca
 #   else
 #    define YYSTACK_ALLOC alloca
-#    if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
+#    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
@@ -364,8 +386,8 @@ YYID (yyi)
 # endif
 
 # ifdef YYSTACK_ALLOC
-   /* Pacify GCC's `empty if-body' warning.  */
-#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+   /* 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
@@ -381,7 +403,7 @@ YYID (yyi)
 #  endif
 #  if (defined __cplusplus && ! defined EXIT_SUCCESS \
        && ! ((defined YYMALLOC || defined malloc) \
-            && (defined YYFREE || defined free)))
+             && (defined YYFREE || defined free)))
 #   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
 #   ifndef EXIT_SUCCESS
 #    define EXIT_SUCCESS 0
@@ -389,15 +411,13 @@ YYID (yyi)
 #  endif
 #  ifndef YYMALLOC
 #   define YYMALLOC malloc
-#   if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
+#   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 && (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
+#   if ! defined free && ! defined EXIT_SUCCESS
 void free (void *); /* INFRINGES ON USER NAME SPACE */
 #   endif
 #  endif
@@ -407,7 +427,7 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */
 
 #if (! defined yyoverflow \
      && (! defined __cplusplus \
-        || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
 
 /* A type that is properly aligned for any stack member.  */
 union yyalloc
@@ -432,35 +452,35 @@ union yyalloc
    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 (YYID (0))
+# 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 FROM to TO.  The source and destination do
+/* Copy COUNT objects from SRC to DST.  The source and destination do
    not overlap.  */
 # ifndef YYCOPY
 #  if defined __GNUC__ && 1 < __GNUC__
-#   define YYCOPY(To, From, Count) \
-      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
+#   define YYCOPY(Dst, Src, Count) \
+      __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
 #  else
-#   define YYCOPY(To, From, Count)             \
-      do                                       \
-       {                                       \
-         YYSIZE_T yyi;                         \
-         for (yyi = 0; yyi < (Count); yyi++)   \
-           (To)[yyi] = (From)[yyi];            \
-       }                                       \
-      while (YYID (0))
+#   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 */
@@ -476,17 +496,19 @@ union yyalloc
 #define YYNNTS  37
 /* YYNRULES -- Number of rules.  */
 #define YYNRULES  87
-/* YYNRULES -- Number of states.  */
+/* YYNSTATES -- Number of states.  */
 #define YYNSTATES  154
 
-/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
+/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
+   by yylex, with out-of-bounds checking.  */
 #define YYUNDEFTOK  2
 #define YYMAXUTOK   319
 
-#define YYTRANSLATE(YYX)                                               \
+#define YYTRANSLATE(YYX)                                                \
   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
-/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
+/* 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,
@@ -524,57 +546,7 @@ static const yytype_uint8 yytranslate[] =
 };
 
 #if YYDEBUG
-/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
-   YYRHS.  */
-static const yytype_uint16 yyprhs[] =
-{
-       0,     0,     3,     5,     7,     9,    11,    13,    15,    17,
-      19,    30,    42,    49,    57,    64,    69,    72,    77,    83,
-      90,    92,    94,    98,   103,   107,   109,   112,   114,   117,
-     120,   122,   126,   128,   133,   135,   137,   139,   141,   143,
-     145,   148,   152,   155,   157,   161,   163,   165,   169,   171,
-     174,   179,   181,   184,   189,   191,   195,   199,   203,   207,
-     211,   215,   219,   223,   227,   231,   235,   240,   242,   244,
-     246,   250,   252,   256,   260,   262,   265,   267,   269,   271,
-     275,   277,   281,   283,   285,   287,   289,   291
-};
-
-/* YYRHS -- A `-1'-separated list of the rules' RHS.  */
-static const yytype_int8 yyrhs[] =
-{
-      66,     0,    -1,    67,    -1,    82,    -1,    69,    -1,    68,
-      -1,    70,    -1,    71,    -1,    72,    -1,    74,    -1,    22,
-      25,    98,    31,    85,    42,    52,    31,    91,    42,    -1,
-      22,    25,    98,    31,    85,    42,    52,    31,    91,    42,
-      50,    -1,     8,    49,    98,    31,    75,    42,    -1,     8,
-      49,    98,    31,    75,    42,    18,    -1,    51,    98,    44,
-      92,    53,    89,    -1,    51,    98,    44,    92,    -1,     9,
-      86,    -1,     3,    49,    98,    73,    -1,     3,    49,    98,
-      19,    77,    -1,     3,    49,    98,    19,    77,    18,    -1,
-      18,    -1,    14,    -1,    10,    49,    98,    -1,    76,    41,
-      27,    85,    -1,    76,     7,    77,    -1,    77,    -1,    96,
-      78,    -1,    79,    -1,    79,    33,    -1,    79,    50,    -1,
-      80,    -1,    80,    36,    37,    -1,     6,    -1,     6,    31,
-      81,    42,    -1,    30,    -1,    45,    -1,    23,    -1,    29,
-      -1,    38,    -1,   101,    -1,    43,    83,    -1,    43,    11,
-      83,    -1,    84,    86,    -1,    97,    -1,    97,     7,    84,
-      -1,    47,    -1,    96,    -1,    96,     7,    85,    -1,    47,
-      -1,    15,    98,    -1,    87,    40,     5,    85,    -1,    87,
-      -1,    15,    88,    -1,    15,    88,    53,    89,    -1,    98,
-      -1,    98,     7,    88,    -1,    31,    89,    42,    -1,    89,
-       4,    89,    -1,    89,    39,    89,    -1,    95,    13,    90,
-      -1,    95,    17,    90,    -1,    95,    32,    90,    -1,    95,
-      28,    90,    -1,    95,    16,    90,    -1,    95,    35,    90,
-      -1,    95,    26,    37,    -1,    95,    26,    36,    37,    -1,
-      95,    -1,    94,    -1,    94,    -1,    94,     7,    91,    -1,
-      93,    -1,    93,     7,    92,    -1,    96,    13,    94,    -1,
-     101,    -1,    34,   101,    -1,    48,    -1,    54,    -1,    96,
-      -1,    98,    12,    99,    -1,    99,    -1,    98,    12,    99,
-      -1,    99,    -1,   100,    -1,    99,    -1,    20,    -1,    48,
-      -1,    24,    -1
-};
-
-/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
+  /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
 static const yytype_uint16 yyrline[] =
 {
        0,   117,   117,   125,   126,   127,   128,   129,   130,   131,
@@ -589,7 +561,7 @@ static const yytype_uint16 yyrline[] =
 };
 #endif
 
-#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
+#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[] =
@@ -603,21 +575,21 @@ static const char *const yytname[] =
   "TK_OR", "TK_ORDER", "TK_PRIMARY", "TK_RP", "TK_SELECT", "TK_SET",
   "TK_SHORT", "TK_SPACE", "TK_STAR", "TK_STRING", "TK_TABLE",
   "TK_TEMPORARY", "TK_UPDATE", "TK_VALUES", "TK_WHERE", "TK_WILDCARD",
-  "AGG_FUNCTION.", "COLUMN", "FUNCTION", "COMMENT", "UNCLOSED_STRING",
-  "SPACE", "ILLEGAL", "END_OF_FILE", "TK_LIKE", "TK_NEGATION", "$accept",
-  "query", "onequery", "oneinsert", "onecreate", "oneupdate", "onedelete",
-  "onealter", "alterop", "onedrop", "table_def", "column_def",
+  "END_OF_FILE", "ILLEGAL", "SPACE", "UNCLOSED_STRING", "COMMENT",
+  "FUNCTION", "COLUMN", "AGG_FUNCTION.", "TK_LIKE", "TK_NEGATION",
+  "$accept", "query", "onequery", "oneinsert", "onecreate", "oneupdate",
+  "onedelete", "onealter", "alterop", "onedrop", "table_def", "column_def",
   "column_and_type", "column_type", "data_type_l", "data_type",
   "data_count", "oneselect", "selectfrom", "selcollist", "collist", "from",
   "unorderdfrom", "tablelist", "expr", "val", "constlist",
   "update_assign_list", "column_assignment", "const_val", "column_val",
-  "column", "selcolumn", "table", "id", "string", "number", 0
+  "column", "selcolumn", "table", "id", "string", "number", YY_NULLPTR
 };
 #endif
 
 # ifdef YYPRINT
-/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
-   token YYLEX-NUM.  */
+/* 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,
@@ -630,69 +602,18 @@ static const yytype_uint16 yytoknum[] =
 };
 # endif
 
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
-static const yytype_uint8 yyr1[] =
-{
-       0,    65,    66,    67,    67,    67,    67,    67,    67,    67,
-      68,    68,    69,    69,    70,    70,    71,    72,    72,    72,
-      73,    73,    74,    75,    76,    76,    77,    78,    78,    78,
-      79,    79,    80,    80,    80,    80,    80,    80,    80,    81,
-      82,    82,    83,    84,    84,    84,    85,    85,    85,    86,
-      86,    86,    87,    87,    88,    88,    89,    89,    89,    89,
-      89,    89,    89,    89,    89,    89,    89,    90,    90,    91,
-      91,    92,    92,    93,    94,    94,    94,    94,    95,    96,
-      96,    97,    97,    97,    98,    99,   100,   101
-};
+#define YYPACT_NINF -80
 
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
-static const yytype_uint8 yyr2[] =
-{
-       0,     2,     1,     1,     1,     1,     1,     1,     1,     1,
-      10,    11,     6,     7,     6,     4,     2,     4,     5,     6,
-       1,     1,     3,     4,     3,     1,     2,     1,     2,     2,
-       1,     3,     1,     4,     1,     1,     1,     1,     1,     1,
-       2,     3,     2,     1,     3,     1,     1,     3,     1,     2,
-       4,     1,     2,     4,     1,     3,     3,     3,     3,     3,
-       3,     3,     3,     3,     3,     3,     4,     1,     1,     1,
-       3,     1,     3,     3,     1,     2,     1,     1,     1,     3,
-       1,     3,     1,     1,     1,     1,     1,     1
-};
+#define yypact_value_is_default(Yystate) \
+  (!!((Yystate) == (-80)))
 
-/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
-   Performed when YYTABLE doesn't specify something else to do.  Zero
-   means the default is an error.  */
-static const yytype_uint8 yydefact[] =
-{
-       0,     0,     0,     0,     0,     0,     0,     0,     0,     2,
-       5,     4,     6,     7,     8,     9,     3,     0,     0,     0,
-      16,    51,     0,     0,     0,    85,    45,    86,    40,     0,
-      43,     0,    82,    83,     0,    84,     1,     0,     0,    52,
-      54,     0,    22,     0,    41,    42,     0,     0,     0,    21,
-      20,     0,    17,     0,     0,     0,     0,     0,    44,    81,
-      15,    71,     0,     0,    80,    18,     0,     0,     0,    25,
-       0,    53,     0,    78,    55,    54,    48,    50,    46,     0,
-       0,     0,     0,     0,    19,    32,    36,    37,    34,    38,
-      35,    26,    27,    30,    12,     0,     0,     0,     0,     0,
-       0,     0,     0,     0,     0,     0,     0,     0,     0,    14,
-      72,    87,     0,    76,    77,    73,    74,    79,     0,    28,
-      29,     0,    13,    24,     0,    56,    57,    58,    59,    68,
-      67,    63,    60,     0,    65,    62,    61,    64,    47,     0,
-      75,     0,    39,    31,    23,    66,     0,    33,     0,    69,
-      10,     0,    11,    70
-};
+#define YYTABLE_NINF -85
 
-/* YYDEFGOTO[NTERM-NUM].  */
-static const yytype_int16 yydefgoto[] =
-{
-      -1,     8,     9,    10,    11,    12,    13,    14,    52,    15,
-      67,    68,    65,    91,    92,    93,   141,    16,    28,    29,
-      77,    20,    21,    39,    71,   128,   148,    60,    61,   129,
-     130,    73,    30,    63,    64,    33,   116
-};
+#define yytable_value_is_error(Yytable_value) \
+  0
 
-/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
-   STATE-NUM.  */
-#define YYPACT_NINF -80
+  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+     STATE-NUM.  */
 static const yytype_int16 yypact[] =
 {
       36,   -44,   -39,    -1,   -26,     9,    50,    37,    56,   -80,
@@ -713,7 +634,30 @@ static const yytype_int16 yypact[] =
       95,    52,   -80,   -80
 };
 
-/* YYPGOTO[NTERM-NUM].  */
+  /* 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_uint8 yydefact[] =
+{
+       0,     0,     0,     0,     0,     0,     0,     0,     0,     2,
+       5,     4,     6,     7,     8,     9,     3,     0,     0,     0,
+      16,    51,     0,     0,     0,    85,    45,    86,    40,     0,
+      43,     0,    82,    83,     0,    84,     1,     0,     0,    52,
+      54,     0,    22,     0,    41,    42,     0,     0,     0,    21,
+      20,     0,    17,     0,     0,     0,     0,     0,    44,    81,
+      15,    71,     0,     0,    80,    18,     0,     0,     0,    25,
+       0,    53,     0,    78,    55,    54,    48,    50,    46,     0,
+       0,     0,     0,     0,    19,    32,    36,    37,    34,    38,
+      35,    26,    27,    30,    12,     0,     0,     0,     0,     0,
+       0,     0,     0,     0,     0,     0,     0,     0,     0,    14,
+      72,    87,     0,    76,    77,    73,    74,    79,     0,    28,
+      29,     0,    13,    24,     0,    56,    57,    58,    59,    68,
+      67,    63,    60,     0,    65,    62,    61,    64,    47,     0,
+      75,     0,    39,    31,    23,    66,     0,    33,     0,    69,
+      10,     0,    11,    70
+};
+
+  /* YYPGOTO[NTERM-NUM].  */
 static const yytype_int8 yypgoto[] =
 {
      -80,   -80,   -80,   -80,   -80,   -80,   -80,   -80,   -80,   -80,
@@ -722,10 +666,18 @@ static const yytype_int8 yypgoto[] =
       -7,   -29,   -80,    14,    -6,   -80,   -16
 };
 
-/* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
-   positive, shift that token.  If negative, reduce the rule which
-   number is the opposite.  If YYTABLE_NINF, syntax error.  */
-#define YYTABLE_NINF -85
+  /* YYDEFGOTO[NTERM-NUM].  */
+static const yytype_int16 yydefgoto[] =
+{
+      -1,     8,     9,    10,    11,    12,    13,    14,    52,    15,
+      67,    68,    65,    91,    92,    93,   141,    16,    28,    29,
+      77,    20,    21,    39,    71,   128,   148,    60,    61,   129,
+     130,    73,    30,    63,    64,    33,   116
+};
+
+  /* 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[] =
 {
       32,    35,    25,   115,    79,    17,    69,    98,    25,    95,
@@ -746,12 +698,6 @@ static const yytype_int16 yytable[] =
       58,    74,   147,     0,   110,   150,   153
 };
 
-#define yypact_value_is_default(yystate) \
-  ((yystate) == (-80))
-
-#define yytable_value_is_error(yytable_value) \
-  YYID (0)
-
 static const yytype_int16 yycheck[] =
 {
        6,     7,    20,    82,    57,    49,    53,     4,    20,     7,
@@ -772,8 +718,8 @@ static const yytype_int16 yycheck[] =
       46,    55,    42,    -1,    81,    42,   151
 };
 
-/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
-   symbol of state STATE-NUM.  */
+  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+     symbol of state STATE-NUM.  */
 static const yytype_uint8 yystos[] =
 {
        0,     3,     8,     9,    10,    22,    43,    51,    66,    67,
@@ -794,94 +740,69 @@ static const yytype_uint8 yystos[] =
       42,     7,    50,    91
 };
 
-#define yyerrok                (yyerrstatus = 0)
-#define yyclearin      (yychar = YYEMPTY)
-#define YYEMPTY                (-2)
-#define YYEOF          0
-
-#define YYACCEPT       goto yyacceptlab
-#define YYABORT                goto yyabortlab
-#define YYERROR                goto yyerrorlab
-
-
-/* Like YYERROR except do call yyerror.  This remains here temporarily
-   to ease the transition to the new meaning of YYERROR, for GCC.
-   Once GCC version 2 has supplanted version 1, this can go.  However,
-   YYFAIL appears to be in use.  Nevertheless, it is formally deprecated
-   in Bison 2.4.2's NEWS entry, where a plan to phase it out is
-   discussed.  */
-
-#define YYFAIL         goto yyerrlab
-#if defined YYFAIL
-  /* This is here to suppress warnings from the GCC cpp's
-     -Wunused-macros.  Normally we don't worry about that warning, but
-     some users do, and we want to make it easy for users to remove
-     YYFAIL uses, which will produce warnings from Bison 2.5.  */
-#endif
+  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
+static const yytype_uint8 yyr1[] =
+{
+       0,    65,    66,    67,    67,    67,    67,    67,    67,    67,
+      68,    68,    69,    69,    70,    70,    71,    72,    72,    72,
+      73,    73,    74,    75,    76,    76,    77,    78,    78,    78,
+      79,    79,    80,    80,    80,    80,    80,    80,    80,    81,
+      82,    82,    83,    84,    84,    84,    85,    85,    85,    86,
+      86,    86,    87,    87,    88,    88,    89,    89,    89,    89,
+      89,    89,    89,    89,    89,    89,    89,    90,    90,    91,
+      91,    92,    92,    93,    94,    94,    94,    94,    95,    96,
+      96,    97,    97,    97,    98,    99,   100,   101
+};
 
-#define YYRECOVERING()  (!!yyerrstatus)
+  /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.  */
+static const yytype_uint8 yyr2[] =
+{
+       0,     2,     1,     1,     1,     1,     1,     1,     1,     1,
+      10,    11,     6,     7,     6,     4,     2,     4,     5,     6,
+       1,     1,     3,     4,     3,     1,     2,     1,     2,     2,
+       1,     3,     1,     4,     1,     1,     1,     1,     1,     1,
+       2,     3,     2,     1,     3,     1,     1,     3,     1,     2,
+       4,     1,     2,     4,     1,     3,     3,     3,     3,     3,
+       3,     3,     3,     3,     3,     3,     4,     1,     1,     1,
+       3,     1,     3,     3,     1,     2,     1,     1,     1,     3,
+       1,     3,     1,     1,     1,     1,     1,     1
+};
 
-#define YYBACKUP(Token, Value)                                 \
-do                                                             \
-  if (yychar == YYEMPTY && yylen == 1)                         \
-    {                                                          \
-      yychar = (Token);                                                \
-      yylval = (Value);                                                \
-      YYPOPSTACK (1);                                          \
-      goto yybackup;                                           \
-    }                                                          \
-  else                                                         \
-    {                                                          \
-      yyerror (info, YY_("syntax error: cannot back up")); \
-      YYERROR;                                                 \
-    }                                                          \
-while (YYID (0))
-
-
-#define YYTERROR       1
-#define YYERRCODE      256
-
-
-/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
-   If N is 0, then set CURRENT to the empty location which ends
-   the previous symbol: RHS[0] (always defined).  */
-
-#define YYRHSLOC(Rhs, K) ((Rhs)[K])
-#ifndef YYLLOC_DEFAULT
-# define YYLLOC_DEFAULT(Current, Rhs, N)                               \
-    do                                                                 \
-      if (YYID (N))                                                    \
-       {                                                               \
-         (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
-         (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
-         (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
-         (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
-       }                                                               \
-      else                                                             \
-       {                                                               \
-         (Current).first_line   = (Current).last_line   =              \
-           YYRHSLOC (Rhs, 0).last_line;                                \
-         (Current).first_column = (Current).last_column =              \
-           YYRHSLOC (Rhs, 0).last_column;                              \
-       }                                                               \
-    while (YYID (0))
-#endif
 
+#define yyerrok         (yyerrstatus = 0)
+#define yyclearin       (yychar = YYEMPTY)
+#define YYEMPTY         (-2)
+#define YYEOF           0
 
-/* This macro is provided for backward compatibility. */
+#define YYACCEPT        goto yyacceptlab
+#define YYABORT         goto yyabortlab
+#define YYERROR         goto yyerrorlab
 
-#ifndef YY_LOCATION_PRINT
-# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
-#endif
 
+#define YYRECOVERING()  (!!yyerrstatus)
+
+#define YYBACKUP(Token, Value)                                  \
+do                                                              \
+  if (yychar == YYEMPTY)                                        \
+    {                                                           \
+      yychar = (Token);                                         \
+      yylval = (Value);                                         \
+      YYPOPSTACK (yylen);                                       \
+      yystate = *yyssp;                                         \
+      goto yybackup;                                            \
+    }                                                           \
+  else                                                          \
+    {                                                           \
+      yyerror (info, YY_("syntax error: cannot back up")); \
+      YYERROR;                                                  \
+    }                                                           \
+while (0)
+
+/* Error token number */
+#define YYTERROR        1
+#define YYERRCODE       256
 
-/* YYLEX -- calling `yylex' with the right arguments.  */
 
-#ifdef YYLEX_PARAM
-# define YYLEX yylex (&yylval, YYLEX_PARAM)
-#else
-# define YYLEX yylex (&yylval, info)
-#endif
 
 /* Enable debugging if requested.  */
 #if YYDEBUG
@@ -891,56 +812,47 @@ while (YYID (0))
 #  define YYFPRINTF fprintf
 # endif
 
-# define YYDPRINTF(Args)                       \
-do {                                           \
-  if (yydebug)                                 \
-    YYFPRINTF Args;                            \
-} while (YYID (0))
+# 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, info); \
-      YYFPRINTF (stderr, "\n");                                                  \
-    }                                                                    \
-} while (YYID (0))
 
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
+do {                                                                      \
+  if (yydebug)                                                            \
+    {                                                                     \
+      YYFPRINTF (stderr, "%s ", Title);                                   \
+      yy_symbol_print (stderr,                                            \
+                  Type, Value, info); \
+      YYFPRINTF (stderr, "\n");                                           \
+    }                                                                     \
+} while (0)
 
-/*--------------------------------.
-| Print this symbol on YYOUTPUT.  |
-`--------------------------------*/
 
-/*ARGSUSED*/
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
+/*----------------------------------------.
+| Print this symbol's value on YYOUTPUT.  |
+`----------------------------------------*/
+
 static void
 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SQL_input *info)
-#else
-static void
-yy_symbol_value_print (yyoutput, yytype, yyvaluep, info)
-    FILE *yyoutput;
-    int yytype;
-    YYSTYPE const * const yyvaluep;
-    SQL_input *info;
-#endif
 {
+  FILE *yyo = yyoutput;
+  YYUSE (yyo);
+  YYUSE (info);
   if (!yyvaluep)
     return;
-  YYUSE (info);
 # ifdef YYPRINT
   if (yytype < YYNTOKENS)
     YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
-# else
-  YYUSE (yyoutput);
 # endif
-  switch (yytype)
-    {
-      default:
-       break;
-    }
+  YYUSE (yytype);
 }
 
 
@@ -948,23 +860,11 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep, info)
 | Print this symbol on YYOUTPUT.  |
 `--------------------------------*/
 
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 static void
 yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SQL_input *info)
-#else
-static void
-yy_symbol_print (yyoutput, yytype, yyvaluep, info)
-    FILE *yyoutput;
-    int yytype;
-    YYSTYPE const * const yyvaluep;
-    SQL_input *info;
-#endif
 {
-  if (yytype < YYNTOKENS)
-    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
-  else
-    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
+  YYFPRINTF (yyoutput, "%s %s (",
+             yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
 
   yy_symbol_value_print (yyoutput, yytype, yyvaluep, info);
   YYFPRINTF (yyoutput, ")");
@@ -975,16 +875,8 @@ yy_symbol_print (yyoutput, yytype, yyvaluep, info)
 | TOP (included).                                                   |
 `------------------------------------------------------------------*/
 
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 static void
 yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
-#else
-static void
-yy_stack_print (yybottom, yytop)
-    yytype_int16 *yybottom;
-    yytype_int16 *yytop;
-#endif
 {
   YYFPRINTF (stderr, "Stack now");
   for (; yybottom <= yytop; yybottom++)
@@ -995,50 +887,42 @@ yy_stack_print (yybottom, yytop)
   YYFPRINTF (stderr, "\n");
 }
 
-# define YY_STACK_PRINT(Bottom, Top)                           \
-do {                                                           \
-  if (yydebug)                                                 \
-    yy_stack_print ((Bottom), (Top));                          \
-} while (YYID (0))
+# 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.  |
 `------------------------------------------------*/
 
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
-static void
-yy_reduce_print (YYSTYPE *yyvsp, int yyrule, SQL_input *info)
-#else
 static void
-yy_reduce_print (yyvsp, yyrule, info)
-    YYSTYPE *yyvsp;
-    int yyrule;
-    SQL_input *info;
-#endif
+yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, SQL_input *info)
 {
+  unsigned long int yylno = yyrline[yyrule];
   int yynrhs = yyr2[yyrule];
   int yyi;
-  unsigned long int yylno = yyrline[yyrule];
   YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
-            yyrule - 1, yylno);
+             yyrule - 1, yylno);
   /* The symbols being reduced.  */
   for (yyi = 0; yyi < yynrhs; yyi++)
     {
       YYFPRINTF (stderr, "   $%d = ", yyi + 1);
-      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
-                      &(yyvsp[(yyi + 1) - (yynrhs)])
-                                      , info);
+      yy_symbol_print (stderr,
+                       yystos[yyssp[yyi + 1 - yynrhs]],
+                       &(yyvsp[(yyi + 1) - (yynrhs)])
+                                              , info);
       YYFPRINTF (stderr, "\n");
     }
 }
 
-# define YY_REDUCE_PRINT(Rule)         \
-do {                                   \
-  if (yydebug)                         \
-    yy_reduce_print (yyvsp, Rule, info); \
-} while (YYID (0))
+# define YY_REDUCE_PRINT(Rule)          \
+do {                                    \
+  if (yydebug)                          \
+    yy_reduce_print (yyssp, yyvsp, Rule, info); \
+} while (0)
 
 /* Nonzero means print parse trace.  It is left uninitialized so that
    multiple parsers can coexist.  */
@@ -1052,7 +936,7 @@ int yydebug;
 
 
 /* YYINITDEPTH -- initial size of the parser's stacks.  */
-#ifndef        YYINITDEPTH
+#ifndef YYINITDEPTH
 # define YYINITDEPTH 200
 #endif
 
@@ -1075,15 +959,8 @@ int yydebug;
 #   define yystrlen strlen
 #  else
 /* Return the length of YYSTR.  */
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 static YYSIZE_T
 yystrlen (const char *yystr)
-#else
-static YYSIZE_T
-yystrlen (yystr)
-    const char *yystr;
-#endif
 {
   YYSIZE_T yylen;
   for (yylen = 0; yystr[yylen]; yylen++)
@@ -1099,16 +976,8 @@ yystrlen (yystr)
 #  else
 /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
    YYDEST.  */
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 static char *
 yystpcpy (char *yydest, const char *yysrc)
-#else
-static char *
-yystpcpy (yydest, yysrc)
-    char *yydest;
-    const char *yysrc;
-#endif
 {
   char *yyd = yydest;
   const char *yys = yysrc;
@@ -1138,27 +1007,27 @@ yytnamerr (char *yyres, const char *yystr)
       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;
-         }
+        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: ;
     }
 
@@ -1181,12 +1050,11 @@ static int
 yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
                 yytype_int16 *yyssp, int yytoken)
 {
-  YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]);
+  YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
   YYSIZE_T yysize = yysize0;
-  YYSIZE_T yysize1;
   enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
   /* Internationalized format string. */
-  const char *yyformat = 0;
+  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
@@ -1194,10 +1062,6 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
   int yycount = 0;
 
   /* There are many possibilities here to consider:
-     - Assume YYFAIL is not used.  It's too flawed to consider.  See
-       <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
-       for details.  YYERROR is fine as it does not invoke this
-       function.
      - 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
@@ -1246,11 +1110,13 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
                     break;
                   }
                 yyarg[yycount++] = yytname[yyx];
-                yysize1 = yysize + yytnamerr (0, yytname[yyx]);
-                if (! (yysize <= yysize1
-                       && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
-                  return 2;
-                yysize = yysize1;
+                {
+                  YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
+                  if (! (yysize <= yysize1
+                         && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+                    return 2;
+                  yysize = yysize1;
+                }
               }
         }
     }
@@ -1270,10 +1136,12 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
 # undef YYCASE_
     }
 
-  yysize1 = yysize + yystrlen (yyformat);
-  if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
-    return 2;
-  yysize = yysize1;
+  {
+    YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
+    if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+      return 2;
+    yysize = yysize1;
+  }
 
   if (*yymsg_alloc < yysize)
     {
@@ -1310,83 +1178,39 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
 | Release the memory associated to this symbol.  |
 `-----------------------------------------------*/
 
-/*ARGSUSED*/
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 static void
 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, SQL_input *info)
-#else
-static void
-yydestruct (yymsg, yytype, yyvaluep, info)
-    const char *yymsg;
-    int yytype;
-    YYSTYPE *yyvaluep;
-    SQL_input *info;
-#endif
 {
   YYUSE (yyvaluep);
   YYUSE (info);
-
   if (!yymsg)
     yymsg = "Deleting";
   YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
 
-  switch (yytype)
-    {
-
-      default:
-       break;
-    }
+  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+  YYUSE (yytype);
+  YY_IGNORE_MAYBE_UNINITIALIZED_END
 }
 
 
-/* Prevent warnings from -Wmissing-prototypes.  */
-#ifdef YYPARSE_PARAM
-#if defined __STDC__ || defined __cplusplus
-int yyparse (void *YYPARSE_PARAM);
-#else
-int yyparse ();
-#endif
-#else /* ! YYPARSE_PARAM */
-#if defined __STDC__ || defined __cplusplus
-int yyparse (SQL_input *info);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
 
 
 /*----------.
 | yyparse.  |
 `----------*/
 
-#ifdef YYPARSE_PARAM
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
-int
-yyparse (void *YYPARSE_PARAM)
-#else
-int
-yyparse (YYPARSE_PARAM)
-    void *YYPARSE_PARAM;
-#endif
-#else /* ! YYPARSE_PARAM */
-#if (defined __STDC__ || defined __C99__FUNC__ \
-     || defined __cplusplus || defined _MSC_VER)
 int
 yyparse (SQL_input *info)
-#else
-int
-yyparse (info)
-    SQL_input *info;
-#endif
-#endif
 {
 /* The lookahead symbol.  */
 int yychar;
 
+
 /* The semantic value of the lookahead symbol.  */
-YYSTYPE yylval;
+/* 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;
@@ -1396,10 +1220,10 @@ YYSTYPE yylval;
     int yyerrstatus;
 
     /* The stacks and their tools:
-       `yyss': related to states.
-       `yyvs': related to semantic values.
+       'yyss': related to states.
+       'yyvs': related to semantic values.
 
-       Refer to the stacks thru separate pointers, to allow yyoverflow
+       Refer to the stacks through separate pointers, to allow yyoverflow
        to reallocate them elsewhere.  */
 
     /* The state stack.  */
@@ -1417,7 +1241,7 @@ YYSTYPE yylval;
   int yyn;
   int yyresult;
   /* Lookahead token as an internal (translated) token number.  */
-  int yytoken;
+  int yytoken = 0;
   /* The variables used to return semantic value and location from the
      action routines.  */
   YYSTYPE yyval;
@@ -1435,9 +1259,8 @@ YYSTYPE yylval;
      Keep to zero when no symbol should be popped.  */
   int yylen = 0;
 
-  yytoken = 0;
-  yyss = yyssa;
-  yyvs = yyvsa;
+  yyssp = yyss = yyssa;
+  yyvsp = yyvs = yyvsa;
   yystacksize = YYINITDEPTH;
 
   YYDPRINTF ((stderr, "Starting parse\n"));
@@ -1446,14 +1269,6 @@ YYSTYPE yylval;
   yyerrstatus = 0;
   yynerrs = 0;
   yychar = YYEMPTY; /* Cause a token to be read.  */
-
-  /* Initialize stack pointers.
-     Waste one element of value and location stack
-     so that they stay on the same level as the state stack.
-     The wasted elements are never initialized.  */
-  yyssp = yyss;
-  yyvsp = yyvs;
-
   goto yysetstate;
 
 /*------------------------------------------------------------.
@@ -1474,23 +1289,23 @@ YYSTYPE yylval;
 
 #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;
+        /* 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
@@ -1498,22 +1313,22 @@ YYSTYPE yylval;
 # else
       /* Extend the stack our own way.  */
       if (YYMAXDEPTH <= yystacksize)
-       goto yyexhaustedlab;
+        goto yyexhaustedlab;
       yystacksize *= 2;
       if (YYMAXDEPTH < yystacksize)
-       yystacksize = YYMAXDEPTH;
+        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);
+        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);
+        if (yyss1 != yyssa)
+          YYSTACK_FREE (yyss1);
       }
 # endif
 #endif /* no yyoverflow */
@@ -1522,10 +1337,10 @@ YYSTYPE yylval;
       yyvsp = yyvs + yysize - 1;
 
       YYDPRINTF ((stderr, "Stack size increased to %lu\n",
-                 (unsigned long int) yystacksize));
+                  (unsigned long int) yystacksize));
 
       if (yyss + yystacksize - 1 <= yyssp)
-       YYABORT;
+        YYABORT;
     }
 
   YYDPRINTF ((stderr, "Entering state %d\n", yystate));
@@ -1554,7 +1369,7 @@ yybackup:
   if (yychar == YYEMPTY)
     {
       YYDPRINTF ((stderr, "Reading a token: "));
-      yychar = YYLEX;
+      yychar = yylex (&yylval, info);
     }
 
   if (yychar <= YYEOF)
@@ -1594,7 +1409,9 @@ yybackup:
   yychar = YYEMPTY;
 
   yystate = yyn;
+  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
   *++yyvsp = yylval;
+  YY_IGNORE_MAYBE_UNINITIALIZED_END
 
   goto yynewstate;
 
@@ -1617,7 +1434,7 @@ yyreduce:
   yylen = yyr2[yyn];
 
   /* If YYLEN is nonzero, implement the default value of the action:
-     `$$ = $1'.
+     '$$ = $1'.
 
      Otherwise, the following line sets YYVAL to garbage.
      This behavior is undocumented and Bison
@@ -1631,59 +1448,54 @@ yyreduce:
   switch (yyn)
     {
         case 2:
-
-/* Line 1806 of yacc.c  */
-#line 118 "sql.y"
+#line 118 "sql.y" /* yacc.c:1646  */
     {
         SQL_input* sql = (SQL_input*) info;
-        *sql->view = (yyvsp[(1) - (1)].query);
+        *sql->view = (yyvsp[0].query);
     }
+#line 1469 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 10:
-
-/* Line 1806 of yacc.c  */
-#line 136 "sql.y"
+#line 136 "sql.y" /* yacc.c:1646  */
     {
             SQL_input *sql = (SQL_input*) info;
             MSIVIEW *insert = NULL;
 
-            INSERT_CreateView( sql->db, &insert, (yyvsp[(3) - (10)].string), (yyvsp[(5) - (10)].column_list), (yyvsp[(9) - (10)].column_list), FALSE );
+            INSERT_CreateView( sql->db, &insert, (yyvsp[-7].string), (yyvsp[-5].column_list), (yyvsp[-1].column_list), FALSE );
             if( !insert )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  insert );
         }
+#line 1484 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 11:
-
-/* Line 1806 of yacc.c  */
-#line 147 "sql.y"
+#line 147 "sql.y" /* yacc.c:1646  */
     {
             SQL_input *sql = (SQL_input*) info;
             MSIVIEW *insert = NULL;
 
-            INSERT_CreateView( sql->db, &insert, (yyvsp[(3) - (11)].string), (yyvsp[(5) - (11)].column_list), (yyvsp[(9) - (11)].column_list), TRUE );
+            INSERT_CreateView( sql->db, &insert, (yyvsp[-8].string), (yyvsp[-6].column_list), (yyvsp[-2].column_list), TRUE );
             if( !insert )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  insert );
         }
+#line 1499 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 12:
-
-/* Line 1806 of yacc.c  */
-#line 161 "sql.y"
+#line 161 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *create = NULL;
             UINT r;
 
-            if( !(yyvsp[(5) - (6)].column_list) )
+            if( !(yyvsp[-1].column_list) )
                 YYABORT;
-            r = CREATE_CreateView( sql->db, &create, (yyvsp[(3) - (6)].string), (yyvsp[(5) - (6)].column_list), FALSE );
+            r = CREATE_CreateView( sql->db, &create, (yyvsp[-3].string), (yyvsp[-1].column_list), FALSE );
             if( !create )
             {
                 sql->r = r;
@@ -1692,814 +1504,744 @@ yyreduce:
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  create );
         }
+#line 1520 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 13:
-
-/* Line 1806 of yacc.c  */
-#line 178 "sql.y"
+#line 178 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *create = NULL;
 
-            if( !(yyvsp[(5) - (7)].column_list) )
+            if( !(yyvsp[-2].column_list) )
                 YYABORT;
-            CREATE_CreateView( sql->db, &create, (yyvsp[(3) - (7)].string), (yyvsp[(5) - (7)].column_list), TRUE );
+            CREATE_CreateView( sql->db, &create, (yyvsp[-4].string), (yyvsp[-2].column_list), TRUE );
             if( !create )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  create );
         }
+#line 1537 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 14:
-
-/* Line 1806 of yacc.c  */
-#line 194 "sql.y"
+#line 194 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *update = NULL;
 
-            UPDATE_CreateView( sql->db, &update, (yyvsp[(2) - (6)].string), (yyvsp[(4) - (6)].column_list), (yyvsp[(6) - (6)].expr) );
+            UPDATE_CreateView( sql->db, &update, (yyvsp[-4].string), (yyvsp[-2].column_list), (yyvsp[0].expr) );
             if( !update )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  update );
         }
+#line 1552 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 15:
-
-/* Line 1806 of yacc.c  */
-#line 205 "sql.y"
+#line 205 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *update = NULL;
 
-            UPDATE_CreateView( sql->db, &update, (yyvsp[(2) - (4)].string), (yyvsp[(4) - (4)].column_list), NULL );
+            UPDATE_CreateView( sql->db, &update, (yyvsp[-2].string), (yyvsp[0].column_list), NULL );
             if( !update )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query),  update );
         }
+#line 1567 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 16:
-
-/* Line 1806 of yacc.c  */
-#line 219 "sql.y"
+#line 219 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *delete = NULL;
 
-            DELETE_CreateView( sql->db, &delete, (yyvsp[(2) - (2)].query) );
+            DELETE_CreateView( sql->db, &delete, (yyvsp[0].query) );
             if( !delete )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), delete );
         }
+#line 1582 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 17:
-
-/* Line 1806 of yacc.c  */
-#line 233 "sql.y"
+#line 233 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW *alter = NULL;
 
-            ALTER_CreateView( sql->db, &alter, (yyvsp[(3) - (4)].string), NULL, (yyvsp[(4) - (4)].integer) );
+            ALTER_CreateView( sql->db, &alter, (yyvsp[-1].string), NULL, (yyvsp[0].integer) );
             if( !alter )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), alter );
         }
+#line 1597 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 18:
-
-/* Line 1806 of yacc.c  */
-#line 244 "sql.y"
+#line 244 "sql.y" /* yacc.c:1646  */
     {
             SQL_input *sql = (SQL_input *)info;
             MSIVIEW *alter = NULL;
 
-            ALTER_CreateView( sql->db, &alter, (yyvsp[(3) - (5)].string), (yyvsp[(5) - (5)].column_list), 0 );
+            ALTER_CreateView( sql->db, &alter, (yyvsp[-2].string), (yyvsp[0].column_list), 0 );
             if (!alter)
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), alter );
         }
+#line 1612 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 19:
-
-/* Line 1806 of yacc.c  */
-#line 255 "sql.y"
+#line 255 "sql.y" /* yacc.c:1646  */
     {
             SQL_input *sql = (SQL_input *)info;
             MSIVIEW *alter = NULL;
 
-            ALTER_CreateView( sql->db, &alter, (yyvsp[(3) - (6)].string), (yyvsp[(5) - (6)].column_list), 1 );
+            ALTER_CreateView( sql->db, &alter, (yyvsp[-3].string), (yyvsp[-1].column_list), 1 );
             if (!alter)
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), alter );
         }
+#line 1627 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 20:
-
-/* Line 1806 of yacc.c  */
-#line 269 "sql.y"
+#line 269 "sql.y" /* yacc.c:1646  */
     {
             (yyval.integer) = 1;
         }
+#line 1635 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 21:
-
-/* Line 1806 of yacc.c  */
-#line 273 "sql.y"
+#line 273 "sql.y" /* yacc.c:1646  */
     {
             (yyval.integer) = -1;
         }
+#line 1643 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 22:
-
-/* Line 1806 of yacc.c  */
-#line 280 "sql.y"
+#line 280 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* drop = NULL;
             UINT r;
 
-            r = DROP_CreateView( sql->db, &drop, (yyvsp[(3) - (3)].string) );
+            r = DROP_CreateView( sql->db, &drop, (yyvsp[0].string) );
             if( r != ERROR_SUCCESS || !(yyval.query) )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), drop );
         }
+#line 1659 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 23:
-
-/* Line 1806 of yacc.c  */
-#line 295 "sql.y"
+#line 295 "sql.y" /* yacc.c:1646  */
     {
-            if( SQL_MarkPrimaryKeys( &(yyvsp[(1) - (4)].column_list), (yyvsp[(4) - (4)].column_list) ) )
-                (yyval.column_list) = (yyvsp[(1) - (4)].column_list);
+            if( SQL_MarkPrimaryKeys( &(yyvsp[-3].column_list), (yyvsp[0].column_list) ) )
+                (yyval.column_list) = (yyvsp[-3].column_list);
             else
                 (yyval.column_list) = NULL;
         }
+#line 1670 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 24:
-
-/* Line 1806 of yacc.c  */
-#line 305 "sql.y"
+#line 305 "sql.y" /* yacc.c:1646  */
     {
             column_info *ci;
 
-            for( ci = (yyvsp[(1) - (3)].column_list); ci->next; ci = ci->next )
+            for( ci = (yyvsp[-2].column_list); ci->next; ci = ci->next )
                 ;
 
-            ci->next = (yyvsp[(3) - (3)].column_list);
-            (yyval.column_list) = (yyvsp[(1) - (3)].column_list);
+            ci->next = (yyvsp[0].column_list);
+            (yyval.column_list) = (yyvsp[-2].column_list);
         }
+#line 1684 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 25:
-
-/* Line 1806 of yacc.c  */
-#line 315 "sql.y"
+#line 315 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = (yyvsp[(1) - (1)].column_list);
+            (yyval.column_list) = (yyvsp[0].column_list);
         }
+#line 1692 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 26:
-
-/* Line 1806 of yacc.c  */
-#line 322 "sql.y"
+#line 322 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = (yyvsp[(1) - (2)].column_list);
-            (yyval.column_list)->type = ((yyvsp[(2) - (2)].column_type) | MSITYPE_VALID);
-            (yyval.column_list)->temporary = (yyvsp[(2) - (2)].column_type) & MSITYPE_TEMPORARY ? TRUE : FALSE;
+            (yyval.column_list) = (yyvsp[-1].column_list);
+            (yyval.column_list)->type = ((yyvsp[0].column_type) | MSITYPE_VALID);
+            (yyval.column_list)->temporary = (yyvsp[0].column_type) & MSITYPE_TEMPORARY ? TRUE : FALSE;
         }
+#line 1702 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 27:
-
-/* Line 1806 of yacc.c  */
-#line 331 "sql.y"
+#line 331 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_type) = (yyvsp[(1) - (1)].column_type);
+            (yyval.column_type) = (yyvsp[0].column_type);
         }
+#line 1710 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 28:
-
-/* Line 1806 of yacc.c  */
-#line 335 "sql.y"
+#line 335 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_type) = (yyvsp[(1) - (2)].column_type) | MSITYPE_LOCALIZABLE;
+            (yyval.column_type) = (yyvsp[-1].column_type) | MSITYPE_LOCALIZABLE;
         }
+#line 1718 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 29:
-
-/* Line 1806 of yacc.c  */
-#line 339 "sql.y"
+#line 339 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_type) = (yyvsp[(1) - (2)].column_type) | MSITYPE_TEMPORARY;
+            (yyval.column_type) = (yyvsp[-1].column_type) | MSITYPE_TEMPORARY;
         }
+#line 1726 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 30:
-
-/* Line 1806 of yacc.c  */
-#line 346 "sql.y"
+#line 346 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) |= MSITYPE_NULLABLE;
         }
+#line 1734 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 31:
-
-/* Line 1806 of yacc.c  */
-#line 350 "sql.y"
+#line 350 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_type) = (yyvsp[(1) - (3)].column_type);
+            (yyval.column_type) = (yyvsp[-2].column_type);
         }
+#line 1742 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 32:
-
-/* Line 1806 of yacc.c  */
-#line 357 "sql.y"
+#line 357 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = MSITYPE_STRING | 1;
         }
+#line 1750 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 33:
-
-/* Line 1806 of yacc.c  */
-#line 361 "sql.y"
+#line 361 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_type) = MSITYPE_STRING | 0x400 | (yyvsp[(3) - (4)].column_type);
+            (yyval.column_type) = MSITYPE_STRING | 0x400 | (yyvsp[-1].column_type);
         }
+#line 1758 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 34:
-
-/* Line 1806 of yacc.c  */
-#line 365 "sql.y"
+#line 365 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = MSITYPE_STRING | 0x400;
         }
+#line 1766 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 35:
-
-/* Line 1806 of yacc.c  */
-#line 369 "sql.y"
+#line 369 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = 2 | 0x400;
         }
+#line 1774 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 36:
-
-/* Line 1806 of yacc.c  */
-#line 373 "sql.y"
+#line 373 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = 2 | 0x400;
         }
+#line 1782 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 37:
-
-/* Line 1806 of yacc.c  */
-#line 377 "sql.y"
+#line 377 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = 4;
         }
+#line 1790 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 38:
-
-/* Line 1806 of yacc.c  */
-#line 381 "sql.y"
+#line 381 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_type) = MSITYPE_STRING | MSITYPE_VALID;
         }
+#line 1798 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 39:
-
-/* Line 1806 of yacc.c  */
-#line 388 "sql.y"
+#line 388 "sql.y" /* yacc.c:1646  */
     {
-            if( ( (yyvsp[(1) - (1)].integer) > 255 ) || ( (yyvsp[(1) - (1)].integer) < 0 ) )
+            if( ( (yyvsp[0].integer) > 255 ) || ( (yyvsp[0].integer) < 0 ) )
                 YYABORT;
-            (yyval.column_type) = (yyvsp[(1) - (1)].integer);
+            (yyval.column_type) = (yyvsp[0].integer);
         }
+#line 1808 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 40:
-
-/* Line 1806 of yacc.c  */
-#line 397 "sql.y"
+#line 397 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.query) = (yyvsp[(2) - (2)].query);
+            (yyval.query) = (yyvsp[0].query);
         }
+#line 1816 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 41:
-
-/* Line 1806 of yacc.c  */
-#line 401 "sql.y"
+#line 401 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* distinct = NULL;
             UINT r;
 
-            r = DISTINCT_CreateView( sql->db, &distinct, (yyvsp[(3) - (3)].query) );
+            r = DISTINCT_CreateView( sql->db, &distinct, (yyvsp[0].query) );
             if (r != ERROR_SUCCESS)
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), distinct );
         }
+#line 1832 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 42:
-
-/* Line 1806 of yacc.c  */
-#line 416 "sql.y"
+#line 416 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* select = NULL;
             UINT r;
 
-            if( (yyvsp[(1) - (2)].column_list) )
+            if( (yyvsp[-1].column_list) )
             {
-                r = SELECT_CreateView( sql->db, &select, (yyvsp[(2) - (2)].query), (yyvsp[(1) - (2)].column_list) );
+                r = SELECT_CreateView( sql->db, &select, (yyvsp[0].query), (yyvsp[-1].column_list) );
                 if (r != ERROR_SUCCESS)
                     YYABORT;
 
                 PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), select );
             }
             else
-                (yyval.query) = (yyvsp[(2) - (2)].query);
+                (yyval.query) = (yyvsp[0].query);
         }
+#line 1853 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 44:
-
-/* Line 1806 of yacc.c  */
-#line 437 "sql.y"
+#line 437 "sql.y" /* yacc.c:1646  */
     {
-            (yyvsp[(1) - (3)].column_list)->next = (yyvsp[(3) - (3)].column_list);
+            (yyvsp[-2].column_list)->next = (yyvsp[0].column_list);
         }
+#line 1861 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 45:
-
-/* Line 1806 of yacc.c  */
-#line 441 "sql.y"
+#line 441 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_list) = NULL;
         }
+#line 1869 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 47:
-
-/* Line 1806 of yacc.c  */
-#line 449 "sql.y"
+#line 449 "sql.y" /* yacc.c:1646  */
     {
-            (yyvsp[(1) - (3)].column_list)->next = (yyvsp[(3) - (3)].column_list);
+            (yyvsp[-2].column_list)->next = (yyvsp[0].column_list);
         }
+#line 1877 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 48:
-
-/* Line 1806 of yacc.c  */
-#line 453 "sql.y"
+#line 453 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_list) = NULL;
         }
+#line 1885 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 49:
-
-/* Line 1806 of yacc.c  */
-#line 460 "sql.y"
+#line 460 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* table = NULL;
             UINT r;
 
-            r = TABLE_CreateView( sql->db, (yyvsp[(2) - (2)].string), &table );
+            r = TABLE_CreateView( sql->db, (yyvsp[0].string), &table );
             if( r != ERROR_SUCCESS || !(yyval.query) )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), table );
         }
+#line 1901 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 50:
-
-/* Line 1806 of yacc.c  */
-#line 472 "sql.y"
+#line 472 "sql.y" /* yacc.c:1646  */
     {
             UINT r;
 
-            if( (yyvsp[(4) - (4)].column_list) )
+            if( (yyvsp[0].column_list) )
             {
-                r = (yyvsp[(1) - (4)].query)->ops->sort( (yyvsp[(1) - (4)].query), (yyvsp[(4) - (4)].column_list) );
+                r = (yyvsp[-3].query)->ops->sort( (yyvsp[-3].query), (yyvsp[0].column_list) );
                 if ( r != ERROR_SUCCESS)
                     YYABORT;
             }
 
-            (yyval.query) = (yyvsp[(1) - (4)].query);
+            (yyval.query) = (yyvsp[-3].query);
         }
+#line 1918 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 52:
-
-/* Line 1806 of yacc.c  */
-#line 489 "sql.y"
+#line 489 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* where = NULL;
             UINT r;
 
-            r = WHERE_CreateView( sql->db, &where, (yyvsp[(2) - (2)].string), NULL );
+            r = WHERE_CreateView( sql->db, &where, (yyvsp[0].string), NULL );
             if( r != ERROR_SUCCESS )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), where );
         }
+#line 1934 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 53:
-
-/* Line 1806 of yacc.c  */
-#line 501 "sql.y"
+#line 501 "sql.y" /* yacc.c:1646  */
     {
             SQL_input* sql = (SQL_input*) info;
             MSIVIEW* where = NULL;
             UINT r;
 
-            r = WHERE_CreateView( sql->db, &where, (yyvsp[(2) - (4)].string), (yyvsp[(4) - (4)].expr) );
+            r = WHERE_CreateView( sql->db, &where, (yyvsp[-2].string), (yyvsp[0].expr) );
             if( r != ERROR_SUCCESS )
                 YYABORT;
 
             PARSER_BUBBLE_UP_VIEW( sql, (yyval.query), where );
         }
+#line 1950 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 54:
-
-/* Line 1806 of yacc.c  */
-#line 516 "sql.y"
+#line 516 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.string) = (yyvsp[(1) - (1)].string);
+            (yyval.string) = (yyvsp[0].string);
         }
+#line 1958 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 55:
-
-/* Line 1806 of yacc.c  */
-#line 520 "sql.y"
+#line 520 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.string) = parser_add_table( info, (yyvsp[(3) - (3)].string), (yyvsp[(1) - (3)].string) );
+            (yyval.string) = parser_add_table( info, (yyvsp[0].string), (yyvsp[-2].string) );
             if (!(yyval.string))
                 YYABORT;
         }
+#line 1968 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 56:
-
-/* Line 1806 of yacc.c  */
-#line 529 "sql.y"
+#line 529 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = (yyvsp[(2) - (3)].expr);
+            (yyval.expr) = (yyvsp[-1].expr);
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 1978 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 57:
-
-/* Line 1806 of yacc.c  */
-#line 535 "sql.y"
+#line 535 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_AND, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_AND, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 1988 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 58:
-
-/* Line 1806 of yacc.c  */
-#line 541 "sql.y"
+#line 541 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_OR, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_OR, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 1998 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 59:
-
-/* Line 1806 of yacc.c  */
-#line 547 "sql.y"
+#line 547 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_EQ, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_EQ, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2008 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 60:
-
-/* Line 1806 of yacc.c  */
-#line 553 "sql.y"
+#line 553 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_GT, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_GT, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2018 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 61:
-
-/* Line 1806 of yacc.c  */
-#line 559 "sql.y"
+#line 559 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_LT, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_LT, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2028 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 62:
-
-/* Line 1806 of yacc.c  */
-#line 565 "sql.y"
+#line 565 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_LE, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_LE, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2038 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 63:
-
-/* Line 1806 of yacc.c  */
-#line 571 "sql.y"
+#line 571 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_GE, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_GE, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2048 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 64:
-
-/* Line 1806 of yacc.c  */
-#line 577 "sql.y"
+#line 577 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_complex( info, (yyvsp[(1) - (3)].expr), OP_NE, (yyvsp[(3) - (3)].expr) );
+            (yyval.expr) = EXPR_complex( info, (yyvsp[-2].expr), OP_NE, (yyvsp[0].expr) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2058 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 65:
-
-/* Line 1806 of yacc.c  */
-#line 583 "sql.y"
+#line 583 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_unary( info, (yyvsp[(1) - (3)].expr), OP_ISNULL );
+            (yyval.expr) = EXPR_unary( info, (yyvsp[-2].expr), OP_ISNULL );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2068 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 66:
-
-/* Line 1806 of yacc.c  */
-#line 589 "sql.y"
+#line 589 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_unary( info, (yyvsp[(1) - (4)].expr), OP_NOTNULL );
+            (yyval.expr) = EXPR_unary( info, (yyvsp[-3].expr), OP_NOTNULL );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2078 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 69:
-
-/* Line 1806 of yacc.c  */
-#line 603 "sql.y"
+#line 603 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_list) = parser_alloc_column( info, NULL, NULL );
             if( !(yyval.column_list) )
                 YYABORT;
-            (yyval.column_list)->val = (yyvsp[(1) - (1)].expr);
+            (yyval.column_list)->val = (yyvsp[0].expr);
         }
+#line 2089 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 70:
-
-/* Line 1806 of yacc.c  */
-#line 610 "sql.y"
+#line 610 "sql.y" /* yacc.c:1646  */
     {
             (yyval.column_list) = parser_alloc_column( info, NULL, NULL );
             if( !(yyval.column_list) )
                 YYABORT;
-            (yyval.column_list)->val = (yyvsp[(1) - (3)].expr);
-            (yyval.column_list)->next = (yyvsp[(3) - (3)].column_list);
+            (yyval.column_list)->val = (yyvsp[-2].expr);
+            (yyval.column_list)->next = (yyvsp[0].column_list);
         }
+#line 2101 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 72:
-
-/* Line 1806 of yacc.c  */
-#line 622 "sql.y"
+#line 622 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = (yyvsp[(1) - (3)].column_list);
-            (yyval.column_list)->next = (yyvsp[(3) - (3)].column_list);
+            (yyval.column_list) = (yyvsp[-2].column_list);
+            (yyval.column_list)->next = (yyvsp[0].column_list);
         }
+#line 2110 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 73:
-
-/* Line 1806 of yacc.c  */
-#line 630 "sql.y"
+#line 630 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = (yyvsp[(1) - (3)].column_list);
-            (yyval.column_list)->val = (yyvsp[(3) - (3)].expr);
+            (yyval.column_list) = (yyvsp[-2].column_list);
+            (yyval.column_list)->val = (yyvsp[0].expr);
         }
+#line 2119 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 74:
-
-/* Line 1806 of yacc.c  */
-#line 638 "sql.y"
+#line 638 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_ival( info, (yyvsp[(1) - (1)].integer) );
+            (yyval.expr) = EXPR_ival( info, (yyvsp[0].integer) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2129 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 75:
-
-/* Line 1806 of yacc.c  */
-#line 644 "sql.y"
+#line 644 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_ival( info, -(yyvsp[(2) - (2)].integer) );
+            (yyval.expr) = EXPR_ival( info, -(yyvsp[0].integer) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2139 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 76:
-
-/* Line 1806 of yacc.c  */
-#line 650 "sql.y"
+#line 650 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_sval( info, &(yyvsp[(1) - (1)].str) );
+            (yyval.expr) = EXPR_sval( info, &(yyvsp[0].str) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2149 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 77:
-
-/* Line 1806 of yacc.c  */
-#line 656 "sql.y"
+#line 656 "sql.y" /* yacc.c:1646  */
     {
             (yyval.expr) = EXPR_wildcard( info );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2159 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 78:
-
-/* Line 1806 of yacc.c  */
-#line 665 "sql.y"
+#line 665 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.expr) = EXPR_column( info, (yyvsp[(1) - (1)].column_list) );
+            (yyval.expr) = EXPR_column( info, (yyvsp[0].column_list) );
             if( !(yyval.expr) )
                 YYABORT;
         }
+#line 2169 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 79:
-
-/* Line 1806 of yacc.c  */
-#line 674 "sql.y"
+#line 674 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = parser_alloc_column( info, (yyvsp[(1) - (3)].string), (yyvsp[(3) - (3)].string) );
+            (yyval.column_list) = parser_alloc_column( info, (yyvsp[-2].string), (yyvsp[0].string) );
             if( !(yyval.column_list) )
                 YYABORT;
         }
+#line 2179 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 80:
-
-/* Line 1806 of yacc.c  */
-#line 680 "sql.y"
+#line 680 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[(1) - (1)].string) );
+            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[0].string) );
             if( !(yyval.column_list) )
                 YYABORT;
         }
+#line 2189 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 81:
-
-/* Line 1806 of yacc.c  */
-#line 689 "sql.y"
+#line 689 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = parser_alloc_column( info, (yyvsp[(1) - (3)].string), (yyvsp[(3) - (3)].string) );
+            (yyval.column_list) = parser_alloc_column( info, (yyvsp[-2].string), (yyvsp[0].string) );
             if( !(yyval.column_list) )
                 YYABORT;
         }
+#line 2199 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 82:
-
-/* Line 1806 of yacc.c  */
-#line 695 "sql.y"
+#line 695 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[(1) - (1)].string) );
+            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[0].string) );
             if( !(yyval.column_list) )
                 YYABORT;
         }
+#line 2209 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 83:
-
-/* Line 1806 of yacc.c  */
-#line 701 "sql.y"
+#line 701 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[(1) - (1)].string) );
+            (yyval.column_list) = parser_alloc_column( info, NULL, (yyvsp[0].string) );
             if( !(yyval.column_list) )
                 YYABORT;
         }
+#line 2219 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 84:
-
-/* Line 1806 of yacc.c  */
-#line 710 "sql.y"
+#line 710 "sql.y" /* yacc.c:1646  */
     {
-            (yyval.string) = (yyvsp[(1) - (1)].string);
+            (yyval.string) = (yyvsp[0].string);
         }
+#line 2227 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 85:
-
-/* Line 1806 of yacc.c  */
-#line 717 "sql.y"
+#line 717 "sql.y" /* yacc.c:1646  */
     {
-            if ( SQL_getstring( info, &(yyvsp[(1) - (1)].str), &(yyval.string) ) != ERROR_SUCCESS || !(yyval.string) )
+            if ( SQL_getstring( info, &(yyvsp[0].str), &(yyval.string) ) != ERROR_SUCCESS || !(yyval.string) )
                 YYABORT;
         }
+#line 2236 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 86:
-
-/* Line 1806 of yacc.c  */
-#line 725 "sql.y"
+#line 725 "sql.y" /* yacc.c:1646  */
     {
-            if ( SQL_getstring( info, &(yyvsp[(1) - (1)].str), &(yyval.string) ) != ERROR_SUCCESS || !(yyval.string) )
+            if ( SQL_getstring( info, &(yyvsp[0].str), &(yyval.string) ) != ERROR_SUCCESS || !(yyval.string) )
                 YYABORT;
         }
+#line 2245 "sql.tab.c" /* yacc.c:1646  */
     break;
 
   case 87:
-
-/* Line 1806 of yacc.c  */
-#line 733 "sql.y"
+#line 733 "sql.y" /* yacc.c:1646  */
     {
             (yyval.integer) = SQL_getint( info );
         }
+#line 2253 "sql.tab.c" /* yacc.c:1646  */
     break;
 
 
-
-/* Line 1806 of yacc.c  */
-#line 2515 "sql.tab.c"
+#line 2257 "sql.tab.c" /* yacc.c:1646  */
       default: break;
     }
   /* User semantic actions sometimes alter yychar, and that requires
@@ -2521,7 +2263,7 @@ yyreduce:
 
   *++yyvsp = yyval;
 
-  /* Now `shift' the result of the reduction.  Determine what state
+  /* 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.  */
 
@@ -2536,9 +2278,9 @@ yyreduce:
   goto yynewstate;
 
 
-/*------------------------------------.
-| yyerrlab -- here on detecting error |
-`------------------------------------*/
+/*--------------------------------------.
+| yyerrlab -- here on detecting error |
+`--------------------------------------*/
 yyerrlab:
   /* Make sure we have latest lookahead translation.  See comments at
      user semantic actions for why this is necessary.  */
@@ -2589,20 +2331,20 @@ yyerrlab:
   if (yyerrstatus == 3)
     {
       /* If just tried and failed to reuse lookahead token after an
-        error, discard it.  */
+         error, discard it.  */
 
       if (yychar <= YYEOF)
-       {
-         /* Return failure if at end of input.  */
-         if (yychar == YYEOF)
-           YYABORT;
-       }
+        {
+          /* Return failure if at end of input.  */
+          if (yychar == YYEOF)
+            YYABORT;
+        }
       else
-       {
-         yydestruct ("Error: discarding",
-                     yytoken, &yylval, info);
-         yychar = YYEMPTY;
-       }
+        {
+          yydestruct ("Error: discarding",
+                      yytoken, &yylval, info);
+          yychar = YYEMPTY;
+        }
     }
 
   /* Else will try to reuse lookahead token after shifting the error
@@ -2621,7 +2363,7 @@ yyerrorlab:
   if (/*CONSTCOND*/ 0)
      goto yyerrorlab;
 
-  /* Do not reclaim the symbols of the rule which action triggered
+  /* Do not reclaim the symbols of the rule whose action triggered
      this YYERROR.  */
   YYPOPSTACK (yylen);
   yylen = 0;
@@ -2634,35 +2376,37 @@ yyerrorlab:
 | yyerrlab1 -- common code for both syntax error and YYERROR.  |
 `-------------------------------------------------------------*/
 yyerrlab1:
-  yyerrstatus = 3;     /* Each real token shifted decrements this.  */
+  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;
-           }
-       }
+        {
+          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;
+        YYABORT;
 
 
       yydestruct ("Error: popping",
-                 yystos[yystate], yyvsp, info);
+                  yystos[yystate], yyvsp, info);
       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.  */
@@ -2686,7 +2430,7 @@ yyabortlab:
   yyresult = 1;
   goto yyreturn;
 
-#if !defined(yyoverflow) || YYERROR_VERBOSE
+#if !defined yyoverflow || YYERROR_VERBOSE
 /*-------------------------------------------------.
 | yyexhaustedlab -- memory exhaustion comes here.  |
 `-------------------------------------------------*/
@@ -2705,14 +2449,14 @@ yyreturn:
       yydestruct ("Cleanup: discarding lookahead",
                   yytoken, &yylval, info);
     }
-  /* Do not reclaim the symbols of the rule which action triggered
+  /* 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, info);
+                  yystos[*yyssp], yyvsp, info);
       YYPOPSTACK (1);
     }
 #ifndef yyoverflow
@@ -2723,14 +2467,9 @@ yyreturn:
   if (yymsg != yymsgbuf)
     YYSTACK_FREE (yymsg);
 #endif
-  /* Make sure YYID is used.  */
-  return YYID (yyresult);
+  return yyresult;
 }
-
-
-
-/* Line 2067 of yacc.c  */
-#line 738 "sql.y"
+#line 738 "sql.y" /* yacc.c:1906  */
 
 
 static LPWSTR parser_add_table( void *info, LPCWSTR list, LPCWSTR table )
@@ -2812,7 +2551,7 @@ UINT SQL_getstring( void *info, const struct sql_str *strdata, LPWSTR *str )
         ( (p[0]=='\'') && (p[len-1]!='\'') ) )
         return ERROR_FUNCTION_FAILED;
 
-    /* if there's quotes, remove them */
+    /* if there are quotes, remove them */
     if( ( (p[0]=='`') && (p[len-1]=='`') ) ||
         ( (p[0]=='\'') && (p[len-1]=='\'') ) )
     {
@@ -3010,4 +2749,3 @@ UINT MSI_ParseSQL( MSIDATABASE *db, LPCWSTR command, MSIVIEW **phview,
 
     return ERROR_SUCCESS;
 }
-