thpatch / thtk

Touhou Toolkit
https://thtk.thpatch.net/
Other
313 stars 42 forks source link

A bug of the `switch` #73

Closed purENDKING closed 4 years ago

purENDKING commented 4 years ago

I use a switch, and pack the source file. Then I unpack the *.ecl. The code has a terrible problem. This one is what I writed: O$T`N495~@H(}ALLGHF{75R

This one is what it generated: @JY66B 7Y`CQ759CMP{6G~H

9QCC$TXL3@)%AK )BJD`) T

Priw8 commented 4 years ago

This unfortunate bug is present in the latest release, but was fixed in cbd0f2035fc8d0262410dd4c035382ad270010fd.