aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-25 10:41:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-25 10:41:20 +0200
commita1f459f8446370704695919b3131653300866ee9 (patch)
tree8bc4670b2f9355d694e38443d99f506dd0ea9efc /build2/parser.hxx
parent0cef93b4e2e9bf39b0ca542876f9ab1af6d0f01d (diff)
Implement parsing of C++ module declarations
Diffstat (limited to 'build2/parser.hxx')
-rw-r--r--build2/parser.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/parser.hxx b/build2/parser.hxx
index 85da4e5..e7afe3a 100644
--- a/build2/parser.hxx
+++ b/build2/parser.hxx
@@ -27,6 +27,7 @@ namespace build2
// If boot is true, then we are parsing bootstrap.build and modules
// should only be bootstrapped.
//
+ explicit
parser (bool boot = false): fail ("error", &path_), boot_ (boot) {}
// Issue diagnostics and throw failed in case of an error.