Skip to content

Commit 73b112b

Browse files
trdthgjdupak
authored andcommitted
Machine: fix instruction tokenized for inst.xxx
1 parent 7e8d3fe commit 73b112b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine/instruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ TokenizedInstruction TokenizedInstruction::from_line(
14881488
}
14891489
end = start;
14901490
while (end < line_str.size()) {
1491-
if (!line_str.at(end).isLetterOrNumber()) { break; }
1491+
if (line_str.at(end).isSpace()) { break; }
14921492
end++;
14931493
}
14941494
QString inst_base = line_str.mid(start, end - start).toLower();

0 commit comments

Comments
 (0)