diff options
author | Alex Hirsch <w4rh4wk@bluephoenix.at> | 2021-03-19 01:24:18 +0100 |
---|---|---|
committer | Alex Hirsch <w4rh4wk@bluephoenix.at> | 2021-03-19 01:24:18 +0100 |
commit | d7ac5ba1c6adcbbb4a4dd5336af33edb1ab1444f (patch) | |
tree | 48c469cd55ba7dc9eb89d3f891b01fcee0821fa2 /modules | |
parent | 47cf9985ebf2799d9718fa1a2ca96f2f70c6d212 (diff) |
Fix missing quote in multiline GDScript string
fix #47117
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_tokenizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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. |