7a: fix post increment operands

This commit is contained in:
cinap_lenrek 2019-04-08 13:50:11 +02:00
parent 14c7edf96e
commit 275fbc93fd

View file

@ -542,8 +542,10 @@ ioreg:
} }
| '(' sreg ')' con '!' | '(' sreg ')' con '!'
{ {
$$ = nullgen;
$$.type = D_XPOST; $$.type = D_XPOST;
$$.offset = $2; $$.reg = $2;
$$.offset = $4;
} }
| '(' sreg ')' '(' indexreg ')' | '(' sreg ')' '(' indexreg ')'
{ {