remove pic_tt_sc type
This commit is contained in:
@@ -21,15 +21,6 @@ struct pic_macro {
|
||||
struct pic_senv *senv;
|
||||
};
|
||||
|
||||
struct pic_sc {
|
||||
PIC_OBJECT_HEADER
|
||||
pic_value expr;
|
||||
struct pic_senv *senv;
|
||||
};
|
||||
|
||||
#define pic_sc_p(v) (pic_type(v) == PIC_TT_SC)
|
||||
#define pic_sc_ptr(v) ((struct pic_sc *)pic_ptr(v))
|
||||
|
||||
#define pic_macro_p(v) (pic_type(v) == PIC_TT_MACRO)
|
||||
#define pic_macro_ptr(v) ((struct pic_macro *)pic_ptr(v))
|
||||
|
||||
|
||||
@@ -111,7 +111,6 @@ enum pic_tt {
|
||||
PIC_TT_CONT,
|
||||
PIC_TT_SENV,
|
||||
PIC_TT_MACRO,
|
||||
PIC_TT_SC,
|
||||
PIC_TT_LIB,
|
||||
PIC_TT_VAR,
|
||||
PIC_TT_IREP,
|
||||
@@ -256,8 +255,6 @@ pic_type_repr(enum pic_tt tt)
|
||||
return "cont";
|
||||
case PIC_TT_PROC:
|
||||
return "proc";
|
||||
case PIC_TT_SC:
|
||||
return "sc";
|
||||
case PIC_TT_SENV:
|
||||
return "senv";
|
||||
case PIC_TT_MACRO:
|
||||
|
||||
Reference in New Issue
Block a user