From: Robert Griesemer Date: Tue, 24 Feb 2009 01:16:55 +0000 (-0800) Subject: - fixed a bug with //-comment parsing X-Git-Tag: weekly.2009-11-06~2144 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6ddc48b84aa15d70643ebb500db59cd7f78c0adf;p=gostls13.git - fixed a bug with //-comment parsing R=r OCL=25343 CL=25343 --- diff --git a/usr/gri/pretty/scanner.go b/usr/gri/pretty/scanner.go index 18e5d57921..05275a0f65 100644 --- a/usr/gri/pretty/scanner.go +++ b/usr/gri/pretty/scanner.go @@ -399,7 +399,6 @@ func (S *Scanner) scanComment() string { if S.ch == '/' { //-style comment - S.next(); for S.ch >= 0 { S.next(); if S.ch == '\n' {