From 1ac548e25144f13215401dfecbbd588a73324720 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Jul 2020 07:04:09 +0200 Subject: Recognize `build2` as special module name in addition to `build` This is for consistency with version constraints in manifest. --- libbuild2/parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 53ff7f7..cda4c69 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -2765,9 +2765,9 @@ namespace build2 fail (l) << "invalid module version '" << i->value << "': " << e; } - // Handle the special 'build' module. + // Handle the special 'build' and 'build2' modules. // - if (n == "build") + if (n == "build2" || n == "build") { if (v) { -- cgit v1.1