| IDENT '(' Exprs ')'
@{
- /* TODO: soffset sollte eigentlich anzahl des paramcounts in Exprs + vars die existieren sein */
@i {
@Term.node@ = new_call(@IDENT.name@, new_arg(new_nothing(), new_nothing(), 0) /*this*/,
@Exprs.node@, @Term.gparamges@, @Term.vars_in@);
| Term '.' IDENT '(' Exprs ')'
@{
- @i @Term.node@ = new_node(O_CALL, TREENULL, TREENULL);
+ @i {
+ @Term.node@ = new_call(@IDENT.name@, new_arg(@Term.1.node@, new_nothing(), 0) /*this*/,
+ @Exprs.node@, @Term.gparamges@, @Term.vars_in@);
+ @Term.node@->soffset = @Exprs.paramcount@;
+ }
@i @Term.imm@ = 0;
@i @Term.call@ = 1;
+ @reg @Exprs.node@->reg = @Term.1.node@->reg = @Term.node@->kids[0]->reg = @Term.node@->reg;
@}
;