summaryrefslogtreecommitdiff
path: root/offsets.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2007-07-21 16:43:55 -0400
committerSøren Sandmann <sandmann@redhat.com>2007-07-21 16:43:55 -0400
commitd61fb150563dc847f505c33a86147712ea5dbef7 (patch)
tree83615753695b1bda40c00760505dd50e1fda606d /offsets.c
parent51fe6f799e609e8990d4809423dc2fd51626df7d (diff)
Fix outer environment interpretation
Diffstat (limited to 'offsets.c')
-rw-r--r--offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/offsets.c b/offsets.c
index 15fc362..acb7ff5 100644
--- a/offsets.c
+++ b/offsets.c
@@ -132,6 +132,7 @@ offsets_function (ast_function_definition_t *function,
offset = sizeof (gpointer); /* The 'outer' pointer */
+ function->level = level;
level++;
for (i = 0; function->parameters[i] != NULL; ++i)