aboutsummaryrefslogtreecommitdiff
path: root/src/syntax/token.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/token.cxx')
-rw-r--r--src/syntax/token.cxx7
1 files changed, 1 insertions, 6 deletions
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 <iostream>
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;