提交 192dd845 编写于 作者: M Michael Meskes

Using clause has to accept signed numeric constants too.

上级 17dc1736
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.2 2008/11/15 22:18:05 adunstan Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.3 2008/12/12 12:14:43 meskes Exp $ */
statements: /*EMPTY*/
| statements statement
......@@ -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; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册