This commit is contained in:
flywind
2020-12-27 15:18:30 +08:00
parent a29bbeee41
commit ef1807cbb4

View File

@@ -110,7 +110,7 @@ proc llReadFromStdin(s: PLLStream, buf: pointer, bufLen: int): int =
s.rd = 0
var line = newStringOfCap(120)
var triples = 0
while readLineFromStdin(if s.s.len == 0: ">>> " else: "... ", line):
while readLineFromStdin(if s.s.len == 0: "\n>>> " else: "... ", line):
s.s.add(line)
s.s.add("\n")
inc triples, countTriples(line)