1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00

Revert "Fix bug with _BIT variables in functions"

This reverts commit b023f4074b.
This commit is contained in:
Zachary Spriggs 2021-04-09 18:07:38 -04:00
parent b693e7667b
commit 8484d0fb14

View file

@ -14362,7 +14362,7 @@ FUNCTION dim2 (varname$, typ2$, method, elements$)
END IF
'standard bit-length variable
n$ = scope2$ + n$
'PRINT #defdatahandle, ct$ + " *" + n$ + "=NULL;"
PRINT #defdatahandle, ct$ + " *" + n$ + "=NULL;"
PRINT #13, "if(" + n$ + "==NULL){"
PRINT #13, "cmem_sp-=4;"
PRINT #13, "if (cmem_sp<qbs_cmem_sp) error(257);"