Skip to content

Commit

Permalink
Finish FSM early if needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Jan 29, 2012
1 parent 8d73d6e commit f25bf74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pmc/callcontext.pmc
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,9 @@ Set raw signature and start FSM
SET_ATTR_state(INTERP, SELF, param_positional);
SET_ATTR_raw_args(INTERP, SELF, ++raw_args);
SET_ATTR_current_arg(INTERP, SELF, 1);
if (VTABLE_get_integer(INTERP, pmc) == 1) {
SET_ATTR_state(INTERP, SELF, param_finished);
}
}
}
}
Expand Down

0 comments on commit f25bf74

Please sign in to comment.