From 2aa6826e81ec880f5e98fa995e44fae0819be95d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 15 Aug 2021 01:33:31 +0900 Subject: Extract the wrapped value when yydebug [Bug #18075] --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 4c4cbcf633..cd6971055a 100644 --- a/parse.y +++ b/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; -- cgit v1.2.3