properly reset pic->ai

This commit is contained in:
Yuichi Nishiwaki
2017-04-19 14:00:02 +09:00
parent 0996763e3b
commit 8c234d7548
6 changed files with 40 additions and 18 deletions
+1
View File
@@ -311,6 +311,7 @@ PIC_NORETURN void pic_error(pic_state *, const char *msg, int n, ...);
#define pic_catch(e) pic_catch_(e, PIC_GENSYM(label))
#define pic_catch_(e, label) \
pic_exit_try(pic); \
/* don't rewind ai here */ \
} else { \
e = pic_abort_try(pic); \
pic_leave(pic, pic_try_ai_); \