aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-12-22 19:40:08 -0700
committerBen Burdette <bburdette@gmail.com>2021-12-22 19:40:08 -0700
commitbc20e54e0044e08c68a7af1f1e12d001baba8a74 (patch)
treea227c29ff500724fae6864d5ed353a193940667f /src/libutil/error.hh
parentb4a59a5eec5bdb94ee2bbc8365f024d5787abd60 (diff)
stack traces basically working
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r--src/libutil/error.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh
index b6670c8b2..06301f709 100644
--- a/src/libutil/error.hh
+++ b/src/libutil/error.hh
@@ -106,6 +106,9 @@ void printCodeLines(std::ostream & out,
const ErrPos & errPos,
const LinesOfCode & loc);
+void printAtPos(const ErrPos & pos, std::ostream & out);
+
+
struct Trace {
std::optional<ErrPos> pos;
hintformat hint;