cmake2meson: convert varexp to lowercase
since variable names in 'set' statements are converted to lowercase, the variable itself should be converted to lower-case too when used.
This commit is contained in:
parent
567b51ac71
commit
4cbca49976
|
@ -158,7 +158,7 @@ class Converter:
|
|||
if i.tid == 'id':
|
||||
res.append("'%s'" % i.value)
|
||||
elif i.tid == 'varexp':
|
||||
res.append('%s' % i.value)
|
||||
res.append('%s' % i.value.lower())
|
||||
elif i.tid == 'string':
|
||||
res.append("'%s'" % i.value)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue