Commit 68ee58ed authored by Michael Meskes's avatar Michael Meskes

*** empty log message ***

parent c77ec76e
...@@ -631,3 +631,10 @@ Tue Sep 14 22:26:40 CEST 1999 ...@@ -631,3 +631,10 @@ Tue Sep 14 22:26:40 CEST 1999
- Return OID in sqlca.sqlerrd[1] if possible. - Return OID in sqlca.sqlerrd[1] if possible.
- Set ecpg version to 2.6.3 - Set ecpg version to 2.6.3
- Set library version to 3.0.2 - Set library version to 3.0.2
Fri Sep 17 07:43:55 CEST 1999
- Fixed bug in parsing C strings.
- Fixed bug in parsing operators.
- Set ecpg version to 2.6.4
...@@ -19,7 +19,7 @@ extern "C" ...@@ -19,7 +19,7 @@ extern "C"
char sqlerrp[8]; char sqlerrp[8];
long sqlerrd[6]; long sqlerrd[6];
/* Element 0: empty */ /* Element 0: empty */
/* 1: OID of processed tuple if applicable */ /* 1: OID of processed tuple if applicable */
/* 2: number of rows processed */ /* 2: number of rows processed */
/* after an INSERT, UPDATE or */ /* after an INSERT, UPDATE or */
/* DELETE statement */ /* DELETE statement */
......
...@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global ...@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
MAJOR_VERSION=2 MAJOR_VERSION=2
MINOR_VERSION=6 MINOR_VERSION=6
PATCHLEVEL=3 PATCHLEVEL=4
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \ CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \ -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
......
...@@ -110,9 +110,13 @@ xqcat {quote}{space}*\n{space}*{quote} ...@@ -110,9 +110,13 @@ xqcat {quote}{space}*\n{space}*{quote}
dquote \" dquote \"
xdstart {dquote} xdstart {dquote}
xdstop {dquote} xdstop {dquote}
xdcqdq \\\"
xdinside [^"]* xdinside [^"]*
xdcinside ({xdinside}|{xdcqdq})*
/* special stuff for C strings */
xdcqq \\\\
xdcqdq \\\"
xdcother [^"]
xdcinside ({xdcqq}|{xdcqdq}|{xdcother})
/* Comments /* Comments
* Ignored by the scanner and parser. * Ignored by the scanner and parser.
...@@ -133,7 +137,7 @@ identifier {letter}{letter_or_digit}* ...@@ -133,7 +137,7 @@ identifier {letter}{letter_or_digit}*
typecast "::" typecast "::"
self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|] self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
op_and_self [\~\!\@\#\^\&\|\?\$\:\+\-\*\/\%\<\>\=] op_and_self [\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
operator {op_and_self}+ operator {op_and_self}+
xmstop - xmstop -
...@@ -287,7 +291,6 @@ cppline {space}*#.*(\\{space}*\n)*\n* ...@@ -287,7 +291,6 @@ cppline {space}*#.*(\\{space}*\n)*\n*
memcpy(literal+llen, yytext, yyleng+1); memcpy(literal+llen, yytext, yyleng+1);
llen += yyleng; llen += yyleng;
} }
<xm>{space}* { /* ignore */ } <xm>{space}* { /* ignore */ }
<xm>{xmstop} { <xm>{xmstop} {
BEGIN(SQL); BEGIN(SQL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment