mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Fix broken non-YYDEBUG case.
This commit is contained in:
parent
e3740d2c59
commit
3cb312d873
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user