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

Commite237194

Browse files
committed
From: Michael Meskes <Michael.Meskes@usa.net>++Wed Dec 9 11:24:54 MEZ 1998++ - Synced preproc.y with gram.y and the keywords.c files to add CASE+ statement.++Tue Dec 22 14:16:11 CET 1998++ - Synced preproc.y with gram.y for locking statements.+ - Set version to 2.4.5
1 parentd717160 commite237194

File tree

6 files changed

+204
-23
lines changed

6 files changed

+204
-23
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,3 +356,13 @@ Thu Okt 15 10:05:04 CEST 1998
356356

357357
- Synced preproc.y with gram.y yet again.
358358
- Set version to 2.4.4
359+
360+
Wed Dec 9 11:24:54 MEZ 1998
361+
362+
- Synced preproc.y with gram.y and the keywords.c files to add CASE
363+
statement.
364+
365+
Tue Dec 22 14:16:11 CET 1998
366+
367+
- Synced preproc.y with gram.y for locking statements.
368+
- Set version to 2.4.5

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
33

44
MAJOR_VERSION=2
55
MINOR_VERSION=4
6-
PATCHLEVEL=4
6+
PATCHLEVEL=5
77

88
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION)\
99
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)\

‎src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ main(int argc, char *const argv[])
181181
/* initialize lex */
182182
lex_init();
183183

184-
/* we need two includesand a constant*/
184+
/* we need two includes */
185185
fprintf(yyout,"/* Processed by ecpg (%d.%d.%d) */\n/* These two include files are added by the preprocessor */\n#include <ecpgtype.h>\n#include <ecpglib.h>\n\n",MAJOR_VERSION,MINOR_VERSION,PATCHLEVEL);
186186

187187
/* and parse the source */

‎src/interfaces/ecpg/preproc/keywords.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.6 1998/10/03 02:33:36 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/keywords.c,v 1.7 1998/12/22 18:50:55 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -52,12 +52,14 @@ static ScanKeyword ScanKeywords[] = {
5252
{"by",BY},
5353
{"cache",CACHE},
5454
{"cascade",CASCADE},
55+
{"case",CASE},
5556
{"cast",CAST},
5657
{"char",CHAR},
5758
{"character",CHARACTER},
5859
{"check",CHECK},
5960
{"close",CLOSE},
6061
{"cluster",CLUSTER},
62+
{"coalesce",COALESCE},
6163
{"collate",COLLATE},
6264
{"column",COLUMN},
6365
{"commit",COMMIT},
@@ -89,6 +91,7 @@ static ScanKeyword ScanKeywords[] = {
8991
{"double",DOUBLE},
9092
{"drop",DROP},
9193
{"each",EACH},
94+
{"else",ELSE},
9295
{"encoding",ENCODING},
9396
{"end",END_TRANS},
9497
{"execute",EXECUTE},
@@ -115,8 +118,8 @@ static ScanKeyword ScanKeywords[] = {
115118
{"index",INDEX},
116119
{"inherits",INHERITS},
117120
{"inner",INNER_P},
118-
{"insert",INSERT},
119121
{"insensitive",INSENSITIVE},
122+
{"insert",INSERT},
120123
{"instead",INSTEAD},
121124
{"interval",INTERVAL},
122125
{"into",INTO},
@@ -155,6 +158,7 @@ static ScanKeyword ScanKeywords[] = {
155158
{"notify",NOTIFY},
156159
{"notnull",NOTNULL},
157160
{"null",NULL_P},
161+
{"nullif",NULLIF},
158162
{"numeric",NUMERIC},
159163
{"of",OF},
160164
{"oids",OIDS},
@@ -202,6 +206,7 @@ static ScanKeyword ScanKeywords[] = {
202206
{"stdout",STDOUT},
203207
{"substring",SUBSTRING},
204208
{"table",TABLE},
209+
{"then",THEN},
205210
{"time",TIME},
206211
{"timestamp",TIMESTAMP},
207212
{"timezone_hour",TIMEZONE_HOUR},
@@ -229,6 +234,7 @@ static ScanKeyword ScanKeywords[] = {
229234
{"verbose",VERBOSE},
230235
{"version",VERSION},
231236
{"view",VIEW},
237+
{"when",WHEN},
232238
{"where",WHERE},
233239
{"with",WITH},
234240
{"work",WORK},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp