mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02: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;
|
next;
|
||||||
}
|
}
|
||||||
$edefs{$ename} = $edef;
|
$edefs{$ename} = $edef;
|
||||||
} elsif ($line =~ /typedef\s+\w+\s*\**\s*\(\*\s*(\w+)\)\s*\(/) {
|
} elsif ($line =~ /typedef\s+(const\s+)?\w+\s*\**\s*\(\s*\*\s*(\w+)\s*\)\s*\(/) {
|
||||||
$fname = $1;
|
$fname = $2;
|
||||||
$fdef = "";
|
$fdef = "";
|
||||||
while ($line !~ /;/) {
|
while ($line !~ /;/) {
|
||||||
$fdef .= $line;
|
$fdef .= $line;
|
||||||
|
Loading…
Reference in New Issue
Block a user