diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-21 10:55:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:42 -0500 |
commit | 613d1c1fb9d86120c062ab640b69842bd246187c (patch) | |
tree | 121ab84e21febbad7768a1efba517255d1949aa6 /source4/pidl/lib/Parse/Pidl/Samba4 | |
parent | 651cb9fcd4b27e436fb59c716cf17b3a6797bd21 (diff) | |
download | samba-613d1c1fb9d86120c062ab640b69842bd246187c.tar.gz samba-613d1c1fb9d86120c062ab640b69842bd246187c.tar.bz2 samba-613d1c1fb9d86120c062ab640b69842bd246187c.zip |
r21486: Remove spurious semicolons.
(This used to be commit d2307f3f7e364a2d17f48301a921a532ae313986)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/Header.pm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm index 7e52dbc2ee..39e6c4233c 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm @@ -128,10 +128,10 @@ sub HeaderEnum($$) } pidl "\n"; $tab_depth--; - pidl "};\n"; + pidl "}\n"; pidl "#else\n"; my $count = 0; - pidl "enum $name { __donnot_use_enum_$name=0x7FFFFFFF};\n"; + pidl "enum $name { __donnot_use_enum_$name=0x7FFFFFFF}\n"; my $with_val = 0; my $without_val = 0; foreach my $e (@{$enum->{ELEMENTS}}) { @@ -154,7 +154,6 @@ sub HeaderEnum($$) pidl "#define $name ( $value )\n"; } pidl "#endif\n"; - pidl "\n"; } ##################################################################### @@ -357,7 +356,11 @@ sub HeaderInterface($) HeaderUnion($d, $d->{NAME}) if ($d->{TYPE} eq "UNION"); HeaderEnum($d, $d->{NAME}) if ($d->{TYPE} eq "ENUM"); HeaderBitmap($d, $d->{NAME}) if ($d->{TYPE} eq "BITMAP"); - pidl ";\n\n"; + pidl ";\n\n" if ($d->{TYPE} eq "BITMAP" or + $d->{TYPE} eq "STRUCT" or + $d->{TYPE} eq "TYPEDEF" or + $d->{TYPE} eq "UNION" or + $d->{TYPE} eq "ENUM"); } foreach my $d (@{$interface->{DATA}}) { |