diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-15 09:23:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-15 09:23:39 +0200 |
commit | 96c59ff30a2dbe2cc441024c81caaf79823441ac (patch) | |
tree | 3e6108d8bb34627ff1947e6455bded3ca4af2335 /libbuild2/diagnostics.hxx | |
parent | 11f990b55294a9eb8d5d4f29fa9a277702ca72b9 (diff) |
Fix bug in cc::parser location storage
Diffstat (limited to 'libbuild2/diagnostics.hxx')
-rw-r--r-- | libbuild2/diagnostics.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
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_ ()); |