Fix parse_operand
All checks were successful
Validate the build / validate-build (push) Successful in 26s
All checks were successful
Validate the build / validate-build (push) Successful in 26s
This commit is contained in:
parent
000756fca9
commit
d40273b329
@ -97,8 +97,8 @@ parse_result_t parse_memory(tokenlist_entry_t *current) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
parse_result_t parse_operand(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_memory, parse_immediate,
|
||||||
parser_t parsers[] = {parse_register, parse_number, nullptr};
|
nullptr};
|
||||||
return parse_any(current, parsers);
|
return parse_any(current, parsers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user