aboutsummaryrefslogtreecommitdiff
path: root/build2/parser
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser')
-rw-r--r--build2/parser4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/parser b/build2/parser
index 954a706..a2a046b 100644
--- a/build2/parser
+++ b/build2/parser
@@ -27,7 +27,7 @@ namespace build2
// If boot is true, then we are parsing bootstrap.build and modules
// should only be bootstrapped.
//
- parser (bool boot = false): fail (&path_), boot_ (boot) {}
+ parser (bool boot = false): fail ("error", &path_), boot_ (boot) {}
// Issue diagnostics and throw failed in case of an error.
//
@@ -477,7 +477,7 @@ namespace build2
// Diagnostics.
//
protected:
- const fail_mark<failed> fail;
+ const fail_mark fail;
protected:
bool pre_parse_ = false;