diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 21:24:21 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 21:24:21 -0700 |
commit | 0f125d5ff163fafbf5531ce9f54f1021f0277b10 (patch) | |
tree | d4164b01d145a319fbd6fdb8ae9b58ea1042a607 /041name.cc | |
parent | c3779a7849804756c22912f8cfb6178863d82fb9 (diff) | |
download | mu-0f125d5ff163fafbf5531ce9f54f1021f0277b10.tar.gz |
1387
Diffstat (limited to '041name.cc')
-rw-r--r-- | 041name.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/041name.cc b/041name.cc index 422a79ef..4e381f31 100644 --- a/041name.cc +++ b/041name.cc @@ -70,7 +70,7 @@ bool disqualified(/*mutable*/ reagent& x) { assert(!x.types.empty()); if (is_raw(x)) return true; if (isa_literal(x)) return true; - if (is_number(x.name)) return true; + if (is_integer(x.name)) return true; if (x.name == "default-space") x.initialized = true; if (x.initialized) return true; @@ -107,14 +107,14 @@ bool is_numeric_location(const reagent& x) { if (isa_literal(x)) return false; if (is_raw(x)) return false; if (x.name == "0") return false; // used for chaining lexical scopes - return is_number(x.name); + return is_integer(x.name); } bool is_named_location(const reagent& x) { if (isa_literal(x)) return false; if (is_raw(x)) return false; if (is_special_name(x.name)) return false; - return !is_number(x.name); + return !is_integer(x.name); } bool is_raw(const reagent& r) { |