summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-08 10:32:19 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-10-08 10:32:19 (GMT)
commit404a540341683e29cbdbc6a958a762d9f8c5d6bd (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-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
@@ -892,9 +892,11 @@ func_body()
case 0:
if (verbose)
file_error(_("unexpected end of file in function body"), 0);
+ caller = NULL;
return;
}
}
+ caller = NULL;
}
int

Return to:

Send suggestions and report system problems to the System administrator.