mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-08 11:35:07 +00:00
wikiheaders: Don't ignore macro symbols that are defined without any content.
Reference PR #12676.
This commit is contained in:
@@ -1449,7 +1449,7 @@ while (my $d = readdir(DH)) {
|
||||
}
|
||||
$decl .= $additional_decl;
|
||||
} elsif ($symtype == 2) { # a macro
|
||||
if ($decl =~ /\A\s*\#\s*define\s+(.*?)(\(.*?\)|)\s+/) {
|
||||
if ($decl =~ /\A\s*\#\s*define\s+(.*?)(\(.*?\)|)(\s+|\Z)/) {
|
||||
$sym = $1;
|
||||
} else {
|
||||
#print "Found doxygen but no macro:\n$str\n\n";
|
||||
|
||||
Reference in New Issue
Block a user