katsaii / catspeak-lang

A cross-platform modding language for GameMaker games.
https://www.katsaii.com/catspeak-lang/
MIT License
94 stars 6 forks source link

Fix 3.1.1 - Fixes self scope being incorrect #132

Closed tabularelf closed 4 months ago

tabularelf commented 4 months ago

Having a function exposed like draw_self and the following code

draw_self();

Parsed and compiled, and called results the self scope not being correctly passed over in expr functions. Applying these small changes remedies the self scope being incorrect in these cases.