diff options
Diffstat (limited to 'mesonbuild/rewriter.py')
-rw-r--r-- | mesonbuild/rewriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/rewriter.py b/mesonbuild/rewriter.py index 5822301..b344ce6 100644 --- a/mesonbuild/rewriter.py +++ b/mesonbuild/rewriter.py @@ -479,6 +479,8 @@ class Rewriter: node = None arg_node = None if cmd['function'] == 'project': + if cmd['id'] != '': + mlog.error('The ID for the function type project must be an empty string --> skipping') node = self.interpreter.project_node arg_node = node.args elif cmd['function'] == 'target': |