diff options
Diffstat (limited to 'pyparsing/core.py')
-rw-r--r-- | pyparsing/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/core.py b/pyparsing/core.py index 07d0b6e..e2efe8a 100644 --- a/pyparsing/core.py +++ b/pyparsing/core.py @@ -4443,7 +4443,7 @@ class Forward(ParseElementEnhance): prev_loc, prev_result = memo[self] if isinstance(prev_result, Exception): raise prev_result - return prev_loc, prev_result + return prev_loc, prev_result.copy() except KeyError: # we are searching for the best result – keep on improving prev_loc, prev_result = memo[self] = loc, ParseException( |