Skip to content

Promethues seems to crash when encountering goto statements #211

@Fabimawn

Description

@Fabimawn

When using a flow control like goto in my code Prometheus crashes.
My arguments are: --preset Minify

The error: �[0m�[31mPROMETHEUS: Parsing Error at Position 294:65, unexpected token "continue", expected "="�[0m

goto statements should work as expected, and the obfuscator shouldn't crash.

Screenshots
Image

This happens in all my source files wich use goto's just for simple loop flow control. I'll see if I can share min. example to repproduce next week.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions