diff --git a/scripting/erm/ERMParser.cpp b/scripting/erm/ERMParser.cpp index 018339d92..10334d9f3 100644 --- a/scripting/erm/ERMParser.cpp +++ b/scripting/erm/ERMParser.cpp @@ -1,6 +1,21 @@ #include "StdInc.h" #include "ERMParser.h" + +#include +#include +#include +#include +#include +#include +#include + + +namespace qi = boost::spirit::qi; +namespace ascii = spirit::ascii; +namespace phoenix = boost::phoenix; + + /* * ERMParser.cpp, part of VCMI engine * diff --git a/scripting/erm/ERMParser.h b/scripting/erm/ERMParser.h index a7c225d67..86b0ae4cc 100644 --- a/scripting/erm/ERMParser.h +++ b/scripting/erm/ERMParser.h @@ -1,20 +1,4 @@ #pragma once - - -#include -#include -#include -#include -#include -#include -#include -#include - -namespace spirit = boost::spirit; -namespace qi = boost::spirit::qi; -namespace ascii = spirit::ascii; -namespace phoenix = boost::phoenix; - /* * ERMParser.h, part of VCMI engine * @@ -24,7 +8,10 @@ namespace phoenix = boost::phoenix; * Full text of license available in license.txt file, in main folder * */ + +#include +namespace spirit = boost::spirit; class CERMPreprocessor {