In squirrel scripts it is not possible to include multiple scripts with relative paths. To test it extract the attached zip file and run the main.script. You can see in the Codeblocks debug log that the second included script can not be loaded
Here is a patch with a fix. Instead of using a single variable for tracking the current script, use a stack based vector to track the location...
here is the next version of the patch. Thank you for review again
Looks good. ;)
Fixed in revision: 11627
Log in to post a comment.
Here is a patch with a fix.
Instead of using a single variable for tracking the current script, use a stack based vector to track the location...
here is the next version of the patch. Thank you for review again
Looks good. ;)
Fixed in revision: 11627