diff --git a/src/ZoneCodeGenerator/Parsing/C_Header/HeaderReader.cs b/src/ZoneCodeGenerator/Parsing/C_Header/HeaderReader.cs index cee069b9..ef865577 100644 --- a/src/ZoneCodeGenerator/Parsing/C_Header/HeaderReader.cs +++ b/src/ZoneCodeGenerator/Parsing/C_Header/HeaderReader.cs @@ -2,7 +2,6 @@ using System.IO; using System.Linq; using ZoneCodeGenerator.Parsing.C_Header.Impl; -using ZoneCodeGenerator.Parsing.C_Header.PostProcessor; using ZoneCodeGenerator.Parsing.Impl; using ZoneCodeGenerator.Persistence; @@ -12,7 +11,7 @@ namespace ZoneCodeGenerator.Parsing.C_Header { private static readonly IDataPostProcessor[] postProcessors = { - new PostProcessorUsages(), + }; public static IDataRepository ReadFile(string path, bool verbose = false) diff --git a/src/ZoneCodeGenerator/Parsing/CommandFile/CommandFileReader.cs b/src/ZoneCodeGenerator/Parsing/CommandFile/CommandFileReader.cs index 824e0446..506552c0 100644 --- a/src/ZoneCodeGenerator/Parsing/CommandFile/CommandFileReader.cs +++ b/src/ZoneCodeGenerator/Parsing/CommandFile/CommandFileReader.cs @@ -14,6 +14,7 @@ namespace ZoneCodeGenerator.Parsing.CommandFile private static readonly IDataPostProcessor[] postProcessors = { new PostProcessorDefaultBlock(), + new PostProcessorUsages(), }; public static bool ReadFile(string path, CUISession session, bool verbose = false) diff --git a/src/ZoneCodeGenerator/Parsing/C_Header/PostProcessor/PostProcessorUsages.cs b/src/ZoneCodeGenerator/Parsing/CommandFile/PostProcessor/PostProcessorUsages.cs similarity index 92% rename from src/ZoneCodeGenerator/Parsing/C_Header/PostProcessor/PostProcessorUsages.cs rename to src/ZoneCodeGenerator/Parsing/CommandFile/PostProcessor/PostProcessorUsages.cs index e1d02ffa..8af46d29 100644 --- a/src/ZoneCodeGenerator/Parsing/C_Header/PostProcessor/PostProcessorUsages.cs +++ b/src/ZoneCodeGenerator/Parsing/CommandFile/PostProcessor/PostProcessorUsages.cs @@ -1,11 +1,8 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Linq; using ZoneCodeGenerator.Domain; using ZoneCodeGenerator.Persistence; -namespace ZoneCodeGenerator.Parsing.C_Header.PostProcessor +namespace ZoneCodeGenerator.Parsing.CommandFile.PostProcessor { class PostProcessorUsages : IDataPostProcessor {