[bugfix] continue should set cont->results

This commit is contained in:
Yuichi Nishiwaki 2014-09-05 14:08:13 +09:00
parent a0945a323f
commit 3a4de8895e
1 changed files with 2 additions and 0 deletions

2
cont.c
View File

@ -262,6 +262,8 @@ pic_cont_continue(pic_state *pic)
pic_assert_type(pic, cont, cont); pic_assert_type(pic, cont, cont);
pic_cont_ptr(cont)->results = pic_list_by_array(pic, argc, argv);
/* execute guard handlers */ /* execute guard handlers */
walk_to_block(pic, pic->blk, pic_cont_ptr(cont)->blk); walk_to_block(pic, pic->blk, pic_cont_ptr(cont)->blk);