Project

General

Profile

Actions

Bug #13998

closed

BOM disables "mismatched indentations" warning

Added by ko1 (Koichi Sasada) over 6 years ago. Updated about 6 years ago.

Status:
Closed
Target version:
ruby -v:
Ruby 2.3 and later.
[ruby-dev:50288]

Description

ruby -w doesn't show "mismatched indentations" when scripts containing BOM.
This issue occurs on Ruby 2.3 and later.

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN to 2.3: REQUIRED, 2.4: REQUIRED
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r60160.


parse.y: token info with BOM

  • parse.y (parser_prepare): set token_info_enabled flag first,
    before returning at BOM. [ruby-dev:50288] [Bug #13998]

Updated by nagachika (Tomoyuki Chikanaga) about 6 years ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED to 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r62691 merged revision(s) 60160.

Updated by usa (Usaku NAKAMURA) about 6 years ago

  • Backport changed from 2.3: REQUIRED, 2.4: DONE to 2.3: DONE, 2.4: DONE

ruby_2_3 r62822 merged revision(s) 60160.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0