From 9518a273570e8d38438c2a29aa10f987e7d44ce1 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 21 Dec 2020 13:54:04 +0000 Subject: Prepare for 1.15+ (#4856) + Add type-safe container for states * Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty * Ensure Registry uses type-safe container --- src/CheckBasicStyle.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/CheckBasicStyle.lua') diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua index d5b801708..79b4a761d 100755 --- a/src/CheckBasicStyle.lua +++ b/src/CheckBasicStyle.lua @@ -41,10 +41,11 @@ local g_ShouldProcessExt = --- The list of files not to be processed: local g_IgnoredFiles = { - "Bindings/Bindings.h", "Bindings/Bindings.cpp", + "Bindings/Bindings.h", "Bindings/LuaState_Implementation.cpp", - "Registries/Blocks.h" + "Registries/BlockStates.cpp", + "Registries/BlockStates.h" } --- The list of files not to be processed, as a dictionary (filename => true), built from g_IgnoredFiles -- cgit v1.2.3