diff options
| author | Tom Lane | 1999-09-11 22:26:47 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-09-11 22:26:47 +0000 |
| commit | b65ab3191069944a81c35911c9c846f8e08ef1a2 (patch) | |
| tree | eae807013a5a5f7d2ee09ad32106b82bb0c175c2 /src/interfaces/ecpg | |
| parent | a7fd74edb39abaa9ddd52b735778588a2fb65a52 (diff) | |
Eliminate token length assumption in scanstr().
Diffstat (limited to 'src/interfaces/ecpg')
| -rw-r--r-- | src/interfaces/ecpg/preproc/pgc.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index f583a60294b..211183badf1 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -239,7 +239,7 @@ cppline {space}*#.*(\\{space}*\n)*\n* } <xq>{xqstop} { BEGIN(SQL); - /* yylval.str = mm_strdup(scanstr(literal));*/ + /* yylval.str = scanstr(literal); */ yylval.str = mm_strdup(literal); return SCONST; } @@ -601,7 +601,7 @@ cppline {space}*#.*(\\{space}*\n)*\n* if (strcmp(old, ptr->old) == 0) { free(ptr->new); - /* ptr->new = mm_strdup(scanstr(literal));*/ + /* ptr->new = scanstr(literal); */ ptr->new = mm_strdup(literal); } } @@ -611,7 +611,7 @@ cppline {space}*#.*(\\{space}*\n)*\n* /* initial definition */ this->old = old; - /* this->new = mm_strdup(scanstr(literal));*/ + /* this->new = scanstr(literal); */ this->new = mm_strdup(literal); this->next = defines; defines = this; |
