mirror of
https://github.com/frida/tinycc
synced 2024-11-24 16:49:44 +03:00
allow (base,index) as alias to (base,index,1)
This commit is contained in:
parent
5487bc23c8
commit
6ca0299e5b
@ -320,8 +320,10 @@ static void parse_operand(TCCState *s1, Operand *op)
|
||||
if (tok != ',') {
|
||||
op->reg2 = asm_parse_reg();
|
||||
}
|
||||
skip(',');
|
||||
op->shift = get_reg_shift(s1);
|
||||
if (tok == ',') {
|
||||
next();
|
||||
op->shift = get_reg_shift(s1);
|
||||
}
|
||||
}
|
||||
skip(')');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user