Add missing token types

This commit is contained in:
Berkus Decker 2017-02-11 16:38:35 +02:00 committed by Berkus Decker
parent 3b9edbf7dc
commit 9da9778663
1 changed files with 2 additions and 0 deletions

View File

@ -290,6 +290,8 @@ LogStream operator<<(LogStream &&stream, BasicTokenizedFile::Token::Type type) {
case Type::Plus: value = "'+'"; break;
case Type::Minus: value = "'-'"; break;
case Type::Equals: value = "'='"; break;
case Type::And: value = "'and'"; break;
case Type::Or: value = "'or'"; break;
case Type::Name: value = "'identifier'"; break;
}
return std::forward<LogStream>(stream) << value;