https://bugs.documentfoundation.org/show_bug.cgi?id=65758
--- Comment #14 from [email protected] ---
still not sure about what to do, but it seems....
There is two different uses of the term "Error"
* "Error Statement" that causes execution stop
and
* Error Function, which returns the error messsage
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx?r=28fc9860#191
like this
Msgbox(Error(9))
no wonder even if error function(in my definition, not the reporter's) does not
stop execution. I agree that this is very confusing, though.
--
in OK case, Peek() used is the following one.
https://opengrok.libreoffice.org/xref/core/basic/source/comp/parser.cxx?r=587ac01f#323
in KO case(Error is used in a IF statement), this Peek() is called after
Parse() is returned.
I'm not sure if Peek() called inside Parse() as in OK case would affect this
case.
https://opengrok.libreoffice.org/xref/core/basic/source/comp/loops.cxx?r=ab9b67bb#49
Also let me note that Next() called in Parse() after the Peek() as in OK case
resets ePush to NIL. it's still unclear to me this is important in fixing this
bug.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs