diff options
-rw-r--r-- | source4/build/pidl/dump.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/build/pidl/dump.pm b/source4/build/pidl/dump.pm index c186999b21..e74ffe6203 100644 --- a/source4/build/pidl/dump.pm +++ b/source4/build/pidl/dump.pm @@ -79,6 +79,19 @@ sub DumpStruct($) ##################################################################### +# dump a struct +sub DumpEnum($) +{ + my($enum) = shift; + my($res); + + $res .= "enum"; + + return $res; +} + + +##################################################################### # dump a union element sub DumpUnionElement($) { @@ -126,6 +139,8 @@ sub DumpType($) ($res .= DumpStruct($data)); ($data->{TYPE} eq "UNION") && ($res .= DumpUnion($data)); + ($data->{TYPE} eq "ENUM") && + ($res .= DumpEnum($data)); } else { $res .= "$data"; } |