Skip to content

Commit cfec0e5

Browse files
committed
PyBasic memory leak fix, RGB matrix updates, pico2 board + misc
1 parent 6e668b1 commit cfec0e5

File tree

13 files changed

+1699
-1370
lines changed

13 files changed

+1699
-1370
lines changed

PyBasic/basicparser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,8 @@ def __ifstmt(self):
11531153
if saveval:
11541154
# Set up and return the flow signal
11551155
return FlowSignal(ftarget=self.__operand_stack.pop())
1156+
else:
1157+
self.__operand_stack.pop()
11561158

11571159
# advance to ELSE
11581160
while self.__tokenindex < len(self.__tokenlist) and self.__token.category != Token.ELSE:

0 commit comments

Comments
 (0)