From b12be97194e1567981d5d75a4188873f2fc7a5f0 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 23 Mar 2014 18:47:55 +0900 Subject: [PATCH] cleanup --- src/codegen.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/codegen.c b/src/codegen.c index 26b68e2e..5c458317 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -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;