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

Error when adding brackets in multi-line string #44938

Closed
CitrusWire opened this issue Jan 5, 2021 · 1 comment
Closed

Error when adding brackets in multi-line string #44938

CitrusWire opened this issue Jan 5, 2021 · 1 comment

Comments

@CitrusWire
Copy link

CitrusWire commented Jan 5, 2021

Godot version:
3.2.3

OS/device including version:
Win 7

Issue description:
I'm getting these errors in the Output:

 modules/gdscript/gdscript_tokenizer.cpp:1129 - Condition "tk_rb[ofs].type != TK_IDENTIFIER" is true. Returned: StringName()

Steps to reproduce:

  • Add this code into any script:
"""
Hello World
"""
  • At the end of either the first line, or the second line, Enter a left bracket: (

Doesn't happen if in the middle of the string, only if at the end.

Edit: Also does it if you add the ( before a ? or !

Minimal reproduction project:
n/a

@Calinou
Copy link
Member

Calinou commented Jan 5, 2021

Duplicate of #35994.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants