fix broken pic_type_repr

This commit is contained in:
Yuichi Nishiwaki 2013-11-22 03:27:09 -08:00
parent f610424ae5
commit 626c0adb3a
1 changed files with 6 additions and 2 deletions

View File

@ -35,20 +35,24 @@ pic_type(pic_value v)
const char * const char *
pic_type_repr(enum pic_tt tt) pic_type_repr(enum pic_tt tt)
{ {
static const char *reprs[13] = { static const char *reprs[17] = {
"nil", "nil",
"boolean", "boolean",
"float", "float",
"int", "int",
"symbol", "symbol",
"char",
"eof", "eof",
"undef", "undef",
"pair", "pair",
"string", "string",
"vector", "vector",
"blob",
"proc", "proc",
"port", "port",
"env" "error",
"env",
"cont"
}; };
return reprs[tt]; return reprs[tt];