parser problem?
Ben Abbott
bpabbott at mac.com
Thu Mar 12 21:56:30 CDT 2009
Do I infer correctly that this is a parser problem?
octave:1> warning error
octave:2> help cellstr
error: potential auto-insertion of `,' near line 47 of file /Users/
bpabbott/Development/mercurial/octave-3.1.54/scripts/help/which.m
error: called from:
error: /Users/bpabbott/Development/mercurial/octave-3.1.54/scripts/
help/help.m at line 81, column 5
octave:2> help test
error: potential auto-insertion of `,' near line 89 of file /Users/
bpabbott/Development/mercurial/octave-3.1.54/scripts/strings/strcat.m
error: called from:
error: /Users/bpabbott/Development/mercurial/octave-3.1.54/scripts/
help/__makeinfo__.m at line 154, column 12
error: /Users/bpabbott/Development/mercurial/octave-3.1.54/scripts/
help/__makeinfo__.m at line 111, column 16
error: /Users/bpabbott/Development/mercurial/octave-3.1.54/scripts/
help/help.m at line 62, column 25
octave:2>
Line 47 of which.m is
varargout = {m.file};
Line 89 of strchr.m is
varargin{nv}(:) = {str};
From the Octave prompt
octave:6> warning error
octave:7> a = "a";
octave:8> b = {a}
error: potential auto-insertion of `,' near line 8
octave:8> b = {(a)}
b =
{
[1,1] = a
}
octave:9> b = {a(:)}
b =
{
[1,1] = a
}
Ben
p.s. my last build was about 2 days ago.
More information about the Octave-maintainers
mailing list