[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/
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/04
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, anonymous, 2023/10/05
- Message not available
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/05
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/05
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/05
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/06
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, anonymous, 2023/10/06
- Message not available
- [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable, Arun Giridhar, 2023/10/06
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts, Arun Giridhar, 2023/10/06
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts,
Petter <=
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts, Petter, 2023/10/07
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts, Arun Giridhar, 2023/10/07
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts, John W. Eaton, 2023/10/08
- [Octave-bug-tracker] [bug #64705] VM variable scope problems when executing scripts, Arun Giridhar, 2023/10/13