octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parser problem?


From: Ben Abbott
Subject: parser problem?
Date: Fri, 13 Mar 2009 10:56:30 +0800

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]