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

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

[Octave-bug-tracker] [bug #59938] Repeatable crash on pasting text with


From: Rik
Subject: [Octave-bug-tracker] [bug #59938] Repeatable crash on pasting text with blank lines into Octave command prompt (CLI not GUI)
Date: Sun, 24 Jan 2021 21:47:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Follow-up Comment #4, bug #59938 (project octave):

Following the backtrace, things appear correct at #5, oct-pars.yy:4963.  At
that point,


input="what\nwhos\n\nls"


which is what one would expect.

I think things might start to go sideways at #3, oct-parse.yy:398.  The code
is


input           : simple_list '\n'
                  {
                    OCTAVE_YYUSE ($2);

                    $$ = nullptr;
                    std::shared_ptr<octave::tree_statement_list> tmp_lst
($1);
                    parser.statement_list (tmp_lst);
                    YYACCEPT;
                  }




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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