cleanup of grammer.

This commit is contained in:
Bruce Momjian 1999-03-18 22:01:56 +00:00
parent 30ad427388
commit ddd50c440a
2 changed files with 5 additions and 5 deletions

View File

@ -242,7 +242,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.83 1999/03/18 21:39:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.84 1999/03/18 22:01:50 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -1506,7 +1506,7 @@ static const short yypact[] = { 3123,
7047, 255,-32768, 513, 14408, 7927, 62,-32768,-32768, 15419,
11074, 866, 959,-32768, 41, 757, 758, 263, 771,-32768,
-32768,-32768, 776, 941, 778, 92, 205, 901, 936,-32768,
10883, 186, 267, 780, 783, 791, 793, 9687, 9687, 9687,
10883, 575, 267, 780, 783, 791, 793, 9687, 9687, 9687,
9687, 794, 340, 513, 799,-32768, -27, -13, 802, 872,
7267, 8147, 7267, 7267, 11166, -72, 804, 11057,-32768, 1152,
7927, 798, 784, 809,-32768,-32768,-32768,-32768,-32768,-32768,

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.63 1999/03/18 21:39:56 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.64 1999/03/18 22:01:56 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -316,7 +316,7 @@ Oid param_type(int t); /* used in parse_expr.c */
MAXVALUE, MINVALUE, MOVE,
NEW, NOCREATEDB, NOCREATEUSER, NONE, NOTHING, NOTIFY, NOTNULL,
OFFSET, OIDS, OPERATOR, PASSWORD, PROCEDURAL,
RECIPE, RENAME, RESET, RETURNS, ROW, RULE,
RENAME, RESET, RETURNS, ROW, RULE,
SEQUENCE, SERIAL, SETOF, SHOW, START, STATEMENT, STDIN, STDOUT, TRUSTED,
UNLISTEN, UNTIL, VACUUM, VALID, VERBOSE, VERSION
@ -3715,7 +3715,7 @@ a_expr: attr opt_indirection
/* We allow this for standards-broken SQL products, like MS stuff */
| a_expr '=' NULL_P
{ $$ = makeA_Expr(ISNULL, NULL, $1, NULL); }
| NULL_P '=' %prec '-' a_expr
| NULL_P '=' a_expr /* we need to fix the shift/reduce */
{ $$ = makeA_Expr(ISNULL, NULL, $3, NULL); }
| a_expr '=' a_expr