summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2012-11-29 03:11:33 +0000
committerPaul McGuire <ptmcg@austin.rr.com>2012-11-29 03:11:33 +0000
commit98cb3a32ffa39b70bc7cfdf5f11636a87f45ed17 (patch)
treed73339905a2a54b7541bdce92c82ab7938628fd8
parent86ec5482c05534f828b2b48ab2912b76ec5e434e (diff)
downloadpyparsing-git-98cb3a32ffa39b70bc7cfdf5f11636a87f45ed17.tar.gz
Fix minor bug in ErrorStop name/str
-rw-r--r--src/pyparsing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pyparsing.py b/src/pyparsing.py
index 92a79a9..4534ae2 100644
--- a/src/pyparsing.py
+++ b/src/pyparsing.py
@@ -2185,6 +2185,7 @@ class And(ParseExpression):
class _ErrorStop(Empty):
def __init__(self, *args, **kwargs):
super(And._ErrorStop,self).__init__(*args, **kwargs)
+ self.name = '-'
self.leaveWhitespace()
def __init__( self, exprs, savelist = True ):