Граф коммитов

69 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 13c9cbe09e
Embed `rb_args_info` in `rb_node_args_t` 2023-10-30 00:19:43 +09:00
yui-knk 820957b1ee Remove unused macro
`struct RNode_OP_ASGN22` was removed by 37a783a.
2023-10-25 08:12:48 +09:00
yui-knk 08e25985d1 Expand OP_ASGN1 nd_args to nd_index and nd_rvalue
ARGSCAT has been used for nd_args to hold index and rvalue,
because there was limitation on the number of members for Node.
We can easily change structure of node now, let's expand it.
2023-10-20 07:56:20 +09:00
Nobuyoshi Nakada 5bbb6fd6c3 Add printf format attributes to `rb_parser_config_t` 2023-10-20 07:15:24 +09:00
yui-knk 606452d1a9 Remove not used fields from STR 2023-10-15 16:16:06 +09:00
yui-knk a4e3d595cd Remove not used fields from XSTR 2023-10-15 16:16:06 +09:00
yui-knk cab67d227a Remove not used fields from LIT 2023-10-15 16:16:06 +09:00
yui-knk dc8742f5cc Remove not used fields from MATCH 2023-10-15 16:16:06 +09:00
Nobuyoshi Nakada a405b28e85 Delete heredoc line mark references 2023-10-14 11:08:43 +09:00
Nobuyoshi Nakada a075c55d0c Manage `rb_strterm_t` without imemo 2023-10-14 11:08:43 +09:00
yui-knk f9fe7aeef4 Extract NODE_FL_NEWLINE access to macro 2023-10-11 19:22:34 +09:00
yui-knk 5245123a4b Remove not used fields from DEFN 2023-10-10 11:05:29 +09:00
yui-knk b5d74f4f26 Remove not used fields from EVSTR 2023-10-08 16:34:32 +09:00
yui-knk 5810304c2e Remove not used fields from asgn nodes 2023-10-07 17:54:35 +09:00
yui-knk 5c779dc45d Remove not used fields from MATCH3 2023-10-06 15:32:33 +09:00
yui-knk 58fc45325f Remove not used fields from YIELD 2023-10-06 07:31:53 +09:00
yui-knk f6a2af255b Remove not used fields from ZLIST 2023-10-06 07:31:22 +09:00
Nobuyoshi Nakada a5cc6341c0
Remove `NODE_VALUES`
This node type was added for the multi-value experiment back in 2004.
The feature itself was removed after a few years, but this is its
remnant.
2023-10-06 03:39:58 +09:00
Nobuyoshi Nakada efa18fd6b3 Chain nodes to exit only 2023-10-05 14:23:42 +09:00
Nobuyoshi Nakada 696022a0cb Differentiate `NODE_BREAK`/`NODE_NEXT`/`NODE_RETURN` 2023-10-05 14:23:42 +09:00
Nobuyoshi Nakada f5f3b35b93 Remove unused nodes in NODE_RETURN and NODE_REDO 2023-10-05 14:23:42 +09:00
Nobuyoshi Nakada 70e1635950 Move internal NODE_DEF_TEMP to parse.y 2023-10-05 14:23:42 +09:00
yui-knk a472fd55da Remove not used fields from colon nodes 2023-10-05 13:19:09 +09:00
yui-knk ed8a3428e4 Remove not used fields from variable nodes 2023-10-04 12:15:39 +09:00
yui-knk 81668579ed Remove not used fields from call nodes 2023-10-02 09:41:45 +09:00
yui-knk 08239fd6af Use rb_node_args_t and rb_node_args_aux_t instead of NODE 2023-10-01 19:38:03 +09:00
yui-knk cecd1de2eb Use rb_node_opt_arg_t and rb_node_kw_arg_t instead of NODE 2023-10-01 09:19:42 +09:00
yui-knk 4997903c20 Remove not used fields from FOR_MASGN 2023-09-30 19:17:28 +09:00
yui-knk 1fbccd02ee Remove not used fields from OP_ASGN_AND, OP_ASGN_OR 2023-09-30 18:53:40 +09:00
yui-knk eba19d86d4 Remove not used fields from HASH 2023-09-30 17:20:54 +09:00
yui-knk 97ac5deeec Remove not used fields from BEGIN 2023-09-30 17:20:16 +09:00
yui-knk 716a12902d Remove not used fields from ERROR 2023-09-30 17:02:50 +09:00
yui-knk db18428fff Remove not used fields from ITER, FOR 2023-09-30 16:30:57 +09:00
yui-knk 4c18615ffe Remove not used fields from MODULE, SCLASS 2023-09-30 16:24:43 +09:00
yui-knk 4e90be4c93 Remove not used fields from ONCE 2023-09-30 13:23:32 +09:00
yui-knk d293d9e191 Expand pattern_info struct into ARYPTN Node and FNDPTN Node 2023-09-30 13:11:32 +09:00
yui-knk 1b97c17e03 Remove not used fields from ARYPTN, FNDPTN 2023-09-30 13:11:32 +09:00
yui-knk 129d006852 Remove not used fields from argument nodes 2023-09-30 12:29:29 +09:00
yui-knk 83af0b9128 Remove not used fields from NTH_REF, BACK_REF 2023-09-30 12:28:06 +09:00
yui-knk 0a386b827b Remove not used fields from ERRINFO 2023-09-30 11:23:20 +09:00
yui-knk fa54d06a40 Remove not used fields from POSTEXE 2023-09-30 11:22:06 +09:00
yui-knk f9f728e804 Remove not used fields from DEFINED 2023-09-30 10:48:07 +09:00
yui-knk ef37bdeb4d Remove not used fields from AND, OR 2023-09-30 10:27:39 +09:00
yui-knk 443099377f Remove not used fields from LAMBDA 2023-09-30 10:15:25 +09:00
yui-knk 7979f07427 Change NODE DEF_TEMP nd_cval to `struct lex_context` 2023-09-29 19:36:34 +09:00
yui-knk 68ae87546e Merge NODE_DEF_TEMP and NODE_DEF_TEMP2 2023-09-29 19:36:34 +09:00
yui-knk 5537a41059 Remove not used fields from CASE, CASE2, CASE3 2023-09-29 17:31:34 +09:00
yui-knk b9bf419aa3 Remove not used fields from ALIAS, VALIAS, UNDEF 2023-09-29 11:43:04 +09:00
yui-knk 52f8b347a0 Remove not used fields from DOT2, DOT3, FLIP2, FLIP3 2023-09-29 10:09:04 +09:00
yui-knk 37a783a30c Merge RNode_OP_ASGN2 and RNode_OP_ASGN22 2023-09-29 08:36:39 +09:00