mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:40:30 +00:00
winapi/c_parser: Remove special cases for DEFINE_SHLGUID() and ICOM_DEFINE().
These macros don't exist anymore.
This commit is contained in:
parent
8c1bf48fbf
commit
8890282ac0
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue