From d7ac5ba1c6adcbbb4a4dd5336af33edb1ab1444f Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Fri, 19 Mar 2021 01:24:18 +0100 Subject: Fix missing quote in multiline GDScript string fix #47117 --- modules/gdscript/gdscript_tokenizer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/gdscript/gdscript_tokenizer.cpp b/modules/gdscript/gdscript_tokenizer.cpp index 319778daab..e432dfc891 100644 --- a/modules/gdscript/gdscript_tokenizer.cpp +++ b/modules/gdscript/gdscript_tokenizer.cpp @@ -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. -- cgit v1.2.3