bugfix: fix sequence point violation

This commit is contained in:
Yuichi Nishiwaki 2017-04-01 17:55:38 +09:00
parent b3aaee6e3a
commit 99c269e7ea
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ bool pic_dict_next(pic_state *, pic_value dict, int *iter, pic_value *key, pic_v
/*
* ephemeron
* ephemeron table
*/
bool pic_weak_p(pic_state *, pic_value);

View File

@ -341,7 +341,7 @@ pic_vm_tear_off(pic_state *pic)
# define VM_LOOP_END } }
#endif
#define PUSH(v) (*pic->sp++ = (v))
#define PUSH(v) ((*pic->sp = (v)), pic->sp++)
#define POP() (*--pic->sp)
#define PUSHCI() (++pic->ci)