aboutsummaryrefslogtreecommitdiff
path: root/libbutl/manifest-parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-01-08 16:09:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-08 16:09:09 +0300
commit17be80bea48c942c9496d079e07bc15a27a5d7a2 (patch)
treeebdb51316d848d10481a485db00658a370f9ca29 /libbutl/manifest-parser.cxx
parent6ac4f3bcc0bd1306bf1a8dd1bebae1a00081c6b7 (diff)
Add manifest_parsing() constructor accepting description only
Diffstat (limited to 'libbutl/manifest-parser.cxx')
-rw-r--r--libbutl/manifest-parser.cxx7
1 files changed, 7 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)
+ {
+ }
}