about summary refs log tree commit diff stats
path: root/apps/mu.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-07-20 21:03:55 -0700
committerKartik Agaram <vc@akkartik.com>2020-07-20 21:03:55 -0700
commit97dbe33fd41ec089adbf10a8b1f90d4b86c2bacd (patch)
tree2be3e4df5d8c2b3e415997a85b7a24cf34d79619 /apps/mu.subx
parent01b72aa06487b6818bdaae2dc2eb16d0b3b2d7ee (diff)
downloadmu-97dbe33fd41ec089adbf10a8b1f90d4b86c2bacd.tar.gz
6660
Diffstat (limited to 'apps/mu.subx')
-rw-r--r--apps/mu.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 0f77399b..b8d3d579 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -1039,7 +1039,7 @@ test-convert-invalid-literal:
 #?     # }}}
     # check output
     (check-stream-equal _test-output-stream  ""  "F - test-convert-invalid-literal: output should be empty")
-    (check-next-stream-line-equal _test-error-stream  "fn foo: variable '1n' cannot begin with a digit"  "F - test-convert-invalid-literal: error message")
+    (check-next-stream-line-equal _test-error-stream  "fn foo: variable '1n' cannot begin with a digit (or do you have a typo in a number?)"  "F - test-convert-invalid-literal: error message")
     # check that stop(1) was called
     (check-ints-equal *(edx+4) 2 "F - test-convert-invalid-literal: exit status")
     # don't restore from ebp
@@ -9713,7 +9713,7 @@ $new-literal-integer:abort:
     (write-buffered *(ebp+0x18) %eax)
     (write-buffered *(ebp+0x18) ": variable '")
     (write-slice-buffered *(ebp+0x18) *(ebp+0xc))
-    (write-buffered *(ebp+0x18) "' cannot begin with a digit\n")
+    (write-buffered *(ebp+0x18) "' cannot begin with a digit (or do you have a typo in a number?)\n")
     (flush *(ebp+0x18))
     (stop *(ebp+0x1c) 1)
     # never gets here