class Racc::Grammar

def compute_nullable_0

Sym#self_null?
def compute_nullable_0
  @symboltable.each do |s|
    if s.terminal?
      s.snull = false
    else
      s.snull = s.heads.any? {|loc| loc.reduce? }
    end
  end
end