about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-25 11:19:56 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-25 11:19:56 -0700
commitb6d51014e7aaaef5bd4cf3e1a78040f77e676df5 (patch)
tree6759a44dcd458ff482e52601c6178ac493eefaf2 /subx
parentef52bbf908f4cba70fa95b54a32d28035fda545c (diff)
downloadmu-b6d51014e7aaaef5bd4cf3e1a78040f77e676df5.tar.gz
5473
Diffstat (limited to 'subx')
-rw-r--r--subx/035labels.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/035labels.cc b/subx/035labels.cc
index fe39a1bf..6f7fdbfe 100644
--- a/subx/035labels.cc
+++ b/subx/035labels.cc
@@ -93,9 +93,9 @@ void check_valid_name(const string& s) {
     return;
   }
   if (isdigit(s.at(0)))
-    raise << "'" << s << "' starts with a digit, and so can be confused with a negative number; use a different name.\n" << end();
+    raise << "'" << s << "' starts with a digit, and so can be confused with a number; use a different name.\n" << end();
   if (SIZE(s) == 2)
-    raise << "'" << s << "' is two characters long which can look like raw hex bytes at a glance; use a different name\n" << end();
+    raise << "'" << s << "' is two characters long, which can look like raw hex bytes at a glance; use a different name\n" << end();
 }
 
 //: Now that that's done, let's start using names as labels.
@@ -329,7 +329,7 @@ void test_label_too_short() {
       "  05  0x0d0c0b0a/imm32\n"
   );
   CHECK_TRACE_CONTENTS(
-      "error: 'xz' is two characters long which can look like raw hex bytes at a glance; use a different name\n"
+      "error: 'xz' is two characters long, which can look like raw hex bytes at a glance; use a different name\n"
   );
 }