From: Joseph Jones Date: 2015-12-17T21:07:20-07:00 Subject: [ruby-core:72303] [Ruby trunk - Bug #11812] [Open] Lack of space between colon and % literal causes syntax error --56738678_5db70ae5_16c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Joseph Jones liked your message with Boxer. On December 12, 2015 at 11:24= :22 MST, frederick.cheung=40gmail.com wrote:Issue =2311812 has been repor= ted by =46rederick Cheung.----------------------------------------Bug =23= 11812: Lack of space between colon and % literal causes syntax errorhttps= ://bugs.ruby-lang.org/issues/11812* Author: =46rederick Cheung* Status: O= pen* Priority: Normal* Assignee: * ruby -v: ruby 2.3.0preview2 (2015-12-1= 1 trunk 53028) =5Bx86=5F64-darwin15=5D* Backport: 2.0.0: UNKNOWN, 2.1: UN= KNOWN, 2.2: UNKNOWN----------------------------------------The following = snippet =7E=7E=7E=7Btags:%w(a)=7D=7E=7E=7Eexecutes fine in ruby 2.2.3, bu= t raises =22syntax error, unexpected '%=22 when run under ruby 2.3.0previ= ew2. When it is changed to=7E=7E=7E=7Btags: %w(a)=7D=7E=7E=7EThen it pars= es with ruby 2.3.0preview2 too.-- https://bugs.ruby-lang.org/ --56738678_5db70ae5_16c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Joseph Jones liked your message with Boxer.


= On December 12, 2015 at 11:24:22 MST, frederick.cheung=40gmail.com wrote:=
Issue =2311812 has be= en reported by =46rederick Cheung.

---------------------------= -------------
Bug =2311812: Lack of space between colon and % litera= l causes syntax error
https://bugs.ruby-lang.org/issues/11812
<= br />* Author: =46rederick Cheung
* Status: Open
* Priority: No= rmal
* Assignee:
* ruby -v: ruby 2.3.0preview2 (2015-12-11 tru= nk 53028) =5Bx86=5F64-darwin15=5D
* Backport: 2.0.0: UNKNOWN, 2.1: U= NKNOWN, 2.2: UNKNOWN
----------------------------------------
T= he following snippet

=7E=7E=7E
=7Btags:%w(a)=7D
=7E= =7E=7E

executes fine in ruby 2.2.3, but raises =22syntax error= , unexpected '%=22 when run under ruby 2.3.0preview2. When it is changed = to

=7E=7E=7E
=7Btags: %w(a)=7D
=7E=7E=7E

= Then it parses with ruby 2.3.0preview2 too.



-- https://bugs.ruby-lang.org/
--56738678_5db70ae5_16c--