summaryrefslogtreecommitdiff
path: root/mbld/fsel.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/fsel.myr')
-rw-r--r--mbld/fsel.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbld/fsel.myr b/mbld/fsel.myr
index bdd0103..e40d16c 100644
--- a/mbld/fsel.myr
+++ b/mbld/fsel.myr
@@ -35,11 +35,11 @@ const fseladd = {fsel, f
basename = f[:i]
match std.strrfind(f[i+1:], ".")
| `std.Some j: attrs = f[i+1:][:j]
- | `std.None: std.fatal(1, "unrecognized type for file %s\n", f)
+ | `std.None: std.fatal("unrecognized type for file %s\n", f)
;;
| `std.None:
match std.strrfind(f, ".")
- | `std.None: std.fatal(1, "unrecognized type for file %s\n", f)
+ | `std.None: std.fatal("unrecognized type for file %s\n", f)
| `std.Some i:
basename = f[:i]
attrs = ""
@@ -72,7 +72,7 @@ const fselfin = {fsel
for k in keys
nmatch = std.htgetv(fsel._match, k, -1)
if nmatch == -1
- std.fatal(1, "no applicable file for '%s'\n", k)
+ std.fatal("no applicable file for '%s'\n", k)
;;
ret = std.slpush(ret, std.htgetv(fsel._best, k, ""))
;;
@@ -89,7 +89,7 @@ const addsysattrs = {sa
| "osx": attrs = ["osx", "posixy"][:]
| "linux": attrs = ["linux", "posixy"][:]
| "plan9": attrs = ["plan9"][:]
- | unknown: std.fatal(1, "unknown system \"%s\"\n", unknown)
+ | unknown: std.fatal("unknown system \"%s\"\n", unknown)
;;
for a in attrs
std.htput(sa, a, true)
@@ -97,7 +97,7 @@ const addsysattrs = {sa
match opt_arch
| "x64": attrs = ["x64"][:]
- | unknown: std.fatal(1, "unknown arch %s\n", unknown)
+ | unknown: std.fatal("unknown arch %s\n", unknown)
;;
for a in attrs
std.htput(sa, a, true)