Remove unused arguments in parser.py.

This commit is contained in:
cfreksen 2017-11-09 16:41:24 +01:00
parent 669e8627c8
commit 242221c89b
No known key found for this signature in database
GPG Key ID: EAC13EE101008978

View File

@ -474,7 +474,7 @@ class LLVMParser(object):
def __init__(self): def __init__(self):
self.tokens += self.reserved.values() self.tokens += self.reserved.values()
def build(self, **kwargs): def build(self):
""" """
Build the parser. Build the parser.
@ -483,8 +483,8 @@ class LLVMParser(object):
called prior to parsing. called prior to parsing.
""" """
self.lexer = lex.lex(module=self, **kwargs) self.lexer = lex.lex(module=self)
self.parser = yacc.yacc(module=self, **kwargs) self.parser = yacc.yacc(module=self)
def parse(self, text): def parse(self, text):
""" """