mirror of
https://github.com/marketideas/qasm.git
synced 2024-06-02 08:41:27 +00:00
1. some, not all, badlable errors have bit $80 set (fatal indicator I believe). this is missing from the error table so they generate an undefined error.
2. error code isn't reloaded when checking for constraint/not resolved errors (which are handled specially), which would result in a second undefined error for them.
This commit is contained in:
parent
bdbf17024e
commit
b0fbd610c9
|
@ -15,6 +15,7 @@ linkerror php
|
||||||
_QASetWindow
|
_QASetWindow
|
||||||
|
|
||||||
_QAIncTotalErrs
|
_QAIncTotalErrs
|
||||||
|
lda :errcode
|
||||||
cmp #constraint
|
cmp #constraint
|
||||||
jeq :xit
|
jeq :xit
|
||||||
cmp #notresolved
|
cmp #notresolved
|
||||||
|
@ -122,6 +123,7 @@ errtbl dw syntax,str1
|
||||||
dw badasmcmd,str2
|
dw badasmcmd,str2
|
||||||
dw badcmd,str3
|
dw badcmd,str3
|
||||||
dw badlable,str4
|
dw badlable,str4
|
||||||
|
dw badlable.$80,str4
|
||||||
dw outofmem,str5
|
dw outofmem,str5
|
||||||
dw undeflable,str6
|
dw undeflable,str6
|
||||||
dw badoperand,str7
|
dw badoperand,str7
|
||||||
|
|
Loading…
Reference in New Issue
Block a user