diff --git a/CppEmitter.cpp b/CppEmitter.cpp index 0a9145d..3fec1fa 100644 --- a/CppEmitter.cpp +++ b/CppEmitter.cpp @@ -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; diff --git a/Nodes.hpp b/Nodes.hpp index 1e086f5..b8665cc 100644 --- a/Nodes.hpp +++ b/Nodes.hpp @@ -38,7 +38,8 @@ enum class Type { FLOAT, BOOL, DOUBLE, - VOID + VOID, + UNKNOWN }; enum class Operator {