WHY??? pidl-wireshark: clean case name as they can have no valid char for variable...
authorMatthieu Patou <mat@matws.net>
Sat, 26 Oct 2013 08:12:05 +0000 (01:12 -0700)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Nov 2013 11:19:30 +0000 (12:19 +0100)
commit2ddc85731e4bef6f719bef05bb370546c88980b7
tree0b4a5ad3300b8cf4eca61b4453dc9768b0251dce
parent2b6535a427e7024186070b4b2a54d823c2a5f505
WHY??? pidl-wireshark: clean case name as they can have no valid char for variable names

For instance:
[case(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))]16drsuapi_DsGetNCChangesMSZIPCtr1
mszip1;

Signed-off-by: Matthieu Patou <mat@matws.net>
WHY
drsuapi_dissect_element_DsGetNCChangesCompressedCtr_val1DRSUAPI_COMPRESSION_TYPE_MSZIP16_mszip1
instead of the simple
drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1
we had before?
pidl/lib/Parse/Pidl/Wireshark/NDR.pm