From b3a57553107f2804b42c2631d3f7ff3e37001a92 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 15 Jun 2009 19:46:41 +0200 Subject: [PATCH] winapi: Fix a $blevel / $plevel mismatch. --- tools/winapi/c_parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winapi/c_parser.pm b/tools/winapi/c_parser.pm index 17d74d7e1a2..1de62ee3afc 100644 --- a/tools/winapi/c_parser.pm +++ b/tools/winapi/c_parser.pm @@ -1050,7 +1050,7 @@ sub parse_c_file($$$$) { $declaration .= $&; } elsif(s/^\)//) { $plevel--; - if($blevel <= 0) { + if($plevel <= 0) { $self->_parse_c_error($_, $line, $column, "file", ") without ("); } $declaration .= $&;