diff libinterp/interpfcn/input.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 e7ff32e7cf82
children 8cb65fd72164
line wrap: on
line diff
--- a/libinterp/interpfcn/input.cc
+++ b/libinterp/interpfcn/input.cc
@@ -156,8 +156,6 @@
 
   eof = false;
 
-  assert (line_editing);
-
   std::string retval = command_editor::readline (s, eof);
 
   if (! eof && retval.empty ())