From e95e8a4825e6ad61bd6a1c7e2b5a493411b82852 Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Fri, 16 Jul 2021 01:23:46 -0300 Subject: [PATCH] Adds undeclared variables too --- source/qb64.bas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/qb64.bas b/source/qb64.bas index c8ac1ecf5..b95bfc8b9 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -25713,6 +25713,9 @@ SUB manageVariableList (name$, __cname$, action AS _BYTE) CASE ELSE 'find and mark as used IF found THEN usedVariableList(i).used = -1 + ELSE + manageVariableList name$, __cname$, 0 + manageVariableList name$, __cname$, 12 END IF END SELECT END SUB