diff options
Diffstat (limited to 'aout.myr')
-rw-r--r-- | aout.myr | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -33,10 +33,9 @@ const magic = {arch const wstr = {f, s; check(bio.write(f, s))} const w32 = {f, v : uint32; check(bio.putbe32(f, v))} -generic check = {st : bio.status(@a) +generic check = {st match st - | `bio.Ok _: /* nothing */ - | `bio.Err e: std.fatal("i/o error: {}\n", e) - | `bio.Eof: std.fatal("i/o error: eof\n") + | `std.Ok _: /* nothing */ + | `std.Err e: std.fatal("i/o error: {}\n", e) ;; } |