mirror of https://gitlab.com/ita1024/waf.git
Enable custom regexp in bld(features='subst', re_m4=...)
This commit is contained in:
parent
a29f775851
commit
3581b89fbb
|
@ -694,7 +694,8 @@ class subst_pc(Task.Task):
|
|||
lst.append(g(1))
|
||||
return "%%(%s)s" % g(1)
|
||||
return ''
|
||||
code = re_m4.sub(repl, code)
|
||||
global re_m4
|
||||
code = getattr(self.generator, 're_m4', re_m4).sub(repl, code)
|
||||
|
||||
try:
|
||||
d = self.generator.dct
|
||||
|
|
Loading…
Reference in New Issue