1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-07 21:25:14 +00:00

Makes sure only vars and arrays are added

This commit is contained in:
Fellippe Heitor 2021-07-16 02:26:14 -03:00
parent e95e8a4825
commit df56b030f1

View file

@ -18355,6 +18355,7 @@ FUNCTION findid& (n2$)
id = ids(i)
t = id.t
IF id.subfunc = 0 THEN
IF t = 0 THEN
t = id.arraytype
IF t AND ISUDT THEN
@ -18379,6 +18380,7 @@ FUNCTION findid& (n2$)
END IF
END IF
END IF
END IF
currentid = i
EXIT FUNCTION