def setup(self, gen):
        Node.setup(self, gen)
        try:
            self.target = gen.rules[self.name]
            if self.accepts_epsilon != self.target.accepts_epsilon:
                self.accepts_epsilon = self.target.accepts_epsilon
                gen.changed()
        except __HOLE__: # Oops, it's nonexistent
            print('Error: no rule <%s>' % self.name, file=sys.stderr)
            self.target = self
dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/NonTerminal.setup