writer writes lists in short form

This commit is contained in:
Yuichi Nishiwaki
2013-10-17 22:42:20 +09:00
parent f64f6bec97
commit e87f632327
3 changed files with 24 additions and 6 deletions
+2 -1
View File
@@ -50,7 +50,7 @@ struct pic_symbol {
struct pic_proc;
#define pic_object_ptr(o) ((struct pic_object *)o.u.data)
#define pic_obj_ptr(o) ((struct pic_object *)o.u.data)
#define pic_pair_ptr(o) ((struct pic_pair *)o.u.data)
#define pic_symbol_ptr(o) ((struct pic_symbol *)o.u.data)
@@ -70,5 +70,6 @@ pic_value pic_float_value(double);
#define pic_true_p(v) ((v).type == PIC_VTYPE_TRUE)
#define pic_false_p(v) ((v).type == PIC_VTYPE_FALSE)
#define pic_undef_p(v) ((v).type == PIC_VTYPE_UNDEF)
#define pic_pair_p(v) (pic_type(v) == PIC_TT_PAIR)
#endif