summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
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;