bugfix: fix sequence point violation
This commit is contained in:
parent
b3aaee6e3a
commit
99c269e7ea
|
@ -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);
|
bool pic_weak_p(pic_state *, pic_value);
|
||||||
|
|
|
@ -341,7 +341,7 @@ pic_vm_tear_off(pic_state *pic)
|
||||||
# define VM_LOOP_END } }
|
# define VM_LOOP_END } }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PUSH(v) (*pic->sp++ = (v))
|
#define PUSH(v) ((*pic->sp = (v)), pic->sp++)
|
||||||
#define POP() (*--pic->sp)
|
#define POP() (*--pic->sp)
|
||||||
|
|
||||||
#define PUSHCI() (++pic->ci)
|
#define PUSHCI() (++pic->ci)
|
||||||
|
|
Loading…
Reference in New Issue