dont add whitespace after a label to the actual label, this fixes the root cause of #1252

This commit is contained in:
mrdudz 2022-08-28 03:41:48 +02:00
parent eb21e484ee
commit 6096a24f1d
1 changed files with 4 additions and 1 deletions

View File

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