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

Make GDScript parser ignore floating strings in class definition #7028

Merged

Conversation

bojidar-bg
Copy link
Contributor

Fixes #1320.

I'm not sure if I should outright ignore it, or if I have to assign a ConstantNode to it, WDYT?
Also, I'm not sure if I have to disallow only strings (as I do now), or other types are useful as well.

@bojidar-bg bojidar-bg added this to the 3.0 milestone Nov 3, 2016
@vnen
Copy link
Member

vnen commented Nov 3, 2016

You can just ignore the strings, unless you want to start implementing docstrings (#4370).

I don't like having useless dangling constants in the code, so I prefer to keep showing an error, since it will likely be a user mistake.

@akien-mga akien-mga merged commit 57cc953 into godotengine:master Nov 6, 2016
@bojidar-bg bojidar-bg deleted the gdscript-multiline-comment-fixup branch November 17, 2016 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants