From: Tom Lane Date: Thu, 25 Oct 2001 20:56:53 +0000 (+0000) Subject: Remove 294 reduce/reduce conflicts. X-Git-Tag: REL7_2_BETA2~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40ce3a93f19f0c7922b125a7b44939d61eb5c707;p=postgresql Remove 294 reduce/reduce conflicts. --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 4451ee8ca8..c5cf4d1921 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -838,7 +838,7 @@ opt_boolean: TRUE_P { $$ = make_str("true"); } * - an integer or floating point number * - a time interval per SQL99 */ -zone_value: StringConst { $$ = $1; } +zone_value: AllConst { $$ = $1; } | ConstInterval StringConst opt_interval { $$ = cat_str(3, $1, $2, $3); @@ -847,7 +847,6 @@ zone_value: StringConst { $$ = $1; } { $$ = cat_str(6, $1, make_str("("), $3, make_str(")"), $5, $6); } - | NumConst { $$ = $1; } | DEFAULT { $$ = make_str("default"); } | LOCAL { $$ = make_str("local"); } ; @@ -5156,9 +5155,6 @@ ECPGColLabel: ECPGColId { $$ = $1; } | FREEZE { $$ = make_str("freeze"); } | FROM { $$ = make_str("from"); } | FULL { $$ = make_str("full"); } - | IN { $$ = make_str("in"); } - | IS { $$ = make_str("is"); } - | ISNULL { $$ = make_str("isnull"); } | GLOBAL { $$ = make_str("global"); } | GROUP { $$ = make_str("group"); } | HAVING { $$ = make_str("having"); } @@ -5170,6 +5166,8 @@ ECPGColLabel: ECPGColId { $$ = $1; } | INTERSECT { $$ = make_str("intersect"); } | INTERVAL { $$ = make_str("interval"); } | INTO { $$ = make_str("into"); } + | IS { $$ = make_str("is"); } + | ISNULL { $$ = make_str("isnull"); } | JOIN { $$ = make_str("join"); } | LEADING { $$ = make_str("leading"); } | LEFT { $$ = make_str("left"); }