Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squirrel scripts will not compile because of free variables feature #5973

Closed
DorpsGek opened this issue Apr 6, 2014 · 1 comment
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Apr 6, 2014

The_Dude opened the ticket and wrote:

I discovered a problem with GS compilation.

There is usualy used this for version:
SELF_VERSION <- 1;

I tried changing it to
const SELF_VERSION = 1;

And it caused every script which has the first definition used to not compile and not to be able to be selected.

See attachments for details (log, script and picture).

Attachments

Reported version: Version?
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5973
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r26617


This comment was imported from FlySpray: https://bugs.openttd.org/task/5973

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant