diff options
author | Tim Potter <tpot@samba.org> | 2005-08-27 12:24:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:40 -0500 |
commit | 54dc527a9e2bdc0f73b4638189a051070f0328bf (patch) | |
tree | 2dbe7fbb4bf96cf0645627d262c0c382f9943e76 /source4/pidl/lib/Parse | |
parent | c496f58c6fcd8d2c90ddcdf2dc4c3e4c41acd74b (diff) | |
download | samba-54dc527a9e2bdc0f73b4638189a051070f0328bf.tar.gz samba-54dc527a9e2bdc0f73b4638189a051070f0328bf.tar.bz2 samba-54dc527a9e2bdc0f73b4638189a051070f0328bf.zip |
r9682: Jelmer, I think this fixes another case where the parser generator was
producing duplicate function definitions. Can you check this out?
(This used to be commit e9bb695e74c98ea1f2647dacc7c9c4b8ad37bd72)
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm index 92199e13f1..60b2371108 100644 --- a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm @@ -326,7 +326,7 @@ sub Element($$$) my $add = ""; foreach (@{$e->{LEVELS}}) { - next if ($_->{TYPE} eq "SWITCH"); + last if ($_->{TYPE} eq "SWITCH"); pidl_def "static int $dissectorname$add(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep);"; pidl_code "static int"; pidl_code "$dissectorname$add(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)"; |