|
@@ -321,6 +321,10 @@ SQInteger SQLexer::ReadString(SQInteger ndelim,bool verbatim)
|
|
|
}
|
|
}
|
|
|
NEXT();
|
|
NEXT();
|
|
|
if(IS_EOB()) return -1;
|
|
if(IS_EOB()) return -1;
|
|
|
|
|
+ if(start_equals && CUR_CHAR == _SC('\n')) {
|
|
|
|
|
+ NEXT(); //if a new line follows the start of delimiter drop it
|
|
|
|
|
+ if(IS_EOB()) return -1;
|
|
|
|
|
+ }
|
|
|
for(;;) {
|
|
for(;;) {
|
|
|
while(CUR_CHAR != ndelim) {
|
|
while(CUR_CHAR != ndelim) {
|
|
|
switch(CUR_CHAR) {
|
|
switch(CUR_CHAR) {
|