ted wrote:What source code provoked this message?
kind of complicated. Let me trim it to the smallest part to reproduce the problem. I read this message in the ChangeLog of NEURON, so I had hoped this might be a problem addressed already.
Code: Select all
Fri May 17 20:56:42 2002 hines <hines@miranda>
...
* nrn5/src/ivoc/ocjump.cpp, nrn5/src/nrnoc/cabcode.c, nrn5/src/nrnoc/point.c, nrn5/src/nrnoc/seclist.c, nrn5/src/oc/code.c:
The very old bug in not popping the section stack when a continue, break, or return occurred in a section statement is fixed.
The section stack pointer was converted to an integer to make it
easier to pop the section stack back to a known point when hoc_returning is non-zero. At the moment the following warning is printed if this feature takes effect:
The sectionstack index should be 0 but it is 1
nrniv: prior to version 5.3 the section stack would not have been
properly popped and the currently accessed section would
have been b in secstack.hoc
THis feature is necessarily turned off between a
push_section()...pop_section() fragment.
Yes I confirm that in my code there is continue, break in the section statement. In the last loop the currently accessed section is the one the message says to be "would have been" (dend[32]).
After the execution of my script, psection() prints info of soma. Is this the supposed behavior from the above notes? there may not be a problem here, am I understanding it right?
It is kind of complicate code, I may need some time to reduce it.