Define as a macro as the remaining fields of the split.

This commit is contained in:
Chris Johns
2013-03-08 18:20:11 +11:00
parent 5ec7fb8151
commit b48dc23f95
2 changed files with 5 additions and 3 deletions

View File

@@ -216,7 +216,9 @@ class buildset:
if l.startswith('%define'):
ls = l.split()
if len(ls) > 2:
self.defaults[ls[1].strip()] = ('none', 'none', ls[2].strip())
self.defaults[ls[1].strip()] = ('none',
'none',
' '.join([f.strip() for f in ls[2:]]))
else:
self.defaults[ls[1].strip()] = ('none', 'none', '1')
elif l.startswith('%include'):