https://bugs.kde.org/show_bug.cgi?id=401893
Bug ID: 401893 Summary: Octave backend can't finished an execution of expression only from comments Product: cantor Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: octave-backend Assignee: alexander.se...@web.de Reporter: warqu...@gmail.com CC: alexanderrie...@gmail.com Target Milestone: --- SUMMARY Current logic don't handle this situation very well, because for a expression only from comments index of prompt doesn't increase and we don't expect it. Regexp will not handle this very well, so I think, we need use Octave include files, create Octave AST from command and check, that the AST not from comment only (using embedded octave could be useful for Octave backend at all, not only in this situation). STEPS TO REPRODUCE 1. Open Octave worksheet 2. Add command entry with only comments, like "#Comment" 3. Run the entry OBSERVED RESULT The entry never finished. But we could interrupt the expression or restart Backend. EXPECTED RESULT The entry finished without output. -- You are receiving this mail because: You are watching all bug changes.