summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorJemma Issroff <[email protected]>2023-10-16 16:02:18 -0700
committerAaron Patterson <[email protected]>2023-10-18 17:16:11 -0700
commit252b0fc715f5a80325502b83ff6a89ad2f7c17b8 (patch)
treedf179247f7ef89be5e6b3e356cc25c0abb4be299 /iseq.c
parentba3a99acaf4e024e4d17823f655665bc28f72e0a (diff)
Temporarily removed location code on scope nodes
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index 1513f0c2d4..aa3e367bf0 100644
--- a/iseq.c
+++ b/iseq.c
@@ -954,6 +954,8 @@ pm_iseq_new_with_opt(pm_scope_node_t scope_node, pm_parser_t *parser, VALUE name
if (!option) option = &COMPILE_OPTION_DEFAULT;
+ /*
+ * TODO: Fix the below
pm_line_column_t start_line_col = pm_newline_list_line_column(&parser->newline_list, scope_node.base.location.start);
pm_line_column_t end_line_col = pm_newline_list_line_column(&parser->newline_list, scope_node.base.location.end);
@@ -967,6 +969,7 @@ pm_iseq_new_with_opt(pm_scope_node_t scope_node, pm_parser_t *parser, VALUE name
.column = (int) end_line_col.column
},
};
+ */
// TODO: node_id
int node_id = -1;