summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-06-12 14:19:29 -0300
committerGeorge Marques <george@gmarqu.es>2020-07-20 11:38:40 -0300
commitb6a2628c48ce7639e5f42caf43525fc2b9dae450 (patch)
tree8f1ffee85a94eef0e90450ef5cd64ba7f0b8c800 /modules/gdscript/gdscript_parser.cpp
parentdadfcd8aba8df696f7c608866a34b4e5ee55a0bf (diff)
Reenable GDScript LSP server
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r--modules/gdscript/gdscript_parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index b7189a1af0..d6867f1f87 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -149,6 +149,8 @@ T *GDScriptParser::alloc_node() {
// TODO: Properly set positions for all nodes.
node->start_line = previous.start_line;
node->end_line = previous.end_line;
+ node->start_column = previous.start_column;
+ node->end_column = previous.end_column;
node->leftmost_column = previous.leftmost_column;
node->rightmost_column = previous.rightmost_column;