In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

Commit 9ea2abba authored by eckhart's avatar eckhart

parser.py: comments added for further work

parent a007b727
......@@ -507,7 +507,7 @@ class Parser:
and not grammar.returning_from_recursion__
# variable-manipulating parsers will not be entered into the cache,
# because caching would interfere with changes of variable state
and location > grammar.last_rb__loc__ ):
and location > grammar.last_rb__loc__): # + int(len(text) == int(len(rest))
visited[location] = (node, rest)
if not grammar.returning_from_recursion__:
......@@ -3279,7 +3279,7 @@ class Forward(UnaryParser):
break
result = next_result
depth += 1
if grammar.memoization__ and location > grammar.last_rb__loc__:
if grammar.memoization__ and location > grammar.last_rb__loc__: # + int(len(text) == int(len(result[1]))
visited[location] = result
grammar.returning_from_recursion__ = recursion_state
return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment