aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-07-02 19:04:06 +0300
committerAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-07-02 19:04:06 +0300
commita30d8a2f68ee3af26683b2331253e0c8404b74d1 (patch)
tree57f1f515540d616874b4967eecf5d0fd5a66dd92
parent267c872f04da28790acfd0dd19185c5d1632e3c1 (diff)
downloadabi-dumper-a30d8a2f68ee3af26683b2331253e0c8404b74d1.tar.gz
Fixed typedefs to anon types.
-rw-r--r--abi-dumper.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/abi-dumper.pl b/abi-dumper.pl
index 7a906fb..95f9d3e 100644
--- a/abi-dumper.pl
+++ b/abi-dumper.pl
@@ -2279,7 +2279,7 @@ sub complete_ABI()
and $TypeInfo{$BTid}{"Type"}=~/Enum|Struct|Union/)
{
%{$TypeInfo{$Tid}} = %{$TypeInfo{$BTid}};
- $TypeInfo{$Tid}{"Name"} = $1." ".$TN;
+ $TypeInfo{$Tid}{"Name"} = lc($TypeInfo{$BTid}{"Type"})." ".$TN;
$TypeInfo{$Tid}{"Line"} = $TL;
my $Name = $TypeInfo{$Tid}{"Name"};