Skip to content

Commit

Permalink
lxapigen.pl: Strip whitespace from function names when parsing headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 30, 2018
1 parent 25ddf52 commit 8c8f416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxapigen.pl
Expand Up @@ -44,7 +44,7 @@ sub typesize {
next if not /OS2APIINFO/;
my $line = $_;

if (/\AOS2EXPORT\s+(.*?)\s+(OS2API|OS2API16)\s+(.*?)\((.*?)\)\s+OS2APIINFO\((.*?)\);/) {
if (/\AOS2EXPORT\s+(.*?)\s+(OS2API|OS2API16)\s+(.*?)\s*\((.*?)\)\s+OS2APIINFO\((.*?)\);/) {
my %table = (
'rettype' => $1,
'apitype' => $2,
Expand Down

0 comments on commit 8c8f416

Please sign in to comment.