mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
Missing parentheses in syms.py
This commit is contained in:
parent
113fc8192e
commit
3938bb89aa
@ -33,7 +33,7 @@ class gen_sym(Task):
|
||||
re_nm=re.compile(r'T\s+(_?'+self.generator.export_symbols_regex+r')\b')
|
||||
else:
|
||||
re_nm = re.compile(r'T\s+(' + self.generator.export_symbols_regex + r')\b')
|
||||
cmd = self.env.NM or ['nm'] + ['-g', obj.abspath()]
|
||||
cmd = (self.env.NM or ['nm']) + ['-g', obj.abspath()]
|
||||
syms = re_nm.findall(self.generator.bld.cmd_and_log(cmd, quiet=STDOUT, **kw))
|
||||
self.outputs[0].write('%r' % syms)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user