From d89bb12d1feb41fb7b2cb6ed93266054f9ee4377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 14 Mar 2017 10:17:09 +0100 Subject: Lua: Layout cleanup in init.lua MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove double start-of-comments and some leading spaces. Change-Id: I1c5ba49990076cc2d32da2d0a3bb0f54ec31e823 Reviewed-on: https://code.wireshark.org/review/20540 Petri-Dish: Stig Bjørlykke Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu --- epan/wslua/make-init-lua.pl | 10 +++++----- epan/wslua/template-init.lua | 30 +++++++++++++++--------------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'epan/wslua') diff --git a/epan/wslua/make-init-lua.pl b/epan/wslua/make-init-lua.pl index b7abfd7f11..27ea5806e6 100755 --- a/epan/wslua/make-init-lua.pl +++ b/epan/wslua/make-init-lua.pl @@ -140,8 +140,8 @@ $wtap_presence_flags_table =~ s/\n$/\n}\n/msi; # values from enum fttype # -$ft_types_table = " -- Field Types\nftypes = {\n"; -$frametypes_table = " -- Field Type FRAMENUM Types\nframetype = {\n"; +$ft_types_table = "-- Field Types\nftypes = {\n"; +$frametypes_table = "-- Field Type FRAMENUM Types\nframetype = {\n"; my $ftype_num = 0; my $frametypes_num = 0; @@ -168,9 +168,9 @@ $frametypes_table =~ s/,\n$/\n}\n/msi; # #defines for encodings and expert group and severity levels # -$bases_table = "-- Display Bases\n base = {\n"; -$str_type_table = "-- String Types\n str = {\n"; -$byte_sep_table = "-- Byte Separators\n sep = {\n"; +$bases_table = "-- Display Bases\nbase = {\n"; +$str_type_table = "-- String Types\nstr = {\n"; +$byte_sep_table = "-- Byte Separators\nsep = {\n"; $encodings = "-- Encodings\n"; $expert_pi = "-- Expert flags and facilities (deprecated - see 'expert' table below)\n"; $expert_pi_tbl = "-- Expert flags and facilities\nexpert = {\n"; diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua index 5891f055ff..cf87acb32f 100644 --- a/epan/wslua/template-init.lua +++ b/epan/wslua/template-init.lua @@ -109,41 +109,41 @@ function package.prepend_path(name) package.path = name .. sep .. "?.lua;" .. package.path end --- %WTAP_ENCAPS% +%WTAP_ENCAPS% --- %WTAP_FILETYPES% +%WTAP_FILETYPES% --- %WTAP_TSPRECS% +%WTAP_TSPRECS% --- %WTAP_COMMENTTYPES% +%WTAP_COMMENTTYPES% --- %FT_TYPES% +%FT_TYPES% -- the following table is since 2.0 --- %FT_FRAME_TYPES% +%FT_FRAME_TYPES% -- the following table is since 1.12 --- %WTAP_REC_TYPES% +%WTAP_REC_TYPES% -- the following table is since 1.11.3 --- %WTAP_PRESENCE_FLAGS% +%WTAP_PRESENCE_FLAGS% --- %BASES% +%BASES% -- the following table is since 2.4 --- %STRING_TYPES% +%STRING_TYPES% -- the following table is since 2.4 --- %BYTE_SEPARATORS% +%BYTE_SEPARATORS% --- %ENCODINGS% +%ENCODINGS% --- %EXPERT% +%EXPERT% -- the following table is since 1.11.3 --- %EXPERT_TABLE% +%EXPERT_TABLE% --- %MENU_GROUPS% +%MENU_GROUPS% -- other useful constants GUI_ENABLED = gui_enabled() -- cgit v1.2.3