From: Brendan Hansen Date: Wed, 23 Dec 2020 18:30:03 +0000 (-0600) Subject: numeric literals are now copied during cloning X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=5a93acd4ac4b899634e660dc0eabf1c70bb7d5ea;p=onyx.git numeric literals are now copied during cloning --- diff --git a/onyx b/onyx index 2b80fa46..a7f14b60 100755 Binary files a/onyx and b/onyx differ diff --git a/src/onyxclone.c b/src/onyxclone.c index 355af0e2..31cd7e75 100644 --- a/src/onyxclone.c +++ b/src/onyxclone.c @@ -9,7 +9,6 @@ static inline b32 should_clone(AstNode* node) { // List of nodes that should not be copied case Ast_Kind_Global: case Ast_Kind_Memres: - case Ast_Kind_NumLit: case Ast_Kind_StrLit: case Ast_Kind_Package: case Ast_Kind_Enum_Type: