octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64705] VM variable scope problems when execut


From: Petter
Subject: [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts
Date: Fri, 6 Oct 2023 20:45:56 -0400 (EDT)

Follow-up Comment #13, bug #64705 (project octave):

Thanks for the tests. I think I might have been able to fix the issue. I'll
clean up the patch at post it here. There is a small issue left.

Essentially it is a mix of improper handling of calling uncompiled scripts
from bytecode scripts exposed in this case by scripts in e.g. run('fooscript')
or eval('fooscript') not getting compiled due to a "not really implemented yet
check" in ov-usr-fcn.cc. The 'ans' problem is a trivial just-not-added-to-list
thing. The load/save problem is due to insert_symbol() not being up to date to
the changes supporting scripts.

Script and functions could be enabled separately somehow as a workaround, but
hopefully scripts should work eventually. Getting the script frames to work
properly seems to be quite complex, since they can change each other in so
many ways compared to functions.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64705>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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