Fix bug. (nw)

This commit is contained in:
couriersud 2019-03-17 13:46:45 +01:00
parent 16b1e9923d
commit ed9c85904e

View File

@ -285,9 +285,9 @@ ppreprocessor::ppreprocessor(defines_map_type *defines)
m_expr_sep.emplace_back(" ");
m_expr_sep.emplace_back("\t");
m_defines.insert({"__PLIB_PREPROCESSOR__", define_t("__PLIB_PREPROCESSOR__", "1")});
if (defines != nullptr)
m_defines = *defines;
m_defines.insert({"__PLIB_PREPROCESSOR__", define_t("__PLIB_PREPROCESSOR__", "1")});
}
void ppreprocessor::error(const pstring &err)