Regression: eval'ing scripts fails

John W. Eaton jwe at bevo.che.wisc.edu
Sat May 3 21:14:45 CDT 2008


On  3-May-2008, Moritz Borgmann wrote:

| This seems to be a regression:
| 
| eval('testfun')
| 
| works if testfun.m is a function, but fails with something like
| 
| error: `testfun' undefined near line 6 column 1
| 
| if testfun.m is a script.
| 
| Tested with current hg default branch.

I checked in the following change.

Thanks,

jwe

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


More information about the Bug-octave mailing list