public void add_transition(symbol on_sym,lalr_state to_st) throws internal_error {
  lalr_transition trans;
  trans=new lalr_transition(on_sym,to_st,_transitions);
  _transitions=trans;
}

public void add_transition ( symbol on_sym , lalr_state to_st ) throws internal_error { lalr_transition trans ; trans = new lalr_transition ( on_sym , to_st , _transitions ) ; _transitions = trans ; }
add a transition out of this state to another .
