From 042bd304154cd140dbf30974bd94a3aeed510844 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 24 Mar 2014 14:51:31 +0900 Subject: [PATCH] add notation about pic_try usage --- include/picrin/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/picrin/error.h b/include/picrin/error.h index 5aff2916..ffc0dfed 100644 --- a/include/picrin/error.h +++ b/include/picrin/error.h @@ -15,6 +15,8 @@ struct pic_jmpbuf { struct pic_jmpbuf *prev; }; +/* do not return from try block! */ + #define pic_try \ pic_push_try(pic); \ if (setjmp(*pic->jmp) == 0) \