mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
waf: Update to new upstream version.
This commit is contained in:
parent
580657bc25
commit
1f29707f57
@ -555,8 +555,7 @@ def parse_char(txt):
|
||||
except KeyError: raise PreprocError("could not parse char literal '%s'" % txt)
|
||||
|
||||
@Utils.run_once
|
||||
def tokenize(s):
|
||||
"""convert a string into a list of tokens (shlex.split does not apply to c/c++/d)"""
|
||||
def tokenize_private(s):
|
||||
ret = []
|
||||
for match in re_clexer.finditer(s):
|
||||
m = match.group
|
||||
@ -591,6 +590,10 @@ def tokenize(s):
|
||||
break
|
||||
return ret
|
||||
|
||||
def tokenize(s):
|
||||
"""convert a string into a list of tokens (shlex.split does not apply to c/c++/d)"""
|
||||
return tokenize_private(s)[:]
|
||||
|
||||
@Utils.run_once
|
||||
def define_name(line):
|
||||
return re_mac.match(line).group(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user