summaryrefslogtreecommitdiff
path: root/src/io/span.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/span.hpp')
-rw-r--r--src/io/span.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/io/span.hpp b/src/io/span.hpp
index e474a7a..9962b7c 100644
--- a/src/io/span.hpp
+++ b/src/io/span.hpp
@@ -46,6 +46,8 @@ namespace io
void note(ZString msg) const { message("note"_s, msg); }
void warning(ZString msg) const { message("warning"_s, msg); }
void error(ZString msg) const { message("error"_s, msg); }
+
+ LineSpan to_span() const;
};
// psst, don't tell anyone