1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #39314 from ThakeeNathees/debugger-incorrect-line-fix

GDScript debugger stepping to incorrect line fix
This commit is contained in:
Rémi Verschelde
2020-06-16 09:26:49 +02:00
committed by GitHub

View File

@@ -2821,6 +2821,8 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) {
#ifdef DEBUG_ENABLED
pending_newline = -1; // reset for the new block
NewLineNode *nl = alloc_node<NewLineNode>();
nl->line = tokenizer->get_token_line();