Project

General

Profile

Actions

Bug #383

closed

magic comment allows leading expressions

Added by yugui (Yuki Sonoda) over 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
Backport:
[ruby-dev:35713]

Description

=begin
マジックコメントの前に式があってもマジックコメントが認識されます。

p [1+1, ENCODING] # coding: Shift_JIS
p ENCODING
=end

Actions

Also available in: Atom PDF

Like0
Like0