class Racc::Grammar

def fix_ident

LocationPointer#ident
Rule#ident
def fix_ident
  @rules.each_with_index do |rule, idx|
    rule.ident = idx
  end
end