1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fixed wrong highlighted line when erroring and using single-line comments, fixes #15167

This commit is contained in:
binbitten
2017-12-29 19:32:21 +01:00
parent 99960d9294
commit 9b2283382e

View File

@@ -334,6 +334,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
while (true) {
if (GETCHAR(0) == '\n') {
tk_line++;
char_idx++;
break;
}