summaryrefslogtreecommitdiff
path: root/prism/node.h
diff options
context:
space:
mode:
authorJemma Issroff <[email protected]>2023-10-16 15:20:26 -0700
committerJemma Issroff <[email protected]>2023-10-16 15:20:26 -0700
commitfd87372a7482cbf7672c44ef95bc1dc3b00bab7c (patch)
treeb87268d69f3fc2e7d836236b89f5a7e310cfbc22 /prism/node.h
parent67a987f82bc8a2b7ec15581306873530821fcf9e (diff)
Revert "[ruby/prism] Change ScopeNode to point to previous ScopeNode"
This reverts commit 67a987f82bc8a2b7ec15581306873530821fcf9e.
Diffstat (limited to 'prism/node.h')
-rw-r--r--prism/node.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/prism/node.h b/prism/node.h
index 403e84e0d3..cbfed1b7c9 100644
--- a/prism/node.h
+++ b/prism/node.h
@@ -33,17 +33,10 @@ PRISM_EXPORTED_FUNCTION const char * pm_node_type_to_str(pm_node_type_t node_typ
// declare them here to avoid generating them.
typedef struct pm_scope_node {
pm_node_t base;
- struct pm_scope_node *previous;
pm_node_t *ast_node;
struct pm_parameters_node *parameters;
pm_node_t *body;
pm_constant_id_list_t locals;
- pm_parser_t *parser;
-
- // We don't have the CRuby types ID and st_table within Prism
- // so we use void *
- void *constants; // ID *constants
- void *index_lookup_table; // st_table *index_lookup_table
} pm_scope_node_t;
#endif // PRISM_NODE_H