This commit is contained in:
Yuichi Nishiwaki
2014-03-23 18:47:55 +09:00
parent e7a2a8f0a4
commit b12be97194
+8
View File
@@ -15,6 +15,10 @@
# error enable PIC_NONE_IS_FALSE
#endif
/**
* scope object
*/
typedef struct analyze_scope {
int depth;
bool varg;
@@ -22,6 +26,10 @@ typedef struct analyze_scope {
struct analyze_scope *up;
} analyze_scope;
/**
* global analyzer state
*/
typedef struct analyze_state {
pic_state *pic;
analyze_scope *scope;