Merge pull request #47155 from W4RH4WK/gdscript-fix-quote-in-multiline-string

Fix missing quote in multiline GDScript string
This commit is contained in:
Rémi Verschelde 2021-03-19 09:01:54 +01:00 committed by GitHub
commit f5008843fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -898,6 +898,9 @@ GDScriptTokenizer::Token GDScriptTokenizer::string() {
_advance(); _advance();
_advance(); _advance();
break; break;
} else {
// Not a multiline string termination, add consumed quote.
result += quote_char;
} }
} else { } else {
// Ended single-line string. // Ended single-line string.