revert 6096a24 - this breaks the case when the "label" is an expression containing spaces.

fixes bug #1853
This commit is contained in:
mrdudz 2022-09-17 14:41:59 +02:00
parent 5493c9e7c2
commit fd6d00a4dd
1 changed files with 1 additions and 4 deletions

View File

@ -399,10 +399,7 @@ static CodeEntry* ParseInsn (CodeSeg* S, LineInfo* LI, const char* L)
default:
/* Absolute, maybe indexed */
L = ReadToken (L, ", ", Arg, sizeof (Arg));
if (*L == ' ') {
L = SkipSpace (L+1);
}
L = ReadToken (L, ",", Arg, sizeof (Arg));
if (*L == '\0') {
/* Absolute, zeropage or branch */
if ((OPC->Info & OF_BRA) != 0) {