postgres.git / summary / log / commit / refs

commit    1af623c861a0e107df2b5faf39ec0c3dfb4b64e4
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Wed Oct 13 22:09:20 2004 +0000

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


src/interfaces/ecpg/preproc/preproc.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } [parent: 199fb54b6189]