about summary refs log tree commit diff stats
path: root/041name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-16 21:24:21 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-16 21:24:21 -0700
commit0f125d5ff163fafbf5531ce9f54f1021f0277b10 (patch)
treed4164b01d145a319fbd6fdb8ae9b58ea1042a607 /041name.cc
parentc3779a7849804756c22912f8cfb6178863d82fb9 (diff)
downloadmu-0f125d5ff163fafbf5531ce9f54f1021f0277b10.tar.gz
1387
Diffstat (limited to '041name.cc')
-rw-r--r--041name.cc6
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) {