Project

General

Profile

Actions

Bug #18877

closed

parse.y: escaped space inconsistently allowed after assignment

Added by qnighy (Masaki Hara) almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
[ruby-core:109051]

Description

The following source inconsistently parses:

x = \ 42

though this one not:

\ 42

nor:

x = \(tab) 42
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Status changed from Open to Closed

Applied in changeset git|982cda9a3e908c7ab49632c46f4b1e3c0219f9f2.


[Bug #18877] Let lex_ctxt not to eat escaped whitespace

Actions

Also available in: Atom PDF

Like0
Like0