From 2065dee82cb4772534940e35889ddeaf1fbcf2c6 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 4 Aug 2023 20:11:39 +0200 Subject: [PATCH] Fix comment on old-style .lib --- src/frontend/inpcom.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 1726feed6..d7b178151 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1350,10 +1350,9 @@ struct inp_read_t inp_read( FILE *fp, int call_depth, const char *dir_name, */ if (ciprefix(".lib", buffer)) if (newcompat.lt || newcompat.ps) { - /* compatibility mode, - * this is neither a libray section definition nor a - * reference interpret as old style .lib (no lib - * name given) + /* In lt or ps there is no library section definition defined, + * so .lib is interpreted as old style .lib (no lib + * name given, .lib replaced by .include). */ char *s = skip_non_ws(buffer); /* skip over .lib */ fprintf(cp_err, " File included as: .inc %s\n", s);