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:
Kelvin Sherlock 2021-04-24 21:04:58 -04:00
parent bdbf17024e
commit b0fbd610c9
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ linkerror php
_QASetWindow
_QAIncTotalErrs
lda :errcode
cmp #constraint
jeq :xit
cmp #notresolved
@ -122,6 +123,7 @@ errtbl dw syntax,str1
dw badasmcmd,str2
dw badcmd,str3
dw badlable,str4
dw badlable.$80,str4
dw outofmem,str5
dw undeflable,str6
dw badoperand,str7