added hygienic macro facility! Fooo!
This commit is contained in:
@@ -19,10 +19,12 @@ struct pic_syntax {
|
||||
PIC_STX_IF,
|
||||
PIC_STX_BEGIN,
|
||||
PIC_STX_MACRO,
|
||||
PIC_STX_DEFMACRO
|
||||
PIC_STX_DEFMACRO,
|
||||
PIC_STX_DEFSYNTAX
|
||||
} kind;
|
||||
pic_sym sym;
|
||||
struct pic_proc *macro;
|
||||
struct pic_senv *senv;
|
||||
};
|
||||
|
||||
struct pic_sc {
|
||||
@@ -41,6 +43,6 @@ struct pic_sc {
|
||||
#define pic_senv_p(v) (pic_type(v) == PIC_TT_SENV)
|
||||
|
||||
struct pic_syntax *pic_syntax_new(pic_state *, int kind, pic_sym sym);
|
||||
struct pic_syntax *pic_syntax_new_macro(pic_state *, pic_sym, struct pic_proc *);
|
||||
struct pic_syntax *pic_syntax_new_macro(pic_state *, pic_sym, struct pic_proc *, struct pic_senv *senv);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user