Skip to content

Auto-rename symbols that use reserved words #5

@phobos2077

Description

@phobos2077

Due to sfall sslc adding a bunch of new reserved words (like div), sometimes older scripts use this name for procedures and variables. So such scripts can't be re-compiled again without renaming those symbols.

There are 2 ways to fix this:

  • Add "legacy" mode to sfall sslc, so for older scripts you can just disable new fancy syntax and compile without the new reserved words.
  • Add auto-rename after decompile to int2ssl (just add some random number to procedure name to avoid collisions).

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