Improved error message for unrecognised token
This commit is contained in:
parent
0476a5c167
commit
511aa3c5a9
|
@ -51,7 +51,7 @@ expect_failure 'Address outside range: ,hello' <<'EOD'
|
||||||
|1000 @hello
|
|1000 @hello
|
||||||
|2000 ,hello
|
|2000 ,hello
|
||||||
EOD
|
EOD
|
||||||
expect_failure 'Label not found: hello' <<'EOD'
|
expect_failure 'Unrecognised token: hello' <<'EOD'
|
||||||
hello
|
hello
|
||||||
EOD
|
EOD
|
||||||
expect_failure 'Macro already exists: %me' <<'EOD'
|
expect_failure 'Macro already exists: %me' <<'EOD'
|
||||||
|
|
|
@ -790,7 +790,7 @@ include projects/library/heap.tal
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
¬-include
|
¬-include
|
||||||
;asma-msg-label ;asma/error STA2
|
;asma-msg-token ;asma/error STA2
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
&too-deep
|
&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-zero-page "Address 20 "not 20 "in 20 "zero 20 "page 00
|
||||||
@asma-msg-relative "Address 20 "outside 20 "range 00
|
@asma-msg-relative "Address 20 "outside 20 "range 00
|
||||||
@asma-msg-label "Label 20 "not 20 "found 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-macro "Macro 20 "already 20 "exists 00
|
||||||
@asma-msg-rewound "Memory 20 "overwrite 00
|
@asma-msg-rewound "Memory 20 "overwrite 00
|
||||||
@asma-msg-too-deep "Recursion 20 "level 20 "too 20 "deep 00
|
@asma-msg-too-deep "Recursion 20 "level 20 "too 20 "deep 00
|
||||||
|
|
Loading…
Reference in New Issue