Added more tests
This commit is contained in:
parent
b20a79080f
commit
f870a5f1f8
5 changed files with 73 additions and 30 deletions
|
@ -114,7 +114,7 @@ func scanFile(path string, functions chan<- *Function) error {
|
|||
break
|
||||
}
|
||||
|
||||
if tokens[i].Kind == token.NewLine {
|
||||
if tokens[i].Kind == token.NewLine || tokens[i].Kind == token.Comment {
|
||||
i++
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue