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

Commit68ee58e

Browse files
author
Michael Meskes
committed
*** empty log message ***
1 parentc77ec76 commit68ee58e

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,3 +631,10 @@ Tue Sep 14 22:26:40 CEST 1999
631631
- Return OID in sqlca.sqlerrd[1] if possible.
632632
- Set ecpg version to 2.6.3
633633
- Set library version to 3.0.2
634+
635+
Fri Sep 17 07:43:55 CEST 1999
636+
637+
- Fixed bug in parsing C strings.
638+
- Fixed bug in parsing operators.
639+
- Set ecpg version to 2.6.4
640+

‎src/interfaces/ecpg/include/sqlca.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extern"C"
1919
charsqlerrp[8];
2020
longsqlerrd[6];
2121
/* Element 0: empty*/
22-
/* 1:OID of processed tuple if applicable */
22+
/* 1: OID of processed tuple if applicable */
2323
/* 2: number of rows processed*/
2424
/* after an INSERT, UPDATE or */
2525
/* DELETE statement */

‎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=6
6-
PATCHLEVEL=3
6+
PATCHLEVEL=4
77

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

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,13 @@ xqcat{quote}{space}*\n{space}*{quote}
110110
dquote\"
111111
xdstart{dquote}
112112
xdstop{dquote}
113-
xdcqdq\\\"
114113
xdinside[^"]*
115-
xdcinside({xdinside}|{xdcqdq})*
114+
115+
/* special stuff for C strings */
116+
xdcqq\\\\
117+
xdcqdq\\\"
118+
xdcother[^"]
119+
xdcinside({xdcqq}|{xdcqdq}|{xdcother})
116120

117121
/* Comments
118122
* Ignored by the scanner and parser.
@@ -133,7 +137,7 @@ identifier{letter}{letter_or_digit}*
133137
typecast"::"
134138

135139
self[,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
136-
op_and_self[\~\!\@\#\^\&\|\?\$\:\+\-\*\/\%\<\>\=]
140+
op_and_self[\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
137141
operator{op_and_self}+
138142

139143
xmstop-
@@ -287,7 +291,6 @@ cppline{space}*#.*(\\{space}*\n)*\n*
287291
memcpy(literal+llen, yytext, yyleng+1);
288292
llen += yyleng;
289293
}
290-
291294
<xm>{space}*{/* ignore */ }
292295
<xm>{xmstop}{
293296
BEGIN(SQL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp