#NEWLINE# def setup( self , gen ) : #NEWLINE# #INDENT# Node . setup ( self , gen ) #NEWLINE# try : #NEWLINE# #INDENT# self . target = gen . rules [ self . name ] #NEWLINE# if ( self . accepts_epsilon != self . target . accepts_epsilon ) : #NEWLINE# #INDENT# self . accepts_epsilon = self . target . accepts_epsilon #NEWLINE# gen . changed ( ) #NEWLINE# #UNINDENT# #UNINDENT# except KeyError : #NEWLINE# #INDENT# print ( ( 'Error: no rule <%s>' % self . name ) , file = sys . stderr ) #NEWLINE# self . target = self