diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-03-02 11:18:13 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-03-04 13:00:06 +0100 |
commit | eabc35340dc0fd63d70058f93c94674bc7782c19 (patch) | |
tree | 1430f5b84cb71660355ce64a5951aacdc94f4206 /mesonbuild | |
parent | 8fad06e8c83da1c197bad5970119f33e37258a5d (diff) | |
download | meson-eabc35340dc0fd63d70058f93c94674bc7782c19.zip meson-eabc35340dc0fd63d70058f93c94674bc7782c19.tar.gz meson-eabc35340dc0fd63d70058f93c94674bc7782c19.tar.bz2 |
rewriter: Enforce an empty project ID string
Diffstat (limited to 'mesonbuild')
-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': |