From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18706 invoked by alias); 8 Jul 2014 20:50:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17874 invoked by uid 55); 8 Jul 2014 20:50:14 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61746] A line starting with /*// causes an error even if the /* is closed on the next line Date: Tue, 08 Jul 2014 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00504.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61746 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Tue Jul 8 20:49:38 2014 New Revision: 212370 URL: https://gcc.gnu.org/viewcvs?rev=212370&root=gcc&view=rev Log: PR go/61746 compiler: Fix C-style comment parsing. The compiler was incorrectly seeing /*/ as a complete C-style comment. Modified: trunk/gcc/go/gofrontend/lex.cc