mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-20 01:16:36 +00:00
Fix last line in source file not ending with CR
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-1
@@ -351,7 +351,8 @@ def nextln
|
||||
fin
|
||||
inlen = fileio:read(refnum, inptr, inlen)
|
||||
if inlen
|
||||
^(inptr + inlen - 1) = NULL // NULL terminate input
|
||||
if ^(inptr + inlen - 1) == $0D; inlen--; fin
|
||||
^(inptr + inlen) = NULL // NULL terminate input
|
||||
lineno++
|
||||
if !(lineno & $0F); putc('.'); fin
|
||||
if scan == INCLUDE_TKN
|
||||
|
||||
Reference in New Issue
Block a user