aboutsummaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 6706765..eca78cd 100644
--- a/scope.c
+++ b/scope.c
@@ -138,9 +138,14 @@ scope *s;
{
int i;
node * tmp;
+
+ fprintf(stderr, "\n\nSCOPE\n"
+ "==========================================================\n");
+
for (i = 0; i < HASH_SIZE; i++) {
for( tmp=s->table[i]; tmp; tmp = tmp->next) {
- fprintf(stderr, "\t%s\n", tmp->name);
+ fprintf(stderr, "\t%s:%s\n", tmp->name,
+ pretty_type(tmp->var_type));
}
}
}