From 54728a0f0c68c77272b8f5c9b82e3bcac12f8ee4 Mon Sep 17 00:00:00 2001 From: Paul McGuire Date: Mon, 24 Sep 2018 23:25:51 -0500 Subject: Issue #28, bug in SkipTo when skipping to an expr that saves as a list --- pyparsing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyparsing.py') diff --git a/pyparsing.py b/pyparsing.py index cf75e1e..5b9b1e7 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -74,8 +74,8 @@ classes inherit from. Use the docstrings for examples of how to: - find more useful common expressions in the L{pyparsing_common} namespace class """ -__version__ = "2.2.1" -__versionTime__ = "18 Sep 2018 00:49 UTC" +__version__ = "2.2.2" +__versionTime__ = "25 Sep 2018 04:18 UTC" __author__ = "Paul McGuire " import string @@ -4084,7 +4084,7 @@ class SkipTo(ParseElementEnhance): self.mayReturnEmpty = True self.mayIndexError = False self.includeMatch = include - self.asList = False + self.saveAsList = False if isinstance(failOn, basestring): self.failOn = ParserElement._literalStringClass(failOn) else: -- cgit v1.2.1