Adding Type::UNKNOWN

This commit is contained in:
Stefano Sanfilippo 2015-03-07 14:03:07 +01:00
parent 754485e40b
commit bb675a09d7
2 changed files with 5 additions and 1 deletions

View File

@ -288,6 +288,9 @@ std::ostream& operator<<(std::ostream &stream, Type const& type) {
case Type::VOID:
stream << "void";
break;
case Type::UNKNOWN:
stream << "???????????";
break;
}
return stream;

View File

@ -38,7 +38,8 @@ enum class Type {
FLOAT,
BOOL,
DOUBLE,
VOID
VOID,
UNKNOWN
};
enum class Operator {