projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3740d2
)
Fix broken non-YYDEBUG case.
author
Tom Lane
Thu, 9 Feb 2006 00:56:57 +0000
(
00:56
+0000)
committer
Tom Lane
Thu, 9 Feb 2006 00:56:57 +0000
(
00:56
+0000)
src/interfaces/ecpg/preproc/output.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/output.c
b/src/interfaces/ecpg/preproc/output.c
index 8e434e18f3cffee20c4148bd5586bd90202ed272..04379aebf37d617165007eea8f33ed1b72abd209 100644
(file)
--- 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));