Skip to content

Commit 3cb312d

Browse files
committed
Fix broken non-YYDEBUG case.
1 parent e3740d2 commit 3cb312d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interfaces/ecpg/preproc/output.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ char *
8787
hashline_number(void)
8888
{
8989
/* do not print line numbers if we are in debug mode */
90-
if (input_filename && !yydebug)
90+
if (input_filename
91+
#ifdef YYDEBUG
92+
&& !yydebug
93+
#endif
94+
)
9195
{
9296
char *line = mm_alloc(strlen("\n#line %d \"%s\"\n") + 21 + strlen(input_filename));
9397

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy