Fix .library pseudo

Two problems:
1. Spurious "junk at end of line" message because no parsing was done
in pass 2
2. Error messages not shown because error printing only happens in
pass 2
Solution for both is to process the directive in both passes.
This commit is contained in:
Paul Koning
2022-06-13 20:34:49 -04:00
parent 43d7b493fb
commit c42c5732b3

View File

@@ -568,7 +568,7 @@ O 75 .endc
}
case P_LIBRARY:
if (pass == 0) {
{
char hitfile[FILENAME_MAX];
char *name = getstring_fn(cp, &cp);