mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-12 04:20:28 +08:00
feat: add all other needs
This commit is contained in:
@@ -66,7 +66,7 @@ func get1sentence(firstln string, scan *bufio.Scanner, ln int) (string, int) {
|
||||
}
|
||||
sb.WriteString(t)
|
||||
content, _, _ := strings.Cut(t, "//")
|
||||
if strings.Contains(content, ";") && bracedepth == 0 {
|
||||
if bracedepth == 0 && strings.Contains(content, ";") {
|
||||
return sb.String(), ln
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user