1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:14:42 -07:00

- fixed a bug with //-comment parsing

R=r
OCL=25343
CL=25343
This commit is contained in:
Robert Griesemer 2009-02-23 17:16:55 -08:00
parent ce2bc3aabc
commit 6ddc48b84a

View File

@ -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' {