mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Check for both Informix modes when parsing include files.
This commit is contained in:
parent
9d77708d83
commit
d5353acbc3
@ -1683,6 +1683,11 @@ Tue Oct 7 07:45:09 CEST 2003
|
|||||||
Tue Oct 7 20:26:06 CEST 2003
|
Tue Oct 7 20:26:06 CEST 2003
|
||||||
|
|
||||||
- Fixed floating point exception in long=>numeric transformation.
|
- Fixed floating point exception in long=>numeric transformation.
|
||||||
|
|
||||||
|
Sun Oct 19 15:20:16 CEST 2003
|
||||||
|
|
||||||
|
- Need to check for both Informic compat modes when parsing include
|
||||||
|
files.
|
||||||
- Set ecpg version to 3.0.0
|
- Set ecpg version to 3.0.0
|
||||||
- Set ecpg library to 4.0.0
|
- Set ecpg library to 4.0.0
|
||||||
- Set pgtypes library to 1.0.0
|
- Set pgtypes library to 1.0.0
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.120 2003/08/04 02:40:15 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.121 2003/10/19 13:22:33 meskes Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1066,7 +1066,8 @@ parse_include(void)
|
|||||||
|
|
||||||
/* If file name is enclosed in '"' remove these and look only in '.' */
|
/* If file name is enclosed in '"' remove these and look only in '.' */
|
||||||
/* Informix does look into all include paths though, except filename starts with '/' */
|
/* Informix does look into all include paths though, except filename starts with '/' */
|
||||||
if ((yytext[0] == '"' && yytext[i] == '"') && (compat != ECPG_COMPAT_INFORMIX || yytext[1] == '/'))
|
if ((yytext[0] == '"' && yytext[i] == '"') &&
|
||||||
|
((compat != ECPG_COMPAT_INFORMIX && compat != ECPG_COMPAT_INFORMIX_SE) || yytext[1] == '/'))
|
||||||
{
|
{
|
||||||
yytext[i] = '\0';
|
yytext[i] = '\0';
|
||||||
memmove(yytext, yytext+1, strlen(yytext));
|
memmove(yytext, yytext+1, strlen(yytext));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user