Subfunctions not found anymore from inline or anonymous functions

John W. Eaton jwe at bevo.che.wisc.edu
Tue Aug 12 15:28:52 CDT 2008


On 11-Aug-2008, Thomas Treichl wrote:

| in the default branch for Mac OSX I found a bug, that is, that subfunctions in 
| combination with inline functions and anonymous functions are not found anymore. 
| I have created a small m-file where (hopefully) you should see the bug, better I 
| send my output what I can see:
| 
|    octave-3.1.51+:1> mytest
|    ans = /Users/Thomas/tmp/Unfinished/Bugs/mytest.m
|    ans = mytest>funB
|    error: `funB' undefined near line 0 column 9
|    error: called from:
|    error:    at line 0, column 9
|    error:   /Users/Thomas/tmp/Unfinished/Bugs/mytest.m at line 9, column 28
|    octave-3.1.51+:1>
| 
| This is revision 8231 that I was compiling.

Please try the attached patch.

| I further cannot see the bug in the 
| Octave.app 3.0.1 from the stable branch - but I also don't know in which 
| revision in the default-branch it appeared, sorry...

The symbol table code (the part of Octave that handles looking up
functiond definitions) in 3.0.x and the current development branch is
completely different.

jwe


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080812/551e510c/attachment.ksh 


More information about the Bug-octave mailing list