diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-08 13:32:19 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-08 13:32:19 +0300 |
commit | 404a540341683e29cbdbc6a958a762d9f8c5d6bd (patch) | |
tree | 3ec3769b00d58b483e400393cde9fdf45a10c41d | |
parent | 7813cbc86985ad0656167bb583a9c7e75ba3ad94 (diff) | |
download | cflow-404a540341683e29cbdbc6a958a762d9f8c5d6bd.tar.gz cflow-404a540341683e29cbdbc6a958a762d9f8c5d6bd.tar.bz2 |
Bugfix
* src/parser.c (func_body): Reset caller when the topmost block is closed.
-rw-r--r-- | THANKS | 2 | ||||
-rw-r--r-- | src/parser.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -6,4 +6,4 @@ Louis Bertrand <louis@bertrandtech.ca> Nelson H. F. Beebe <beebe@math.utah.edu> Robert E. Michael <rmichael2@nc.rr.com> Shigio YAMAGUCHI <shigio@tamacom.com> - +Terje Rosten <terje.rosten@ntnu.no> 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 |