Previously, gonengazit found some infinite token exploits here and zep fixed them, but looks like they're not all gone yet - I stumbled upon one that still happens:
x=[[[[]] put your infinite tokens here... --]] |
Seems like it happens because pico8 supports recursive block comments, and uses the same code to also parse long strings recursively.
But lua then parses the long string non-recursively and executes the code that pico8 thought was part of the string.
Pico8 probably should only parse block comments recursively, not long strings.
P#122430 2022-12-15 00:11 ( Edited 2022-12-15 00:12)
[Please log in to post a comment]