1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-15 03:29:31 +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 '<':
case '>': case '>':
addrMode = AddrMode.IMMEDIATE; addrMode = AddrMode.IMMEDIATE;
if (inOpcode && line[column] == ' ' || line[column] == '\t') if (inOpcode && (line[column] == ' ' || line[column] == '\t'))
readSpaces(); readSpaces();
if (inOpcode && line[column] == '}') if (inOpcode && line[column] == '}')
return; return;