summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/pgc.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/preproc/pgc.l')
-rw-r--r--src/interfaces/ecpg/preproc/pgc.l9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l
index 071dc4731d..1585e395b0 100644
--- a/src/interfaces/ecpg/preproc/pgc.l
+++ b/src/interfaces/ecpg/preproc/pgc.l
@@ -248,7 +248,8 @@ cppline {space}*#.*(\\{space}*\n)*\n*
}
<xq>{xqstop} {
BEGIN(SQL);
- yylval.str = mm_strdup(scanstr(literal));
+ /* yylval.str = mm_strdup(scanstr(literal));*/
+ yylval.str = mm_strdup(literal);
return SCONST;
}
<xq>{xqdouble} |
@@ -609,7 +610,8 @@ cppline {space}*#.*(\\{space}*\n)*\n*
if (strcmp(old, ptr->old) == 0)
{
free(ptr->new);
- ptr->new = mm_strdup(scanstr(literal));
+ /* ptr->new = mm_strdup(scanstr(literal));*/
+ ptr->new = mm_strdup(literal);
}
}
if (ptr == NULL)
@@ -618,7 +620,8 @@ cppline {space}*#.*(\\{space}*\n)*\n*
/* initial definition */
this->old = old;
- this->new = mm_strdup(scanstr(literal));
+ /* this->new = mm_strdup(scanstr(literal));*/
+ this->new = mm_strdup(literal);
this->next = defines;
defines = this;
}