From 8c1bf48fbf9908b7937a8d0430a2ad758045a803 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 9 Jul 2009 12:26:30 +0200 Subject: [PATCH] winapi/c_parser: Badly indenting a closing brace should be a warning, not an error. --- 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 3a00039d6d2..d39d093e85d 100644 --- a/tools/winapi/c_parser.pm +++ b/tools/winapi/c_parser.pm @@ -971,7 +971,7 @@ sub parse_c_file($$$$) $declaration_line = $line; $declaration_column = $column; } elsif($column == 1 && !$extern_c) { - $self->_parse_c_error("", $line, $column, "file", "inner } ends on column 1"); + $self->_parse_c_warning("", $line, $column, "file", "inner } ends on column 1"); } } elsif(s/^;//) { $declaration .= $&; -- 2.11.4.GIT