Mercurial > hg > octave-nkf
diff scripts/io/strread.m @ 15855:4294430ef736
strread: make warning mesage more tractable
author | Philip Nienhuis <prnienhuis@users.sf.net> |
---|---|
date | Fri, 28 Dec 2012 00:11:41 +0100 |
parents | 8f0d07f8390b |
children | 8899c785cc99 |
line wrap: on
line diff
--- a/scripts/io/strread.m +++ b/scripts/io/strread.m @@ -597,7 +597,8 @@ else if (! idg(ii) && ! isempty (strfind (fmt_words{ii-1}, "%s"))) ## Trailing literal. If preceding format == '%s' this is an error - warning ("Ambiguous '%s' specifier next to literal in column %d", icol); + warning ... + ("strread: ambiguous '%s' specifier next to literal in column %d", icol); elseif (idg(ii)) ## Current field = fixed width. Strip into icol, rest in icol+1 sw = regexp (fmt_words{ii}, '\d', "once");