mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
allow values in DEFINES to contain equals signs. r=pike (no bug)
This commit is contained in:
parent
086eaca58f
commit
19375ad6bd
@ -174,8 +174,7 @@ class Preprocessor:
|
||||
for k,v in os.environ.iteritems():
|
||||
self.context[k] = v
|
||||
def handleD(option, opt, value, parser):
|
||||
vals = value.split('=')
|
||||
assert len(vals) < 3
|
||||
vals = value.split('=', 1)
|
||||
if len(vals) == 1:
|
||||
vals.append(1)
|
||||
elif unescapeDefines and escapedValue.match(vals[1]):
|
||||
|
Loading…
Reference in New Issue
Block a user