diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-02-09 00:56:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-02-09 00:56:57 +0000 |
commit | 3cb312d8734b88a1a36f40e7e77ba5f95100b388 (patch) | |
tree | dafa77632956cabe68781229707c5b01a8a1f971 /src/interfaces | |
parent | e3740d2c59915b6fd78b2b8aaf63b290a14423c6 (diff) | |
download | postgresql-3cb312d8734b88a1a36f40e7e77ba5f95100b388.tar.gz |
Fix broken non-YYDEBUG case.
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/ecpg/preproc/output.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/output.c b/src/interfaces/ecpg/preproc/output.c index 8e434e18f3..04379aebf3 100644 --- a/src/interfaces/ecpg/preproc/output.c +++ b/src/interfaces/ecpg/preproc/output.c @@ -87,7 +87,11 @@ char * hashline_number(void) { /* do not print line numbers if we are in debug mode */ - if (input_filename && !yydebug) + if (input_filename +#ifdef YYDEBUG + && !yydebug +#endif + ) { char *line = mm_alloc(strlen("\n#line %d \"%s\"\n") + 21 + strlen(input_filename)); |