Commit db8d661a authored by Igor Dejanovic's avatar Igor Dejanovic

Fixing NoMatch creation in RegExMatch

parent 246bb826
......@@ -477,8 +477,7 @@ class RegExMatch(Match):
else:
if parser.debug:
print "NoMatch at %d" % self.c_pos
parser._nm_raise(self.root if self.root else self.name, self.c_pos,
parser)
parser._nm_raise(self.name, self.c_pos, parser)
class StrMatch(Match):
......
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