Add default extensions to .include, .library

This commit is contained in:
Paul Koning
2022-06-12 14:51:31 -04:00
parent be7bbc5539
commit db9cb5a9ee
3 changed files with 21 additions and 0 deletions

View File

@@ -502,6 +502,7 @@ O 75 .endc
return 0;
}
name = defext (name, "MAC");
my_searchenv(name, "INCLUDE", hitfile, sizeof(hitfile));
if (hitfile[0] == '\0') {
@@ -569,6 +570,7 @@ O 75 .endc
char hitfile[FILENAME_MAX];
char *name = getstring_fn(cp, &cp);
name = defext (name, "MLB");
my_searchenv(name, "MCALL", hitfile, sizeof(hitfile));
if (hitfile[0]) {