This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/61746] A line starting with /*// causes an error even if the /* is closed on the next line
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Jul 2014 20:50:12 +0000
- Subject: [Bug go/61746] A line starting with /*// causes an error even if the /* is closed on the next line
- Auto-submitted: auto-generated
- References: <bug-61746-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61746
--- Comment #2 from ian at gcc dot gnu.org <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