Commit 8890282a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winapi/c_parser: Remove special cases for DEFINE_SHLGUID() and ICOM_DEFINE().

These macros don't exist anymore.
parent 8c1bf48f
......@@ -796,12 +796,8 @@ sub parse_c_file($$$$)
next;
}
} elsif ($declaration =~ s/^(?:DEFINE_SHLGUID)\s*\(.*?\)//s) {
$self->_update_c_position($&, \$declaration_line, \$declaration_column);
} elsif ($declaration =~ s/^(?:DECL_WINELIB_TYPE_AW|DECLARE_HANDLE(?:16)?|TYPE_MARSHAL)\(\s*(\w+)\s*\)\s*//s) {
$self->_update_c_position($&, \$declaration_line, \$declaration_column);
} elsif ($declaration =~ s/^ICOM_DEFINE\(\s*(\w+)\s*,\s*(\w+)\s*\)\s*//s) {
$self->_update_c_position($&, \$declaration_line, \$declaration_column);
}
} else {
my $blank_lines = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment