From 56db5137ddd10f476b9820944b47ab72c6f8e019 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 20 Nov 2025 09:18:57 -0500 Subject: feat! breaking ABI changes, breaking codegen changes. Signed-off-by: Amlal El Mahrouss --- dev/CompilerKit/Frontend.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/CompilerKit/Frontend.h') diff --git a/dev/CompilerKit/Frontend.h b/dev/CompilerKit/Frontend.h index 225de96..500f952 100644 --- a/dev/CompilerKit/Frontend.h +++ b/dev/CompilerKit/Frontend.h @@ -18,7 +18,7 @@ struct SyntaxLeafList; struct CompilerKeyword; /// =========================================================== /// -/// we want to do that because to separate keywords. +/// @note we want to do that to separate keywords. /// =========================================================== /// enum KeywordKind { @@ -79,7 +79,7 @@ struct SyntaxLeafList final { }; std::vector fLeafList; - SizeType fNumLeafs; + SizeType fNumLeafs{0}; SizeType SizeOf() { return fNumLeafs; } std::vector& Get() { return fLeafList; } @@ -116,7 +116,7 @@ class CompilerFrontendInterface { /// =========================================================== /// // NOTE: cast this to your user defined ast. /// =========================================================== /// - typedef void* AstType; + typedef VoidPtr AstType; /// =========================================================== /// //! @brief Compile a syntax tree ouf of the text. -- cgit v1.2.3