move symbol-related macros to symbol.h

This commit is contained in:
Yuichi Nishiwaki
2015-01-19 11:11:19 +09:00
parent fa1b681eba
commit 3fc49b59be
9 changed files with 10 additions and 3 deletions
+3
View File
@@ -14,6 +14,9 @@ struct pic_symbol {
pic_str *str;
};
#define pic_sym(v) pic_ptr(v)
#define pic_sym_p(v) (pic_type(v) == PIC_TT_SYMBOL)
#if defined(__cplusplus)
}
#endif