fixed TEMPVAR handling

This commit is contained in:
hyunghwan.chung
2015-06-30 15:12:37 +00:00
parent 3e0d6630f1
commit 2d2039f4a5
2 changed files with 9 additions and 37 deletions

View File

@ -2970,7 +2970,7 @@ printf ("\tpush int literal\n");
* stix->c->mth.tmpr_count[0] contains the number of temporaries for a method.
* stix->c->mth.tmpr_count[1] contains the number of temporaries for the block plus the containing method.
* ...
* stix->c->mth.tmpr_count[n] contains the number of temporaries for the block plus all containing method and block.
* stix->c->mth.tmpr_count[n] contains the number of temporaries for the block plus all containing method and blocks.
*/
n = compile_block_expression(stix);
stix->c->mth.blk_depth--;