Mercurial > octave
diff libinterp/parse-tree/lex.ll @ 27301:a2b1ba6c92d5
eliminate unnecessary application::interative function
* octave.h, octave.cc (application_interactive): Delete functions.
Change all uses to check interactive state of interpreter directly
from interpreter object.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 28 Jul 2019 17:24:42 -0400 |
parents | 007fcab79721 |
children | 075602880383 |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll Mon Jul 29 14:38:40 2019 -0700 +++ b/libinterp/parse-tree/lex.ll Sun Jul 28 17:24:42 2019 -0400 @@ -2413,7 +2413,7 @@ // Only ask for input from stdin if we are expecting interactive // input. - if (application::interactive () + if (m_interpreter.interactive () && ! (m_reading_fcn_file || m_reading_classdef_file || m_reading_script_file