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

Commita05977e

Browse files
author
Michael Meskes
committed
- Added missing braces to array parsing.
- Set ecpg version to 3.1.1.- Removed that old debugging output that I forgot the last time.
1 parenteffd0de commita05977e

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,3 +1736,8 @@ Mon Jan 26 21:57:14 CET 2004
17361736
- Fixed parsing of nested structures.
17371737
- Added option to parse header files.
17381738

1739+
Sun Feb 15 14:44:14 CET 2004
1740+
1741+
- Added missing braces to array parsing.
1742+
- Set ecpg version to 3.1.1.
1743+

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.97 2003/12/18 18:55:09 petere Exp $
1+
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.98 2004/02/15 13:48:54 meskes Exp $
22

33
subdir = src/interfaces/ecpg/preproc
44
top_builddir = ../../../..
55
include$(top_builddir)/src/Makefile.global
66

77
MAJOR_VERSION=3
88
MINOR_VERSION=1
9-
PATCHLEVEL=0
9+
PATCHLEVEL=1
1010

1111
overrideCPPFLAGS := -I$(srcdir)/../include -I$(srcdir)$(CPPFLAGS)$(THREAD_CPPFLAGS)\
1212
-DMAJOR_VERSION=$(MAJOR_VERSION)\

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.124 2003/12/29 13:53:04 meskes Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.125 2004/02/15 13:48:54 meskes Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -183,7 +183,7 @@ ident_cont[A-Za-z\200-\377_0-9\$]
183183

184184
identifier{ident_start}{ident_cont}*
185185

186-
array({ident_cont}|{whitespace}|[\+\-\*\%\/\(\)])*
186+
array({ident_cont}|{whitespace}|[\[\]\+\-\*\%\/\(\)])*
187187
typecast"::"
188188

189189
/*

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.271 2004/01/28 09:52:14 meskes Exp $*/
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.272 2004/02/15 13:48:54 meskes Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -4632,7 +4632,6 @@ type_declaration: S_TYPEDEF
46324632
char * dimension =$6.index1;
46334633
char * length =$6.index2;
46344634

4635-
printf("MM: %s\n", $5);
46364635
if (($3.type_enum == ECPGt_struct ||
46374636
$3.type_enum == ECPGt_union) &&
46384637
initializer ==1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp