Skip to content

Renaming a macro if there is a function with the same name #1

@NSUSpray

Description

@NSUSpray

If the script contains a function with the same name as any macro, then the macro will be renamed, which will lead to incorrect execution.

Example:

func Tab()
    return @tab

will be translated to

func _myscript_Tab()
    return @_myscript_Tab

while the following is expected:

func _myscript_Tab()
    return @tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions