summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-26 18:39:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-30 16:31:51 +0900
commit982cda9a3e908c7ab49632c46f4b1e3c0219f9f2 (patch)
tree298dc03c44f3d19daac8d02bf92a45cfaceca3c9 /parse.y
parent4b1f337ef20ad31bc79c36c6e97e97817a013962 (diff)
[Bug #18877] Let `lex_ctxt` not to eat escaped whitespace
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6065
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 1 insertions, 5 deletions
diff --git a/parse.y b/parse.y
index f746a0c272..5fae5dc218 100644
--- a/parse.y
+++ b/parse.y
@@ -2673,11 +2673,7 @@ rel_expr : arg relop arg %prec '>'
}
;
-lex_ctxt : tSP
- {
- $$ = p->ctxt;
- }
- | none
+lex_ctxt : none
{
$$ = p->ctxt;
}