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

View file

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