From 9cbcbab92c2de963c2a36cfbc44ffa9180842f9f Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Thu, 18 Jan 2024 01:44:02 -0500 Subject: Fix includes --- src/headless/main.cpp | 2 -- src/openvic-dataloader/csv/Parser.cpp | 1 - src/openvic-dataloader/detail/LexyReportError.hpp | 1 - src/openvic-dataloader/detail/Warnings.hpp | 2 +- src/openvic-dataloader/v2script/AbstractSyntaxTree.cpp | 1 - src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp | 2 -- src/openvic-dataloader/v2script/DecisionGrammar.hpp | 3 --- src/openvic-dataloader/v2script/EventGrammar.hpp | 1 - src/openvic-dataloader/v2script/Parser.cpp | 3 --- src/openvic-dataloader/v2script/SimpleGrammar.hpp | 1 - 10 files changed, 1 insertion(+), 16 deletions(-) (limited to 'src') diff --git a/src/headless/main.cpp b/src/headless/main.cpp index 1f0b4c3..688b479 100644 --- a/src/headless/main.cpp +++ b/src/headless/main.cpp @@ -4,9 +4,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/src/openvic-dataloader/csv/Parser.cpp b/src/openvic-dataloader/csv/Parser.cpp index 14ef553..0ca3402 100644 --- a/src/openvic-dataloader/csv/Parser.cpp +++ b/src/openvic-dataloader/csv/Parser.cpp @@ -12,7 +12,6 @@ #include "csv/CsvGrammar.hpp" #include "detail/BasicBufferHandler.hpp" -#include "detail/Errors.hpp" #include "detail/LexyReportError.hpp" #include "detail/OStreamOutputIterator.hpp" diff --git a/src/openvic-dataloader/detail/LexyReportError.hpp b/src/openvic-dataloader/detail/LexyReportError.hpp index 684b5db..9629963 100644 --- a/src/openvic-dataloader/detail/LexyReportError.hpp +++ b/src/openvic-dataloader/detail/LexyReportError.hpp @@ -2,7 +2,6 @@ #include #include -#include #include #include diff --git a/src/openvic-dataloader/detail/Warnings.hpp b/src/openvic-dataloader/detail/Warnings.hpp index fc0fbed..6c0b34e 100644 --- a/src/openvic-dataloader/detail/Warnings.hpp +++ b/src/openvic-dataloader/detail/Warnings.hpp @@ -1,6 +1,6 @@ #pragma once -#include "openvic-dataloader/v2script/Parser.hpp" +#include namespace ovdl::v2script::warnings { inline const ParseWarning make_utf8_warning(const char* file_path) { diff --git a/src/openvic-dataloader/v2script/AbstractSyntaxTree.cpp b/src/openvic-dataloader/v2script/AbstractSyntaxTree.cpp index 45150cb..182d559 100644 --- a/src/openvic-dataloader/v2script/AbstractSyntaxTree.cpp +++ b/src/openvic-dataloader/v2script/AbstractSyntaxTree.cpp @@ -1,4 +1,3 @@ -#include #include #include #include diff --git a/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp b/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp index 012820f..e04f447 100644 --- a/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp +++ b/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp @@ -5,8 +5,6 @@ #include #include "ModifierGrammar.hpp" -#include "SimpleGrammar.hpp" -#include "TriggerGrammar.hpp" namespace ovdl::v2script::grammar { struct AiBehaviorList { diff --git a/src/openvic-dataloader/v2script/DecisionGrammar.hpp b/src/openvic-dataloader/v2script/DecisionGrammar.hpp index a1c1e3e..3bd5cba 100644 --- a/src/openvic-dataloader/v2script/DecisionGrammar.hpp +++ b/src/openvic-dataloader/v2script/DecisionGrammar.hpp @@ -1,7 +1,5 @@ #pragma once -#include -#include #include #include @@ -13,7 +11,6 @@ #include #include "AiBehaviorGrammar.hpp" -#include "EffectGrammar.hpp" #include "SimpleGrammar.hpp" #include "TriggerGrammar.hpp" diff --git a/src/openvic-dataloader/v2script/EventGrammar.hpp b/src/openvic-dataloader/v2script/EventGrammar.hpp index e6e4c02..57cd170 100644 --- a/src/openvic-dataloader/v2script/EventGrammar.hpp +++ b/src/openvic-dataloader/v2script/EventGrammar.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include #include diff --git a/src/openvic-dataloader/v2script/Parser.cpp b/src/openvic-dataloader/v2script/Parser.cpp index 3386e48..c46d326 100644 --- a/src/openvic-dataloader/v2script/Parser.cpp +++ b/src/openvic-dataloader/v2script/Parser.cpp @@ -1,7 +1,6 @@ #include "openvic-dataloader/v2script/Parser.hpp" #include -#include #include #include #include @@ -23,9 +22,7 @@ #include "detail/BasicBufferHandler.hpp" #include "detail/DetectUtf8.hpp" -#include "detail/Errors.hpp" #include "detail/LexyReportError.hpp" -#include "detail/NullBuff.hpp" #include "detail/OStreamOutputIterator.hpp" #include "detail/Warnings.hpp" #include "v2script/DecisionGrammar.hpp" diff --git a/src/openvic-dataloader/v2script/SimpleGrammar.hpp b/src/openvic-dataloader/v2script/SimpleGrammar.hpp index 99bbfca..e89f794 100644 --- a/src/openvic-dataloader/v2script/SimpleGrammar.hpp +++ b/src/openvic-dataloader/v2script/SimpleGrammar.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include #include -- cgit v1.2.3-56-ga3b1