--HG-- branch : pmacs2
@ -207,7 +207,10 @@ class LazyPatternRule(Rule):
self.pattern = pattern
self.d = {}
def _compile(self, d):
try:
self.re = re.compile(self.pattern % d, self.reflags)
except:
self.re = re.compile(self.pattern)
self.d = d
def match(self, lexer, parent):
if self.d != parent.matchd: