Method: Racc::State#rr_conflict

Defined in:
lib/racc/state.rb

#rr_conflict(high, low, ctok) ⇒ Object



728
729
730
731
732
733
734
735
736
737
# File 'lib/racc/state.rb', line 728

def rr_conflict(high, low, ctok)
  c = RRconflict.new(@ident, high, low, ctok)

  @rrconf ||= {}
  if a = @rrconf[ctok]
    a.push c
  else
    @rrconf[ctok] = [c]
  end
end