diff options
author | dos-reis <gdr@axiomatics.org> | 2014-11-30 06:38:18 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2014-11-30 06:38:18 +0000 |
commit | 172e429ef0ca254a6711d66dbeb52eae09a6dfa9 (patch) | |
tree | 44ad89543dd4c06b481a7891ef75ccabbe1bf860 /src/syntax | |
parent | a436cd068c592428dc67217e427fa3b1b02fea81 (diff) | |
download | open-axiom-172e429ef0ca254a6711d66dbeb52eae09a6dfa9.tar.gz |
Misc cleanup.
Diffstat (limited to 'src/syntax')
-rw-r--r-- | src/syntax/token.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax/token.cc b/src/syntax/token.cc index fe3cd7a7..d66a849e 100644 --- a/src/syntax/token.cc +++ b/src/syntax/token.cc @@ -35,6 +35,10 @@ #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) { switch (tc) { |