mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
express: More robust memory access operator parsing (nw)
This commit is contained in:
parent
3047b62665
commit
fa2c6e5829
@ -874,7 +874,7 @@ void parsed_expression::parse_symbol_or_number(parse_token &token, const char *&
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for memory @ operators
|
// check for memory @ operators
|
||||||
if (string[0] == '@' || string[0] == '!')
|
if ((string[0] == '@' || string[0] == '!') && (buffer.back() == 'b' || buffer.back() == 'w' || buffer.back() == 'd' || buffer.back() == 'q'))
|
||||||
{
|
{
|
||||||
bool with_se = string[0] == '!';
|
bool with_se = string[0] == '!';
|
||||||
string += 1;
|
string += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user