summaryrefslogtreecommitdiff
path: root/typeparser.cpp
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2024-05-24 14:47:15 -0400
committerRyan Snyder <ryan@vector35.com>2024-05-24 17:14:46 -0400
commit56115aecf186bc720dae9a20cc4c6aef248ba07f (patch)
tree1754beaa4e8601be328de689c0f6dc9d05851b35 /typeparser.cpp
parent74920c190c5c6230833be6d50536119ce5e44c98 (diff)
platform: initial BNCustomPlatform support
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