Commit 3cb312d8 authored by Tom Lane's avatar Tom Lane

Fix broken non-YYDEBUG case.

parent e3740d2c
...@@ -87,7 +87,11 @@ char * ...@@ -87,7 +87,11 @@ char *
hashline_number(void) hashline_number(void)
{ {
/* do not print line numbers if we are in debug mode */ /* 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)); char *line = mm_alloc(strlen("\n#line %d \"%s\"\n") + 21 + strlen(input_filename));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment