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 *
pic_type_repr(enum pic_tt tt)
{
static const char *reprs[13] = {
static const char *reprs[17] = {
"nil",
"boolean",
"float",
"int",
"symbol",
"char",
"eof",
"undef",
"pair",
"string",
"vector",
"blob",
"proc",
"port",
"env"
"error",
"env",
"cont"
};
return reprs[tt];