Fix broken non-YYDEBUG case.

This commit is contained in:
Tom Lane 2006-02-09 00:56:57 +00:00
parent e3740d2c59
commit 3cb312d873

View file

@ -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));