JohnEarnest / ok

An open-source interpreter for the K5 programming language.
MIT License
585 stars 73 forks source link

Don't count the terminating newline. #65

Closed zgrep closed 7 years ago

zgrep commented 7 years ago

AW's k6 interpreter seems to ignore terminating newlines when reading from a file. Might as well make oK do that as well.

JohnEarnest commented 7 years ago

Seems totally reasonable. Doesn't break anything I'm aware of, and there's no particular reason for this behavior to be divergent. Thanks!