Mercurial > octave
changeset 22696:90c3839825a3
revert b100f76b991d and don't support mac OS < 10.
* strread.m: Define eol character for comments to "\n" which
will work on all modern Mac, Unix, or Windows machines.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 28 Oct 2016 15:49:24 -0700 |
parents | d6164341b64d |
children | 1726f9088938 |
files | scripts/io/strread.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/io/strread.m Fri Oct 28 11:37:33 2016 -0700 +++ b/scripts/io/strread.m Fri Oct 28 15:49:24 2016 -0700 @@ -236,8 +236,7 @@ ## Parse options. First initialize defaults comment_flag = false; open_comment = false; - ## Default line ending. - cmt_eol = ifelse (ismac (), "\r", "\n"); + cmt_eol = "\n"; delimiter_str = ""; empty_str = ""; eol_char = "";