Merge pull request #15172 from binbitten/issue_15167

Fixed wrong highlighted line when erroring and using comments
This commit is contained in:
Gilles Roudiere 2017-12-30 22:17:11 +09:00 committed by GitHub
commit 9d40688952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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