mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
wikiheaders: Don't ignore macro symbols that are defined without any content.
Reference PR #12676.
This commit is contained in:
parent
acaf53926c
commit
a0fa64a91c
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue