Skip to content

[BUG] Unexpected char "\134"! #152

Description

@GoxaShow

Describe the bug
I decided to cover my large project (221Kb) with preset strong (does not depend on preset), this error comes out:

C:\prometheus-windows>prometheus.exe .
/123.lua --Lua51 --nocolors --o "123.luac" --preset Strong
PROMETHEUS: Applying Obfuscation Pipeline to ./123.lua ...
PROMETHEUS: Parsing ...
PROMETHEUS: Lexing Error at Position 2:9, Unexpected char "\134"!
C:\prometheus-windows>pause

At first I thought it was the array values, because one of the arrays had this char in it. Removing it did not change anything.

To Reproduce
Steps to reproduce the behavior:
start bat with: prometheus.exe ./123.lua --Lua51 --nocolors --o "123.luac" --preset Strong

Additional context
script written for MoonLoader SAMP, Lua 5.1, luajit 2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions