From fd5f77e7c2ce68f17d5b50fc273b54112bf5aa55 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Tue, 14 Aug 2018 17:59:24 +0700 Subject: [PATCH] Fix gdobj to properly handle var block --- godot.nimble | 2 +- godot/nim/godotmacros.nim | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/godot.nimble b/godot.nimble index e6c397f..fade4f8 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.7.14" +version = "0.7.15" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/nim/godotmacros.nim b/godot/nim/godotmacros.nim index 384aa2b..3f1001b 100644 --- a/godot/nim/godotmacros.nim +++ b/godot/nim/godotmacros.nim @@ -172,7 +172,11 @@ proc parseMethod(meth: NimNode): MethodDecl = proc parseVarSection(decl: NimNode): seq[VarDecl] = assert(decl.kind == nnkVarSection) - result = identDefsToVarDecls(decl[0]) + for i in 0..