add pic_raise

This commit is contained in:
Yuichi Nishiwaki
2013-10-12 14:40:27 +09:00
parent b284973035
commit 69e927d7bc
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -142,3 +142,10 @@ pic_run(pic_state *pic, struct pic_proc *proc, pic_value args)
STOP:
return *sp;
}
void
pic_raise(pic_state *pic, const char *str)
{
puts(str);
abort();
}