diff options
Diffstat (limited to 'src/io/InputFragment.cxx')
-rw-r--r-- | src/io/InputFragment.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/io/InputFragment.cxx b/src/io/InputFragment.cxx index 01970f84..595b88b1 100644 --- a/src/io/InputFragment.cxx +++ b/src/io/InputFragment.cxx @@ -41,6 +41,11 @@ #include <open-axiom/SourceInput> namespace OpenAxiom { + + std::ostream& operator<<(std::ostream& os, FragmentCursor cur) { + return os << '{' << cur.line << '-' << cur.column << '}'; + } + // Formatting program fragments. std::ostream& operator<<(std::ostream& os, const Fragment& f) { std::copy(f.begin(), f.end(), |