if (nfile != 0)
fatal("second source file %s", p);
nfile++;
-#endif
+#else
if (p[0] == '-' && p[1] == '\0') {
input = stdin;
parse("STDIN");
continue;
}
-
+#endif
if ((input = fopen(p, "r")) == NULL)
fatal("can't open %s", p);
#ifdef ASLD
parse(p);
fclose(input);
}
+#ifndef ASLD
+ if (nfile == 0) {
+ input = stdin;
+ parse("STDIN");
+ }
+#endif
commfinish();
machfinish(PASS_1);
#ifdef ASLD
#else
if (unresolved)
outhead.oh_flags |= HF_LINK;
+ /*
if (nfile == 0)
fatal("no source file");
+ */
#endif
}