totalspectrum / spin2cpp

Tool to convert Parallax Propeller Spin code to PASM, C++ or C
Other
46 stars 17 forks source link

Fix Spin transform level for CASE #432

Closed Wuerfel21 closed 8 months ago

Wuerfel21 commented 8 months ago

Fixes error (bytecode backend) or weird codegen (ASM backend) where unary operators are used in CASE (and also the case item expressions, though I haven't actually tested that)

Wuerfel21 commented 8 months ago

oh no, something got busted

Wuerfel21 commented 8 months ago

Fixed oopsie and added a test.

totalspectrum commented 8 months ago

Thank you for fixing this!