diff options
Diffstat (limited to 'modules/gdscript/gd_tokenizer.cpp')
-rw-r--r-- | modules/gdscript/gd_tokenizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp index bd0beb3138..7a1d6814ba 100644 --- a/modules/gdscript/gd_tokenizer.cpp +++ b/modules/gdscript/gd_tokenizer.cpp @@ -284,7 +284,8 @@ void GDTokenizerText::_advance() { while(GETCHAR(0)!='\n') { code_pos++; if (GETCHAR(0)==0) { //end of file - _make_error("Unterminated Comment"); + //_make_error("Unterminated Comment"); + _make_token(TK_EOF); return; } } |