[Bug #3146] ERB single line comment does not work

Bug #3146: ERB single line comment does not work
http://redmine.ruby-lang.org/issues/show/3146

e$B5/I<<Te(B: Yusuke E.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Masatoshi Seki, Target version: 1.9.2
ruby -v: -

e$B31$5$se(B
e$B1sF#$G$9!#e(B

http://redmine.ruby-lang.org/issues/show/1559 e$B$K!“e(Berb e$B$Ge(B
<% # this is a comment %> e$B$H=q$$$?$i%(%i!<$K$J$C$?!”@N$Oe(B
e$B$3$l$GF0$$$F$$$?$N$GD>$7$F$[$7$$!"$H$$$&Js9p$,Mh$F$$$^$9!#e(B

e$B860x$O:GE,2=$G!"@8@.$5$l$k%3!<%[email protected]$j$,2~9T$G$J$/e(B
e$B%;%_%3%m%s$K$J$C$?$;[email protected]$HA[A|$5$l$F$$$^$9!#e(B

e$B$$$+$,CW$7$^$7$g$&!#e(B

  1. e$B85!9F0$$$F$$$?$N$,6vA3$G$"$j%P%0$G$O$J$$$+$iD>$5$J$$e(B
  2. [email protected]$^[email protected]$^$7D>$9e(B (/<%\s*#/ e$B$r%3%a%s%H$K$9$k$H$+e(B)
  3. e$B$=$NB>e(B

e$B$*JV;v$/[email protected]$5$$!#e(B

e$B$?$V$se(B

<% foo

bar %>

e$B$H$+e(B

<% foo
“#”.bar %>

e$B$_$?$$$J$N$r9M$($k$H!":GE,2=$re(B revert e$B$9$k0J30$K$O40`z$Ke(B
e$BD>$9$N$OL5M}[email protected]$H;W$$$^$9!#8D?ME*$K$Oe(B #1 e$B$+$J!<$H;W$$$^$9!#e(B


Yusuke E. [email protected]

e$B31$H$$$$$^$9!#e(B

e$B$$$D$b$_$J$5$s$KLBOG$r$+$1$F$7$^$C$F?=$7Lu$J$/;W$C$F$^$9!#e(B

On 2010/04/14, at 22:18, Yusuke E. wrote:

  1. e$B85!9F0$$$F$$$?$N$,6vA3$G$"$j%P%0$G$O$J$$$+$iD>$5$J$$e(B

e$B$H$+e(B

<% foo
“#”.bar %>

e$B$_$?$$$J$N$r9M$($k$H!":GE,2=$re(B revert e$B$9$k0J30$K$O40`z$Ke(B
e$BD>$9$N$OL5M}[email protected]$H;W$$$^$9!#8D?ME*$K$Oe(B #1 e$B$+$J!<$H;W$$$^$9!#e(B

#1e$B$G$9!#e(B
e$B$I$J$?$+$KD>@%a!<%[email protected]$$$F$=$N$h$&$KJV?.$7$^$7$?!#e(B
<%# … %>e$B$O;H$($k$H;W$&$N$G$9$,!"[email protected]$a$G$7$g$+!#e(B

#2e$B$OBP1~$7$-$l$J$$$h$&$JM=46$,$9$k$N$G%$%d$G$9!#e(B

e$B:$$k?M$,B?$$"*%5%]!<%H$?$$$X$s"*e(BRubye$B$NI>H=$rMn$H$9!"$H$+$J$i!“e(B
#3 reverte$B$9$k$N$b$”[email protected]$H;W$$$^$9!#e(B

e$B;d$N%"%W%j%1!<%7%g%s$N:n$jJ}$G$Oe(BERBe$B$NB.EY$,%%H%k%M%C%/$Ke(B
e$B$J$C$?$3$H$,$J$$$N$G!E!#e(B

http://www.druby.org/erb08.pdf e$B$N:G8e$NJ}!#e(B

e$B$"!#$G$be(BtDiarye$B$OB.$/[email protected]$C$?$C$1!#e(B

e$B1sF#$G$9!#e(B

2010e$BG/e(B4e$B7ne(B14e$BF|e(B23:26 Masatoshi SEKI
[email protected]:

e$B$$$D$b$_$J$5$s$KLBOG$r$+$1$F$7$^$C$F?=$7Lu$J$/;W$C$F$^$9!#e(B

e$B$$$(!“[email protected]$1$G$9$N$G!#e(B
e$B$H$$$&$+!”$$$D$bAGAa$$2sEz$G=u$+$j$^$9!#e(B

#1e$B$G$9!#e(B
e$B$I$J$?$+$KD>@%a!<%[email protected]$$$F$=$N$h$&$KJV?.$7$^$7$?!#e(B
<%# … %>e$B$O;H$($k$H;W$&$N$G$9$,!"[email protected]$a$G$7$g$+!#e(B

e$B$$$$$H;W$$$^$9!#e(B
e$B$O$C$-$j$$$C$F!"[email protected]<A$,[email protected]$1$G$9!#e(B
e$B$"$j$,$H$&$4$6$$$^$9!#e(B

e$B:$$k?M$,B?$$"*%5%]!<%H$?$$$X$s"*e(BRubye$B$NI>H=$rMn$H$9!"$H$+$J$i!“e(B
#3 reverte$B$9$k$N$b$”[email protected]$H;W$$$^$9!#e(B

[email protected][email protected]$7$?$i!"$3$NLdBj$h$j$J$s$H$+$9$Y$-OC$,e(B
e$B$$$C$Q$$$"$k$N$G!"5$$K$7$J$/$F$$$$$H;W$$$^$9!#e(B

$: e$B$+$ie(B ‘.’ e$B$,>C$($?$H$+e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs