Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit192dd84

Browse files
author
Michael Meskes
committed
Using clause has to accept signed numeric constants too.
1 parent17dc173 commit192dd84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/interfaces/ecpg/preproc/ecpg.trailer

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.2 2008/11/15 22:18:05 adunstan Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.3 2008/12/12 12:14:43 meskes Exp $ */
22

33
statements: /*EMPTY*/
44
| statements statement
@@ -984,7 +984,11 @@ UsingValue: UsingConst
984984
;
985985

986986
UsingConst: Iconst{ $$ = $1; }
987+
| '+' Iconst{ $$ = cat_str(2, make_str("+"), $2); }
988+
| '-' Iconst{ $$ = cat_str(2, make_str("-"), $2); }
987989
| ecpg_fconst{ $$ = $1; }
990+
| '+' ecpg_fconst{ $$ = cat_str(2, make_str("+"), $2); }
991+
| '-' ecpg_fconst{ $$ = cat_str(2, make_str("-"), $2); }
988992
| ecpg_sconst{ $$ = $1; }
989993
| ecpg_bconst{ $$ = $1; }
990994
| ecpg_xconst{ $$ = $1; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp