From ecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95 Mon Sep 17 00:00:00 2001 From: Nicholas Estelami Date: Thu, 4 May 2023 22:36:23 -0400 Subject: Cleaned up and Documented Declaration Class (#290) --- ZAPD/ZResource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ZAPD/ZResource.cpp') diff --git a/ZAPD/ZResource.cpp b/ZAPD/ZResource.cpp index 8825cc9..3aedec9 100644 --- a/ZAPD/ZResource.cpp +++ b/ZAPD/ZResource.cpp @@ -274,7 +274,7 @@ void ZResource::GetSourceOutputCode([[maybe_unused]] const std::string& prefix) if (decl == nullptr || decl->isPlaceholder) decl = DeclareVar(prefix, bodyStr); else - decl->text = bodyStr; + decl->declBody = bodyStr; decl->staticConf = staticConf; } -- cgit v1.2.3