mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Extract the wrapped value when yydebug [Bug #18075]
This commit is contained in:
parent
4568ba0711
commit
2aa6826e81
Notes:
git
2021-08-15 11:40:34 +09:00
2 changed files with 10 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -10791,7 +10791,7 @@ parser_token_value_print(struct parser_params *p, enum yytokentype type, const Y
|
|||
#ifndef RIPPER
|
||||
v = valp->node->nd_lit;
|
||||
#else
|
||||
v = valp->val;
|
||||
v = get_value(valp->val);
|
||||
#endif
|
||||
rb_parser_printf(p, "%+"PRIsVALUE, v);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue