package-type imports

This commit is contained in:
2026-06-10 00:08:33 +02:00
parent 087fdb45d5
commit d6e03b6f08
104 changed files with 1799 additions and 273 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ import "core:os/os2"
main :: proc() {
if len(os2.args) != 4 || os2.args[2] != "-o" {
fmt.eprintln("usage: brolang <input.bro> -o <executable>")
fmt.eprintln("usage: brolang <package-directory> -o <executable>")
os2.exit(2)
}
status := compiler.compile_file(os2.args[1], os2.args[3])
status := compiler.compile_package(os2.args[1], os2.args[3])
if status != 0 {
os2.exit(status)
}