diff options
Diffstat (limited to 'tools/cmake2meson.py')
-rwxr-xr-x | tools/cmake2meson.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 4494f4d..157a7c9 100755 --- a/tools/cmake2meson.py +++ b/tools/cmake2meson.py @@ -120,7 +120,10 @@ class Parser: args.append(self.arguments()) self.expect('rparen') arg = self.current - if self.accept('string') \ + if self.accept('comment'): + rest = self.arguments() + args += rest + elif self.accept('string') \ or self.accept('varexp') \ or self.accept('id'): args.append(arg) |