Fix parse_operand
All checks were successful
Validate the build / validate-build (push) Successful in 26s

This commit is contained in:
omicron 2025-04-02 15:49:49 +02:00
parent 000756fca9
commit d40273b329

View File

@ -97,8 +97,8 @@ parse_result_t parse_memory(tokenlist_entry_t *current) {
}
parse_result_t parse_operand(tokenlist_entry_t *current) {
// FIXME: not the correct set of parsers
parser_t parsers[] = {parse_register, parse_number, nullptr};
parser_t parsers[] = {parse_register, parse_memory, parse_immediate,
nullptr};
return parse_any(current, parsers);
}