Remove unused arguments in parser.py.
This commit is contained in:
parent
669e8627c8
commit
242221c89b
|
@ -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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user