1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-07 11:29:32 +00:00

added missing parenthesis

This commit is contained in:
Jakub Husak 2022-12-01 15:19:44 +01:00
parent 4d80ec3513
commit 3b0ab7d67e

View File

@ -852,7 +852,7 @@ void readAddrMode() {
case '<':
case '>':
addrMode = AddrMode.IMMEDIATE;
if (inOpcode && line[column] == ' ' || line[column] == '\t')
if (inOpcode && (line[column] == ' ' || line[column] == '\t'))
readSpaces();
if (inOpcode && line[column] == '}')
return;