mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 12:25:26 +00:00
Fix for some whitespace parsing in Funcs.
* parser/gapi2xml.pl: regex updates to support a bit more whitespace.
This commit is contained in:
parent
f6d11d67b6
commit
a1f9eef0b8
|
@ -110,8 +110,8 @@ while ($line = <STDIN>) {
|
|||
next;
|
||||
}
|
||||
$edefs{$ename} = $edef;
|
||||
} elsif ($line =~ /typedef\s+\w+\s*\**\s*\(\*\s*(\w+)\)\s*\(/) {
|
||||
$fname = $1;
|
||||
} elsif ($line =~ /typedef\s+(const\s+)?\w+\s*\**\s*\(\s*\*\s*(\w+)\s*\)\s*\(/) {
|
||||
$fname = $2;
|
||||
$fdef = "";
|
||||
while ($line !~ /;/) {
|
||||
$fdef .= $line;
|
||||
|
|
Loading…
Reference in a new issue