Francois Gouget : winapi/c_parser: Badly indenting a closing brace should be a warning, not an error.

Alexandre Julliard julliard at winehq.org
Thu Jul 9 10:57:01 CDT 2009


Module: wine
Branch: master
Commit: 8c1bf48fbf9908b7937a8d0430a2ad758045a803
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c1bf48fbf9908b7937a8d0430a2ad758045a803

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Jul  9 12:26:30 2009 +0200

winapi/c_parser: Badly indenting a closing brace should be a warning, not an error.

---

 tools/winapi/c_parser.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winapi/c_parser.pm b/tools/winapi/c_parser.pm
index 3a00039..d39d093 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 .= $&;




More information about the wine-cvs mailing list