1
0
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:
源文雨
2026-03-25 23:25:56 +08:00
parent 32ada81b80
commit 64de25bd44
28 changed files with 4678 additions and 416 deletions

View File

@@ -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
}
}