diff --git a/llvm_emulator/parser.py b/llvm_emulator/parser.py index d11d76f..3528864 100644 --- a/llvm_emulator/parser.py +++ b/llvm_emulator/parser.py @@ -474,7 +474,7 @@ class LLVMParser(object): def __init__(self): self.tokens += self.reserved.values() - def build(self, **kwargs): + def build(self): """ Build the parser. @@ -483,8 +483,8 @@ class LLVMParser(object): called prior to parsing. """ - self.lexer = lex.lex(module=self, **kwargs) - self.parser = yacc.yacc(module=self, **kwargs) + self.lexer = lex.lex(module=self) + self.parser = yacc.yacc(module=self) def parse(self, text): """