aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/manifest-parser.cxx7
-rw-r--r--libbutl/manifest-parser.mxx2
2 files changed, 9 insertions, 0 deletions
diff --git a/libbutl/manifest-parser.cxx b/libbutl/manifest-parser.cxx
index 9aa35b7..cb2d311 100644
--- a/libbutl/manifest-parser.cxx
+++ b/libbutl/manifest-parser.cxx
@@ -474,4 +474,11 @@ namespace butl
name (n), line (l), column (c), description (d)
{
}
+
+ manifest_parsing::
+ manifest_parsing (const string& d)
+ : runtime_error (d),
+ line (0), column (0), description (d)
+ {
+ }
}
diff --git a/libbutl/manifest-parser.mxx b/libbutl/manifest-parser.mxx
index 0289d6f..cf44679 100644
--- a/libbutl/manifest-parser.mxx
+++ b/libbutl/manifest-parser.mxx
@@ -44,6 +44,8 @@ LIBBUTL_MODEXPORT namespace butl
std::uint64_t column,
const std::string& description);
+ manifest_parsing (const std::string& description);
+
std::string name;
std::uint64_t line;
std::uint64_t column;