def build(self): '''Initialize the tokenizer.''' self.lexer = lex.lex(object=self, reflags=(re.DOTALL | re.MULTILINE | re.VERBOSE)) self.lexer.x = 1