[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37320] Documentation 'which' doesn't work on
[Octave-bug-tracker] [bug #37320] Documentation 'which' doesn't work on variables
Tue, 11 Feb 2014 11:51:03 +0000
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
Follow-up Comment #7, bug #37320 (project octave):
I have given a try to solve this issue, see attached patch.
In order to find if a symbol exist as a variable, we need to have access to
the caller variable scope. I rewrote which as a builtin DEFUN (__wich__ in
help.cc becomes which) so that the function is run in the caller scope.
I know that the policy is to have as much functions defined in .m files as
possible, but I couldn't find another way to have access to the callers
workspace (plus most part of the job is already done in __which__).
The patch is not complete as it makes the build process fail whith the
Making all in scripts
make: *** No rule to make target « help/which.m »
Additional Item Attachment:
File name: whichasbuitin_bug37320.patch Size:6 KB
Reply to this item at:
Message sent via/by Savannah
- [Octave-bug-tracker] [bug #37320] Documentation 'which' doesn't work on variables,
Pantxo Diribarne <=