[PRISM] Do not hide syntactically required parentheses within macros
It makes code formatters confused when auto indenting.
This commit is contained in:
parent
185b7e92a3
commit
f466afa176
@ -4508,7 +4508,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
|
||||
pm_node_t *keyword_parameter_node = keywords_list->nodes[i];
|
||||
pm_constant_id_t name;
|
||||
|
||||
switch PM_NODE_TYPE(keyword_parameter_node) {
|
||||
switch (PM_NODE_TYPE(keyword_parameter_node)) {
|
||||
// def foo(a, (b, *c, d), e = 1, *f, g, (h, *i, j), k:, l: 1, **m, &n)
|
||||
// ^^^^
|
||||
case PM_OPTIONAL_KEYWORD_PARAMETER_NODE: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user