summaryrefslogtreecommitdiff
path: root/ZAPD/ZArray.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2023-05-04 22:36:23 -0400
committerGitHub <noreply@github.com>2023-05-04 22:36:23 -0400
commitecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95 (patch)
treeb68d94985389201efa89938523bc536f7950a7dd /ZAPD/ZArray.cpp
parent0dbba745dfed52be5cab97257dbf56a2223dd874 (diff)
Cleaned up and Documented Declaration Class (#290)
Diffstat (limited to 'ZAPD/ZArray.cpp')
-rw-r--r--ZAPD/ZArray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp
index 686420c..afca71a 100644
--- a/ZAPD/ZArray.cpp
+++ b/ZAPD/ZArray.cpp
@@ -79,7 +79,7 @@ Declaration* ZArray::DeclareVar(const std::string& prefix, const std::string& bo
res->GetExternalExtension().c_str());
decl = parent->AddDeclarationIncludeArray(rawDataIndex, includePath, GetRawDataSize(),
GetSourceTypeName(), name, arrayCnt);
- decl->text = bodyStr;
+ decl->declBody = bodyStr;
decl->isExternal = true;
}
else