mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-10 12:19:13 +01:00
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))
|
lst.append(g(1))
|
||||||
return "%%(%s)s" % g(1)
|
return "%%(%s)s" % g(1)
|
||||||
return ''
|
return ''
|
||||||
code = re_m4.sub(repl, code)
|
global re_m4
|
||||||
|
code = getattr(self.generator, 're_m4', re_m4).sub(repl, code)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
d = self.generator.dct
|
d = self.generator.dct
|
||||||
|
Loading…
Reference in New Issue
Block a user