mirror of https://git.sr.ht/~rabbits/uxn
Fixed error message when zero-page label is not found
This commit is contained in:
parent
a635fea52f
commit
035e0d8a3a
|
@ -70,5 +70,14 @@ EOD
|
||||||
expect_failure 'Recursion level too deep: include' <<'EOD'
|
expect_failure 'Recursion level too deep: include' <<'EOD'
|
||||||
include asma-test/in.tal
|
include asma-test/in.tal
|
||||||
EOD
|
EOD
|
||||||
|
expect_failure 'Label not found: ;blah' <<'EOD'
|
||||||
|
|1000 ;blah
|
||||||
|
EOD
|
||||||
|
expect_failure 'Label not found: ,blah' <<'EOD'
|
||||||
|
|1000 ,blah
|
||||||
|
EOD
|
||||||
|
expect_failure 'Label not found: .blah' <<'EOD'
|
||||||
|
|1000 .blah
|
||||||
|
EOD
|
||||||
echo 'All OK'
|
echo 'All OK'
|
||||||
|
|
||||||
|
|
|
@ -671,7 +671,11 @@ include projects/library/heap.tal
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
¬-zero-page
|
¬-zero-page
|
||||||
|
;asma/pass LDA #00 EQU
|
||||||
|
;asma/error LDA2 ORA
|
||||||
|
ORA ,&ignore-error JCN
|
||||||
;asma-msg-zero-page ;asma/error STA2
|
;asma-msg-zero-page ;asma/error STA2
|
||||||
|
&ignore-error
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
@asma-literal-rel-addr
|
@asma-literal-rel-addr
|
||||||
|
|
Loading…
Reference in New Issue