mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-26 15:53:01 +00:00
Improved error message for unrecognised token
This commit is contained in:
parent
0476a5c167
commit
511aa3c5a9
2 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ expect_failure 'Address outside range: ,hello' <<'EOD'
|
|||
|1000 @hello
|
||||
|2000 ,hello
|
||||
EOD
|
||||
expect_failure 'Label not found: hello' <<'EOD'
|
||||
expect_failure 'Unrecognised token: hello' <<'EOD'
|
||||
hello
|
||||
EOD
|
||||
expect_failure 'Macro already exists: %me' <<'EOD'
|
||||
|
|
|
@ -790,7 +790,7 @@ include projects/library/heap.tal
|
|||
JMP2r
|
||||
|
||||
¬-include
|
||||
;asma-msg-label ;asma/error STA2
|
||||
;asma-msg-token ;asma/error STA2
|
||||
JMP2r
|
||||
|
||||
&too-deep
|
||||
|
@ -813,6 +813,7 @@ include projects/library/heap.tal
|
|||
@asma-msg-zero-page "Address 20 "not 20 "in 20 "zero 20 "page 00
|
||||
@asma-msg-relative "Address 20 "outside 20 "range 00
|
||||
@asma-msg-label "Label 20 "not 20 "found 00
|
||||
@asma-msg-token "Unrecognised 20 "token 00
|
||||
@asma-msg-macro "Macro 20 "already 20 "exists 00
|
||||
@asma-msg-rewound "Memory 20 "overwrite 00
|
||||
@asma-msg-too-deep "Recursion 20 "level 20 "too 20 "deep 00
|
||||
|
|
Loading…
Reference in a new issue