aboutsummaryrefslogtreecommitdiff
path: root/build2/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-22 12:10:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-22 12:10:03 +0200
commit557269660c1d9796a7cf9e911efb9262f645e359 (patch)
tree0323bcb5a90c339fe87fcd193cf71bdcb3431c91 /build2/parser
parentfae6cd2235c907e077dad7b5d8dc9b6d90a78a37 (diff)
Use diagnostics facility from libbutl
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;