diff --git a/src/formatter.lua b/src/formatter.lua index 4167333..eae5d06 100644 --- a/src/formatter.lua +++ b/src/formatter.lua @@ -43,6 +43,7 @@ local BLOCKS = { ["FUNCTION"] = "END_FUNCTION", ["FUNCTION_BLOCK"] = "END_FUNCTION_BLOCK", ["ORGANIZATION_BLOCK"] = "END_ORGANIZATION_BLOCK", + ["DATA_BLOCK"] = "END_DATA_BLOCK", ["TYPE"] = "END_TYPE", ["STRUCT"] = "END_STRUCT", ["VAR"] = "END_VAR", @@ -91,6 +92,7 @@ local DECLARATIONS = { ["FUNCTION"] = true, ["FUNCTION_BLOCK"] = true, ["ORGANIZATION_BLOCK"] = true, + ["DATA_BLOCK"] = true, ["TYPE"] = true, ["STRUCT"] = true, }