This commit is contained in:
flywind 2020-12-27 02:04:58 -06:00 • committed by GitHub
commit 1e859fa320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ proc llReadFromStdin(s: PLLStream, buf: pointer, bufLen: int): int =
s.rd = 0 s.rd = 0
var line = newStringOfCap(120) var line = newStringOfCap(120)
var triples = 0 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(line)
s.s.add("\n") s.s.add("\n")
inc triples, countTriples(line) inc triples, countTriples(line)