[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55891] "help @class/method" emits an error ra
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation |
Date: |
Tue, 12 Mar 2019 13:05:23 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #4, bug #55891 (project octave):
Oops, botched verbatim tags... Here it is again:
What does Matlab do? Does it accept this syntax for getting help or generally
referencing methods in classes? Or does it use some other syntax?
The conflict is that we are matching superclass identifiers (address@hidden)
with a
greedy regexp in which there may be whitespace around the "@" symbol and NAME
may be of the form FOO.BAR.BAZ... and there may be whitespace around the "."
symbol. SO, that leads to the problem of trying to also recognize command
syntax. So I guess my question is really whether Matlab recognizes something
like
foo @bar
as a command or errors because it looks like a superclass reference in
thewrong context.
If it accepts this syntax as a command and the command line, what does it do
inside a classdef method or constructor?
I'm fairly confident that it is not looking at the first word and trying to
look up a symbol and decide whether it should be treated as a command or not,
but who knows?
In short (well, maybe this comment could have actually BEEN shorter): WTF are
the rules supposed to be?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55891>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55891] is "help @class/method" removed?, Colin Macdonald, 2019/03/12
- [Octave-bug-tracker] [bug #55891] is "help @class/method" removed?, John W. Eaton, 2019/03/12
- [Octave-bug-tracker] [bug #55891] is "help @class/method" removed?, Rik, 2019/03/12
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, Rik, 2019/03/12
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, John W. Eaton, 2019/03/12
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation,
John W. Eaton <=
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, Mike Miller, 2019/03/13
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, John W. Eaton, 2019/03/13
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, Mike Miller, 2019/03/13
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, John W. Eaton, 2019/03/13
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, Rik, 2019/03/14
- [Octave-bug-tracker] [bug #55891] "help @class/method" emits an error rather than showing documentation, Colin Macdonald, 2019/03/14