Commit Graph

2596 Commits

Author SHA1 Message Date
Yuichi Nishiwaki bfc45a228b add 'k' specifier to pic_get_args format 2014-09-27 17:47:47 +09:00
Yuichi Nishiwaki 4ac6c2b7ab refine description of pic_get_args 2014-09-27 17:33:49 +09:00
Yuichi Nishiwaki 186bad0503 pair functions must use size_t for index, not int 2014-09-27 17:19:16 +09:00
Yuichi Nishiwaki 7350f7e71e int to size_t conversion 2014-09-27 17:18:11 +09:00
Yuichi Nishiwaki f8a32d7d60 use ptrdiff to extend exception handler stack 2014-09-26 23:26:16 +09:00
Yuichi Nishiwaki 9906865932 explicit int to size_t cast 2014-09-26 23:24:17 +09:00
Yuichi Nishiwaki 36328c154b more fix on misc functions in vm.c 2014-09-26 17:39:11 +09:00
Yuichi Nishiwaki 5cfa89ba23 starndard style initializer 2014-09-26 17:38:58 +09:00
Yuichi Nishiwaki 490472af2f resolve VM's varaible shadows 2014-09-26 17:38:46 +09:00
Yuichi Nishiwaki 315c17c8d4 move stack overflow checker 2014-09-26 17:36:27 +09:00
Yuichi Nishiwaki cb54f0e065 int and size_t 2014-09-26 17:36:11 +09:00
Yuichi Nishiwaki 7b0ec3adde adjustment. amending for argc type change 2014-09-26 17:13:17 +09:00
Yuichi Nishiwaki 7ab9708ed0 passing array with a pair of int and pic_value * 2014-09-26 17:09:52 +09:00
Yuichi Nishiwaki a75ff9f2b0 argc should be int 2014-09-26 17:04:20 +09:00
Yuichi Nishiwaki de362c8f37 strict error check on vector manipulation 2014-09-26 16:47:23 +09:00
Yuichi Nishiwaki 7fddb356d3 update benz 2014-09-26 16:34:49 +09:00
Yuichi Nishiwaki 5748cec548 Merge branch 'iso-c-compliance' 2014-09-26 16:34:10 +09:00
Yuichi Nishiwaki 0a23eb4f11 change int to size_t 2014-09-26 16:33:46 +09:00
Yuichi Nishiwaki f214cbf974 refactor dict.c stritc type casts 2014-09-26 16:27:19 +09:00
Yuichi Nishiwaki 68a900ee94 refactor port.c. strict type casts. 2014-09-26 16:13:53 +09:00
Yuichi Nishiwaki 136680e8d2 supporess maybe-uninitialized warning 2014-09-26 15:59:28 +09:00
Yuichi Nishiwaki 781bd19d89 clock_t can be cast to int type 2014-09-26 15:14:43 +09:00
Yuichi Nishiwaki 4e5e3f4fae return value from pic_get_args is of int type 2014-09-26 15:14:30 +09:00
Yuichi Nishiwaki 71f67cf771 simplify some mathematical functions implementations 2014-09-26 15:11:36 +09:00
Yuichi Nishiwaki d58e7d470f pic_sym is now just an alias of int 2014-09-26 14:42:50 +09:00
Yuichi Nishiwaki f8e9091774 internal representation of floating point number is not float type but double 2014-09-26 14:38:05 +09:00
Yuichi Nishiwaki 44133ce693 remove redundant semicolon 2014-09-26 14:35:05 +09:00
Yuichi Nishiwaki 96d31446bd arena_idx in struct pic_cont did not match its type with pic_state's one 2014-09-26 14:33:58 +09:00
Yuichi Nishiwaki 32fa44db91 integer->char: assure given integer range 2014-09-26 14:23:47 +09:00
Yuichi Nishiwaki ed354867a9 suppress warnings of implicit size_t <-> int conversion (blob.c) 2014-09-26 14:13:17 +09:00
Yuichi Nishiwaki 46f79c0894 the contents of blob object must be a chunk of unsigned char 2014-09-26 14:04:52 +09:00
Yuichi Nishiwaki 1949ebddf9 use UNREAHCABLE for pic_vtype 2014-09-26 13:57:36 +09:00
Yuichi Nishiwaki d029e003d6 update xfile.h (suppress warnings) 2014-09-26 13:50:27 +09:00
Yuichi Nishiwaki 1be24ae9d4 suppress warnings from xvect.h and xhash.h 2014-09-26 12:25:53 +09:00
Yuichi Nishiwaki 9d694ac5ae generalized attribute 2014-09-25 19:12:56 +09:00
Yuichi Nishiwaki d33a98cd41 add single line comments about attribute and dictionary 2014-09-25 12:17:06 +09:00
Yuichi Nishiwaki 5e80b51566 Merge branch 'generalized-attribute' 2014-09-25 12:13:25 +09:00
Yuichi Nishiwaki c7ee2bb88f let pic->attrs be weak-map 2014-09-25 12:12:52 +09:00
Yuichi Nishiwaki 77d4196b06 generalized attribute 2014-09-25 11:30:10 +09:00
Yuichi Nishiwaki cc45ffadc3 update benz. pic_try was broken 2014-09-24 20:39:22 +09:00
Yuichi Nishiwaki 6fc8341f50 Merge branch 'fix-try-catch' 2014-09-24 20:38:34 +09:00
Yuichi Nishiwaki a6d2491338 don't perform longjmp in pic_load_point (for the symmetry) 2014-09-24 20:27:16 +09:00
Yuichi Nishiwaki d6c6427ff7 don't setjmp in pic_push_try 2014-09-24 20:21:28 +09:00
Yuichi Nishiwaki eb1e01d000 don't setjmp in pic_save_point 2014-09-24 20:06:14 +09:00
Yuichi Nishiwaki d6104b8b25 add noreturn mark 2014-09-24 20:01:21 +09:00
Yuichi Nishiwaki 44c1debbbe don't do pop_try when an error was raised 2014-09-24 19:24:19 +09:00
Yuichi Nishiwaki d6b2fe05ce add many many assertions (pic_pop_try) 2014-09-24 19:24:02 +09:00
Yuichi Nishiwaki cb2157bbae s/pic_make_cont/pic_make_econt/g 2014-09-24 18:43:20 +09:00
Yuichi Nishiwaki 7c5fb70e73 mark invalid flag 2014-09-24 15:59:35 +09:00
Yuichi Nishiwaki c7c771c861 refactor pic_push_try. use raw continuation API 2014-09-24 15:35:00 +09:00