Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
16209:e7ff32e7cf82 | 16210:78365c56a762 |
---|---|
94 static std::string | 94 static std::string |
95 octave_program_invocation_name; | 95 octave_program_invocation_name; |
96 | 96 |
97 // The last component of octave_program_invocation_name. | 97 // The last component of octave_program_invocation_name. |
98 static std::string octave_program_name; | 98 static std::string octave_program_name; |
99 | |
100 // TRUE means we are using readline. | |
101 // (--no-line-editing) | |
102 static bool line_editing = true; | |
99 | 103 |
100 // TRUE means we read ~/.octaverc and ./.octaverc. | 104 // TRUE means we read ~/.octaverc and ./.octaverc. |
101 // (--norc; --no-init-file; -f) | 105 // (--norc; --no-init-file; -f) |
102 static bool read_init_files = true; | 106 static bool read_init_files = true; |
103 | 107 |