add the alias of call/cc

This commit is contained in:
Yuichi Nishiwaki 2014-09-08 19:38:33 +09:00
parent 4483f8224a
commit f7e0797f7c
1 changed files with 1 additions and 0 deletions

1
cont.c
View File

@ -353,6 +353,7 @@ void
pic_init_cont(pic_state *pic) pic_init_cont(pic_state *pic)
{ {
pic_defun(pic, "call-with-current-continuation", pic_cont_callcc); pic_defun(pic, "call-with-current-continuation", pic_cont_callcc);
pic_defun(pic, "call/cc", pic_cont_callcc);
pic_defun(pic, "continue", pic_cont_continue); pic_defun(pic, "continue", pic_cont_continue);
pic_defun(pic, "dynamic-wind", pic_cont_dynamic_wind); pic_defun(pic, "dynamic-wind", pic_cont_dynamic_wind);
pic_defun(pic, "values", pic_cont_values); pic_defun(pic, "values", pic_cont_values);