compiler: separate package exports from entry roots
This commit is contained in:
@@ -148,7 +148,7 @@ export fn main(argc: i32, argv: **u8) i32 = {
|
||||
// silently). Mirrors w6c main.ww:162 / cmd/w6c/main.c.
|
||||
if (l.errs > 0 || ps.errs > 0) { return 1; };
|
||||
let empty: str;
|
||||
if (wcc.compilefile(f, 0, empty, 0, empty) != 0) { return 1; };
|
||||
if (wcc.compilefile(f, 0, 0, empty, 0, empty, 0) != 0) { return 1; };
|
||||
};};};};
|
||||
|
||||
if (l.errs > 0) { return 1; };
|
||||
|
||||
Reference in New Issue
Block a user