xensik / gsc-tool

A utility to compile & decompile IW engine game scripts.
GNU General Public License v3.0
230 stars 42 forks source link

[BUG] [PREPROCESSOR] Logic errors #184

Closed ClementDreptin closed 7 months ago

ClementDreptin commented 8 months ago

Hi,

I noticed the 2 following bugs in the preprocessor:

I tried to dig through the code to find where the problem could come from, to no avail, sorry...

Adding an actual preprocessor to GSC is one of the coolest things about this project in my opinion, so I hope this bug report can make it even better!

diamante0018 commented 8 months ago

Great report!

xensik commented 8 months ago

i will take a look this weekend, seems like im probably missing some logic on blocks push/pop

xensik commented 8 months ago

190