mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
5f43603c52
Remove NODE_STR and NODE_XSTR enum values and all associated code as these traditional node types are no longer used with the new cons list string representation. The compiler now exclusively uses the cons list format ((len . str) (-1 . node)...) for all string types. - remove NODE_STR and NODE_XSTR from node_type enum in node.h - remove NODE_STR and NODE_XSTR cases from codegen.c switch statements - remove NODE_STR and NODE_XSTR cases from parse.y codedump functions - remove unused codegen_str(), codegen_xstr(), and gen_xstr_var() functions - update codegen_dregx() to use cons list string handling instead of checking for obsolete NODE_STR - preserve str_dump() function wrapped in #if 0 for future codedump updates - update comment in node.h to reflect current node types NODE_DSTR remains available for dynamic string interpolation. All string functionality continues to work via the cons list representation and variable-sized node implementations. Co-authored-by: Claude <noreply@anthropic.com>