diff options
author | Gabriel Dos Reis <gdr@axiomatics.org> | 2017-01-17 04:10:13 -0800 |
---|---|---|
committer | Gabriel Dos Reis <gdr@axiomatics.org> | 2017-01-17 04:10:13 -0800 |
commit | 8988a27cf5f414263d0796a323f0d033265271e7 (patch) | |
tree | 5f59e3c581af034db09d781d671504367851fe62 /src/syntax | |
parent | 557a8218131f5a81954fca2ae1dbffa99ef3adbf (diff) | |
download | open-axiom-8988a27cf5f414263d0796a323f0d033265271e7.tar.gz |
More cleanup.
Diffstat (limited to 'src/syntax')
-rw-r--r-- | src/syntax/token.cxx | 7 |
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; |