1
0
forked from VimPlug/jedi

Remove tokens initialization parameter from the parser api.

This commit is contained in:
Dave Halter
2017-03-20 08:34:07 +01:00
parent 42e8861798
commit 689af9fc4e
2 changed files with 2 additions and 4 deletions

View File

@@ -34,8 +34,7 @@ class BaseParser(object):
ast_mapping = {}
default_node = tree.Node
def __init__(self, grammar, tokens, start_symbol='file_input',
error_recovery=False):
def __init__(self, grammar, start_symbol='file_input', error_recovery=False):
self._grammar = grammar
self._start_symbol = start_symbol
self._error_recovery = error_recovery