summaryrefslogtreecommitdiff
path: root/typeparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typeparser.cpp')
-rw-r--r--typeparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/typeparser.cpp b/typeparser.cpp
index 8aaf02c4..67dadd95 100644
--- a/typeparser.cpp
+++ b/typeparser.cpp
@@ -147,7 +147,7 @@ bool TypeParser::PreprocessSourceCallback(void* ctxt,
bool success = parser->PreprocessSource(
source,
fileName,
- new Platform(platform),
+ new CorePlatform(platform),
TypeContainer{BNDuplicateTypeContainer(existingTypes)},
optionsCpp,
includeDirsCpp,
@@ -207,7 +207,7 @@ bool TypeParser::ParseTypesFromSourceCallback(void* ctxt,
bool success = parser->ParseTypesFromSource(
source,
fileName,
- new Platform(platform),
+ new CorePlatform(platform),
TypeContainer{BNDuplicateTypeContainer(existingTypes)},
optionsCpp,
includeDirsCpp,
@@ -278,7 +278,7 @@ bool TypeParser::ParseTypeStringCallback(void* ctxt,
vector<TypeParserError> errorsCpp;
bool success = parser->ParseTypeString(
source,
- new Platform(platform),
+ new CorePlatform(platform),
TypeContainer{BNDuplicateTypeContainer(existingTypes)},
resultCpp,
errorsCpp