diff -r 6eed87ebc5ce -r 86b368a4d80d src/SemanticAnalysis.cpp --- a/src/SemanticAnalysis.cpp Sun Jul 29 12:24:00 2012 -0700 +++ b/src/SemanticAnalysis.cpp Sun Jul 29 12:24:49 2012 -0700 @@ -170,6 +170,8 @@ return "array"; if (type->isFunction()) return "function"; + if (type->isVoid()) + return "void"; if (type->isReference()) type = type->contained(); if (type->tag())