summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-07-09 23:55:41 -0700
committerOri Bernstein <ori@eigenstate.org>2015-07-09 23:55:41 -0700
commit12df9f45f4f383a6bdf8939b44a3b499edee853e (patch)
tree8d288c88dffe8cdf01d266a428bd8870d3e8c581 /mbld/deps.myr
parent6d4651504d015f853c5ce79e77c73b5b8d48793f (diff)
downloadmc-12df9f45f4f383a6bdf8939b44a3b499edee853e.tar.gz
Refactor namespaces.
We no longer store subnamespaces in the stab node; now they're a part of the file.
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 388b049..f8fd661 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -234,7 +234,8 @@ const scrapelibs = {dg, lib, incs
| `std.None: std.fatal("library {}: could not read usefile\n", lib)
;;
match bio.getbe32(f)
- | `std.Some 3: /* nothing: version matches. */
+ | `std.Some 4: /* nothing: version matches. */
+ | `std.Some 3: std.fput(1, "library {}: warning: old usefile version\n", lib)
| `std.Some 2: std.fput(1, "library {}: warning: old usefile version\n", lib)
| `std.Some 1: std.fput(1, "library {}: warning: old usefile version\n", lib)
| `std.Some 0: std.fput(1, "library {}: warning: old usefile version\n", lib)