mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix broken non-YYDEBUG case.
This commit is contained in:
parent
e3740d2c59
commit
3cb312d873
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user