def setUp(self):
     self.l = Lexer()
     self.l.build()
Beispiel #2
0
 def build(self, **kwargs):
     self.lex = Lexer()
     self.lex.build(reflags=re.UNICODE)
     self.yacc = yacc.yacc(module=self, **kwargs)