diff options
author | Kazuki Tsujimoto <kazuki@callcc.net> | 2019-09-01 16:39:34 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <kazuki@callcc.net> | 2019-09-01 16:39:34 +0900 |
commit | 94d6ec1d90bb28e5f303867b048e6322d8781cb1 (patch) | |
tree | 55a794614931f6dc7778f6b1b672ca3a01f0b34f /node.h | |
parent | cda5745c1bacdb3be8384d21ee0dd70a9d95af5b (diff) | |
download | ruby-94d6ec1d90bb28e5f303867b048e6322d8781cb1.tar.gz |
Make pattern matching support **nil syntax
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -385,6 +385,7 @@ typedef struct RNode { #define NODE_SPECIAL_NO_NAME_REST ((NODE *)-1) #define NODE_NAMED_REST_P(node) ((node) != NODE_SPECIAL_NO_NAME_REST) #define NODE_SPECIAL_EXCESSIVE_COMMA ((ID)1) +#define NODE_SPECIAL_NO_REST_KEYWORD ((NODE *)-1) VALUE rb_node_case_when_optimizable_literal(const NODE *const node); |