summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Ethereal
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-08 22:33:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:37:52 -0500
commitb2f3a85f78dcdb5a14ecefcd02949e528c35988b (patch)
tree02449879529e53c054842ed8692b03de86d5d818 /source4/pidl/lib/Parse/Pidl/Ethereal
parentd9cdaccaa7049c773e876047320839dd6d2d9459 (diff)
downloadsamba-b2f3a85f78dcdb5a14ecefcd02949e528c35988b.tar.gz
samba-b2f3a85f78dcdb5a14ecefcd02949e528c35988b.tar.bz2
samba-b2f3a85f78dcdb5a14ecefcd02949e528c35988b.zip
r10094: Support quoted arguments in conformance files
Update pidl manpage (This used to be commit a69e88e7b19b8f05222b54aea88395b51b96c003)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Ethereal')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
index d0a3047939..7ba6af3815 100644
--- a/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
+++ b/source4/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
@@ -147,11 +147,12 @@ sub ReadConformance($$)
next;
}
- my @fields = split(/ /);
+ my @fields = split(/([^ ]+|"[^"]+")/);
- my $cmd = $fields[0];
+ my $cmd = $fields[1];
shift @fields;
+ shift @fields;
if (not defined($field_handlers{$cmd})) {
print "$f:$ln: Warning: Unknown command `$cmd'\n";