From 3c49c4eb8f98db13eaf688bdcd04581171f9039d Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 2 Nov 2013 15:22:30 +0100 Subject: [PATCH] fix criterion to start `.lib' and `.global gnd' processing --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 8fed7a2dd..f0074d0a5 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -891,7 +891,7 @@ inp_read(FILE *fp, int call_depth, char *dir_name, bool comfile, bool intfile) return rv; } - if (call_depth == 0 && found_end == TRUE) { + if (call_depth == 0 && !comfile) { cc->li_next = xx_new_line(cc->li_next, copy(".global gnd"), 1, 0); if (inp_compat_mode == COMPATMODE_ALL ||