From 8988a27cf5f414263d0796a323f0d033265271e7 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Tue, 17 Jan 2017 04:10:13 -0800 Subject: More cleanup. --- src/syntax/token.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/syntax') diff --git a/src/syntax/token.cxx b/src/syntax/token.cxx index 011520a8..e1c02e3f 100644 --- a/src/syntax/token.cxx +++ b/src/syntax/token.cxx @@ -35,12 +35,7 @@ #include namespace OpenAxiom { - std::ostream& operator<<(std::ostream& os, const Locus& l) { - return os << '{' << l.line << ", " << l.column << '}'; - } - - std::ostream& - operator<<(std::ostream& os, TokenCategory tc) { + std::ostream& operator<<(std::ostream& os, TokenCategory tc) { switch (tc) { case TokenCategory::Unclassified: os << "UNCLASSIFIED"; break; case TokenCategory::Whitespace: os << "WHITESPACE"; break; -- cgit v1.2.3