diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2012-11-29 03:11:33 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2012-11-29 03:11:33 +0000 |
commit | 98cb3a32ffa39b70bc7cfdf5f11636a87f45ed17 (patch) | |
tree | d73339905a2a54b7541bdce92c82ab7938628fd8 | |
parent | 86ec5482c05534f828b2b48ab2912b76ec5e434e (diff) | |
download | pyparsing-git-98cb3a32ffa39b70bc7cfdf5f11636a87f45ed17.tar.gz |
Fix minor bug in ErrorStop name/str
-rw-r--r-- | src/pyparsing.py | 1 |
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 ):
|