Project

General

Profile

Bug #13998

BOM disables "mismatched indentations" warning

Added by ko1 (Koichi Sasada) almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
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.

#1

Updated by nobu (Nobuyoshi Nakada) almost 3 years ago

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

Updated by nobu (Nobuyoshi Nakada) almost 3 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) over 2 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) over 2 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.

Also available in: Atom PDF