Fix missing quote in multiline GDScript string

fix #47117
This commit is contained in:
Alex Hirsch 2021-03-19 01:24:18 +01:00
parent 47cf9985eb
commit d7ac5ba1c6
1 changed files with 3 additions and 0 deletions

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.