From: Michael Meskes Date: Fri, 12 Dec 2008 12:14:43 +0000 (+0000) Subject: Using clause has to accept signed numeric constants too. X-Git-Tag: recoveryinfrav9~216 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=6f9e294fc449fe22827e9a2287916cc7937d9c28;p=users%2Fsimon%2Fpostgres.git Using clause has to accept signed numeric constants too. --- diff --git a/src/interfaces/ecpg/preproc/ecpg.trailer b/src/interfaces/ecpg/preproc/ecpg.trailer index 1bcabc5ceb..49d53f1c03 100644 --- a/src/interfaces/ecpg/preproc/ecpg.trailer +++ b/src/interfaces/ecpg/preproc/ecpg.trailer @@ -984,7 +984,11 @@ UsingValue: UsingConst ; UsingConst: Iconst { $$ = $1; } + | '+' Iconst { $$ = cat_str(2, make_str("+"), $2); } + | '-' Iconst { $$ = cat_str(2, make_str("-"), $2); } | ecpg_fconst { $$ = $1; } + | '+' ecpg_fconst { $$ = cat_str(2, make_str("+"), $2); } + | '-' ecpg_fconst { $$ = cat_str(2, make_str("-"), $2); } | ecpg_sconst { $$ = $1; } | ecpg_bconst { $$ = $1; } | ecpg_xconst { $$ = $1; }