Skip to content

Commit fd104c5

Browse files
author
Michael Meskes
committed
Added partly missing VOLATILE keyword.
1 parent 340d446 commit fd104c5

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

src/interfaces/ecpg/ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,6 +1750,10 @@ Mon Feb 16 08:17:19 CET 2004
17501750
Tue Feb 24 16:48:57 CET 2004
17511751

17521752
- Corrected error handling in PGTYPEStimestamp_from_asc.
1753+
1754+
Mon Mar 1 08:56:37 CET 2004
1755+
1756+
- Added partly missing VOLATILE keyword.
17531757
- Set pgtypeslib version to 1.2.
1754-
- Set ecpg version to 3.1.1.
1758+
- Set ecpg version to 3.2.0.
17551759

src/interfaces/ecpg/preproc/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.98 2004/02/15 13:48:54 meskes Exp $
1+
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.99 2004/03/02 06:45:05 meskes Exp $
22

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

77
MAJOR_VERSION=3
8-
MINOR_VERSION=1
9-
PATCHLEVEL=1
8+
MINOR_VERSION=2
9+
PATCHLEVEL=0
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.126 2004/02/24 22:06:32 tgl Exp $
15+
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.127 2004/03/02 06:45:05 meskes Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -184,7 +184,7 @@ ident_cont [A-Za-z\200-\377_0-9\$]
184184

185185
identifier {ident_start}{ident_cont}*
186186

187-
array ({ident_cont}|{whitespace}|[\[\]\+\-\*\%\/\(\)])*
187+
array ({ident_cont}|{whitespace}|[\[\]\+\-\*\%\/\(\)\>\.])*
188188
typecast "::"
189189

190190
/*

src/interfaces/ecpg/preproc/preproc.y

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.275 2004/02/18 08:42:02 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.276 2004/03/02 06:45:05 meskes Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -5666,11 +5666,12 @@ ECPGColLabel: ECPGColLabelCommon { $$ = $1; }
56665666
;
56675667

56685668
ECPGCKeywords: S_AUTO { $$ = make_str("auto"); }
5669-
| S_CONST { $$ = make_str("const"); }
5670-
| S_EXTERN { $$ = make_str("extern"); }
5671-
| S_REGISTER { $$ = make_str("register"); }
5672-
| S_STATIC { $$ = make_str("static"); }
5673-
| S_TYPEDEF { $$ = make_str("typedef"); }
5669+
| S_CONST { $$ = make_str("const"); }
5670+
| S_EXTERN { $$ = make_str("extern"); }
5671+
| S_REGISTER { $$ = make_str("register"); }
5672+
| S_STATIC { $$ = make_str("static"); }
5673+
| S_TYPEDEF { $$ = make_str("typedef"); }
5674+
| S_VOLATILE { $$ = make_str("volatile"); }
56745675
;
56755676

56765677
/*
@@ -6149,6 +6150,7 @@ c_anything: IDENT { $$ = $1; }
61496150
| S_STATIC { $$ = make_str("static"); }
61506151
| S_SUB { $$ = make_str("-="); }
61516152
| S_TYPEDEF { $$ = make_str("typedef"); }
6153+
| S_VOLATILE { $$ = make_str("volatile"); }
61526154
| SQL_BOOL { $$ = make_str("bool"); }
61536155
| SQL_ENUM { $$ = make_str("enum"); }
61546156
| HOUR_P { $$ = make_str("hour"); }

0 commit comments

Comments
 (0)