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:
parent
ce2bc3aabc
commit
6ddc48b84a
@ -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' {
|
||||
|
Loading…
Reference in New Issue
Block a user