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

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

[Octave-bug-tracker] [bug #46877] Unreachable return statement after err


From: Rik
Subject: [Octave-bug-tracker] [bug #46877] Unreachable return statement after error call in lex.ll
Date: Thu, 14 Jan 2016 14:54:46 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #46877 (project octave):

                Category:                    None => Interpreter            
                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

The only FIXME I see left that is along these lines is 


void
octave_base_lexer::fatal_error (const char *msg)
{
  error (msg);

  // FIXME: This is no longer reachable now that error is exception based.
  OCTAVE_QUIT;

  yy_fatal_error (msg, scanner);
}


But, I assume fatal really is fatal and Octave will be exiting immediately. 
In that case, cleaning up and memory leaks can be damned.

Closing report.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46877>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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