Commit db8d661a authored by Igor Dejanovic's avatar Igor Dejanovic

Fixing NoMatch creation in RegExMatch

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