Skip to content

Commit a05977e

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 parent effd0de commit a05977e

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
override CPPFLAGS := -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy