Fix comment on old-style .lib

This commit is contained in:
Holger Vogt 2023-08-04 20:11:39 +02:00
parent 5704790cc2
commit 2065dee82c
1 changed files with 3 additions and 4 deletions

View File

@ -1350,10 +1350,9 @@ struct inp_read_t inp_read( FILE *fp, int call_depth, const char *dir_name,
*/ */
if (ciprefix(".lib", buffer)) if (ciprefix(".lib", buffer))
if (newcompat.lt || newcompat.ps) { if (newcompat.lt || newcompat.ps) {
/* compatibility mode, /* In lt or ps there is no library section definition defined,
* this is neither a libray section definition nor a * so .lib is interpreted as old style .lib <file name> (no lib
* reference interpret as old style .lib <file name> (no lib * name given, .lib replaced by .include).
* name given)
*/ */
char *s = skip_non_ws(buffer); /* skip over .lib */ char *s = skip_non_ws(buffer); /* skip over .lib */
fprintf(cp_err, " File included as: .inc %s\n", s); fprintf(cp_err, " File included as: .inc %s\n", s);