From 96c59ff30a2dbe2cc441024c81caaf79823441ac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Nov 2019 09:23:39 +0200 Subject: Fix bug in cc::parser location storage --- libbuild2/diagnostics.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/diagnostics.hxx') diff --git a/libbuild2/diagnostics.hxx b/libbuild2/diagnostics.hxx index 9008fc3..4b3af4e 100644 --- a/libbuild2/diagnostics.hxx +++ b/libbuild2/diagnostics.hxx @@ -356,6 +356,12 @@ namespace build2 } location_prologue + operator() (const location_value& l) const + { + return location_prologue (epilogue_, type_, mod_, name_, l, sverb_ ()); + } + + location_prologue operator() (const path_name& f) const { return location_prologue (epilogue_, type_, mod_, name_, f, sverb_ ()); -- cgit v1.1