6 lines
171 B
C++
6 lines
171 B
C++
#include "token.hh"
|
|
|
|
std::ostream &operator<<(std::ostream &os, const Token &token) {
|
|
return os << uint8_t(token.type) << ' ' << token.lexeme << ' ' << token.literal;
|
|
}
|