#NEWLINE# def __init__( self , ldict , log = None , reflags = 0 ) : #NEWLINE# #INDENT# self . ldict = ldict #NEWLINE# self . error_func = None #NEWLINE# self . tokens = [ ] #NEWLINE# self . reflags = reflags #NEWLINE# self . stateinfo = { #NEWLINE# #INDENT# 'INITIAL' : 'inclusive' , #NEWLINE# #UNINDENT# } #NEWLINE# self . files = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . error = 0 #NEWLINE# if ( log is None ) : #NEWLINE# #INDENT# self . log = PlyLogger ( sys . stderr ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . log = log