aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-08 13:32:19 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-08 13:32:19 +0300
commit404a540341683e29cbdbc6a958a762d9f8c5d6bd (patch)
tree3ec3769b00d58b483e400393cde9fdf45a10c41d /src
parent7813cbc86985ad0656167bb583a9c7e75ba3ad94 (diff)
downloadcflow-404a540341683e29cbdbc6a958a762d9f8c5d6bd.tar.gz
cflow-404a540341683e29cbdbc6a958a762d9f8c5d6bd.tar.bz2
Bugfix
* src/parser.c (func_body): Reset caller when the topmost block is closed.
Diffstat (limited to 'src')
-rw-r--r--src/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 3163920..cdfea4e 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -894,2 +894,3 @@ func_body()
file_error(_("unexpected end of file in function body"), 0);
+ caller = NULL;
return;
@@ -897,2 +898,3 @@ func_body()
}
+ caller = NULL;
}

Return to:

Send suggestions and report system problems to the System administrator.