From 242221c89baa94e888de65e45a7bc75c6f64468a Mon Sep 17 00:00:00 2001 From: cfreksen Date: Thu, 9 Nov 2017 16:41:24 +0100 Subject: [PATCH] Remove unused arguments in parser.py. --- llvm_emulator/parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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): """