From: Tom Lane Date: Wed, 13 Oct 2004 22:09:20 +0000 (+0000) Subject: Remove stray semicolons in old ecpg preproc grammar ... modern bison X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fremotes%2Fgithub%2FREL7_1_STABLE;p=thirdparty%2Fpostgresql.git Remove stray semicolons in old ecpg preproc grammar ... modern bison versions won't compile it at all with those there. Probably of only academic interest now, but ... --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 345efb6576e..d5f8e0fc8f1 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -3695,7 +3695,7 @@ index_name: ColId { $$ = $1; }; * Include date/time keywords as SQL92 extension. * Include TYPE as a SQL92 unreserved keyword. - thomas 1997-10-05 */ -func_name: ColId { $$ = $1; }; +func_name: ColId { $$ = $1; } | BETWEEN { $$ = make_str("between");} | ILIKE { $$ = make_str("ilike");} | IN { $$ = make_str("in");} @@ -4292,7 +4292,7 @@ signed_type: SQL_SHORT { $$ = ECPGt_short; } $$ = ECPGt_long; #endif } - | SQL_BOOL { $$ = ECPGt_bool; }; + | SQL_BOOL { $$ = ECPGt_bool; } | FLOAT { $$ = ECPGt_float; } | DOUBLE { $$ = ECPGt_double; } | CHAR { $$ = ECPGt_char; }