fix stream.readline
This commit is contained in:
parent
1fe56dbf17
commit
2cbde3e64a
|
@ -31,9 +31,9 @@ func stream.readline {
|
||||||
-1
|
-1
|
||||||
2 stop
|
2 stop
|
||||||
}
|
}
|
||||||
while { ( i 1 + =i ) ( byte 10 eq not ) } {
|
while { ( i 1 + =i ) ( byte 10 eq not byte -1 eq not) } {
|
||||||
id STREAM.read stream dup =byte _char
|
id STREAM.read stream dup =byte _char
|
||||||
}
|
} pop
|
||||||
] =array
|
] =array
|
||||||
array alen 0 eq if {
|
array alen 0 eq if {
|
||||||
array _string
|
array _string
|
||||||
|
|
Loading…
Reference in a new issue