Mercurial > hg > octave-nkf
diff libinterp/octave.cc @ 16210:78365c56a762
make global line_editing variable static in octave.cc
* octave.cc (line_editing): Declare static.
* input.h, input.cc (line_editing): Delete. Remove
* oct-parse.in.yy (eval_string, parse_fcn_file): Don't protect.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 06 Mar 2013 22:56:56 -0500 |
parents | ed91ab4d4515 |
children | d2b268936783 302157614308 |
line wrap: on
line diff
--- a/libinterp/octave.cc +++ b/libinterp/octave.cc @@ -97,6 +97,10 @@ // The last component of octave_program_invocation_name. static std::string octave_program_name; +// TRUE means we are using readline. +// (--no-line-editing) +static bool line_editing = true; + // TRUE means we read ~/.octaverc and ./.octaverc. // (--norc; --no-init-file; -f) static bool read_init_files = true;