2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Include all vars in tuple rules #1883

This commit is contained in:
Thomas Nagy 2016-12-22 12:01:00 +01:00
parent e3e8e6b711
commit c78d53a7a2

View File

@ -989,6 +989,7 @@ def compile_fun_shell(line):
return "%s"
return None
line = reg_act.sub(repl, line) or line
dvars = []
def replc(m):
# performs substitutions and populates dvars
@ -1003,7 +1004,6 @@ def compile_fun_shell(line):
return 'env[%r]' % x
parm = []
dvars = []
app = parm.append
for (var, meth) in extr:
if var == 'SRC':
@ -1167,7 +1167,7 @@ def compile_fun(line, shell=False):
if ret:
return ret
return None
return composed_fun, dvars
return composed_fun, dvars_lst
if shell:
return compile_fun_shell(line)
else: