Skip to content

scriptcomp: for loop optimization causes infinite loops in certain cases #141

@Daztek

Description

@Daztek

The for loop optimization added in #86 sometimes generates code that causes an infinite loop.

Disabling the optimization results in the script working correctly, when using nwn_script_comp you can pass the -O 0 flag to disable the optimization

Test script: testscript.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions