From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id E062619E0036 for ; Wed, 23 Dec 2015 05:27:46 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 46459B5D847 for ; Wed, 23 Dec 2015 06:00:07 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 6B7AA18CC7B9 for ; Wed, 23 Dec 2015 06:00:07 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id D8882120530; Wed, 23 Dec 2015 06:00:05 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id F1A6512049B for ; Wed, 23 Dec 2015 06:00:00 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=FLBe9fvqXs8qG7VXEalqDZgvPug=; b=ZR+DCDR6vCSmmwnTEC RWR3feVRZuOTz1tKN/rwf0C727mUDfqU6JOWOO4ioMCJvUroUWlMJ/3bYi7uY3Xk hMoaNc6m6B2wb7uFZW0yycrCwzFVEj/J4uoyfP3FhXSy7r576eSIOJLOBpTr3Ugj 1NRkeyP4w6tE1Rkc1V8d/Jjwo= Received: by filter0486p1mdw1.sendgrid.net with SMTP id filter0486p1mdw1.24760.5679B9CC7 2015-12-22 20:59:56.196645025 +0000 UTC Received: from herokuapp.com (ec2-54-166-57-10.compute-1.amazonaws.com [54.166.57.10]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id WBQauIfTREGAyOoMp9a-4A for ; Tue, 22 Dec 2015 20:59:56.277 +0000 (UTC) Date: Tue, 22 Dec 2015 20:59:56 +0000 From: nagachika00@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 47043 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11812 X-Redmine-Issue-Author: fcheung X-Redmine-Sender: nagachika X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS45CGqjB2QWA7ii7euMeXwUrA3WWac9c+gv16 Msl4VUYmawB6hMiSakgWUuz+C1dPsDfhBLj1XK10zld0yDCfIHpjr7Tv2qz73xcxkMTdJEJA/DkZPH csMAaxYYLUHQ/ci21GmCKUOx1Db3XtZmz5Ky2dNz64JtAF6yxCOZHwG1sg== X-ML-Name: ruby-core X-Mail-Count: 72441 Subject: [ruby-core:72441] [Ruby trunk - Bug #11812] Lack of space between colon and % literal causes syntax error X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11812 has been updated by Tomoyuki Chikanaga. Backport changed from 2.1: DONTNEED, 2.2: REQUIRED to 2.1: DONTNEED, 2.2: DONE Backported into `ruby_2_2` branch at r53257. ---------------------------------------- Bug #11812: Lack of space between colon and % literal causes syntax error https://bugs.ruby-lang.org/issues/11812#change-55736 * Author: Frederick Cheung * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-darwin15] * Backport: 2.1: DONTNEED, 2.2: DONE ---------------------------------------- The following snippet ~~~ {tags:%w(a)} ~~~ executes fine in ruby 2.2.3, but raises "syntax error, unexpected '%" when run under ruby 2.3.0preview2. When it is changed to ~~~ {tags: %w(a)} ~~~ Then it parses with ruby 2.3.0preview2 too. -- https://bugs.ruby-lang.org/