values of some compound types can reach to expanstion phase

This commit is contained in:
Yuichi Nishiwaki 2013-11-09 14:11:19 +09:00
parent d3ed7bce53
commit d973f41d84
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ expand(pic_state *pic, pic_value obj, struct syntactic_env *env)
case PIC_TT_PORT:
case PIC_TT_ENV:
case PIC_TT_UNDEF:
pic_error(pic, "logic flaw");
abort(); /* unreachable */
pic_error(pic, "unexpected value type");
return pic_undef_value(); /* unreachable */
}
}