mirror of
https://github.com/robertkrimen/otto
synced 2025-10-05 19:19:10 +08:00
[#148] Removed superfluous lines
This commit is contained in:
parent
17dd6bba73
commit
fc505844b4
|
@ -38,7 +38,6 @@ func (cp CommentPosition) String() string {
|
|||
return "Colon"
|
||||
case FINAL:
|
||||
return "Final"
|
||||
|
||||
default:
|
||||
return "???"
|
||||
}
|
||||
|
|
|
@ -290,7 +290,6 @@ func (self *_parser) findComments(ignoreLineBreak bool) []*ast.Comment {
|
|||
newline := false
|
||||
|
||||
for self.implicitSemicolon == false || ignoreLineBreak {
|
||||
|
||||
if self.token != token.COMMENT {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user