diff src/toplev.cc @ 4172:2e94b2abfe6d

[project @ 2002-11-12 21:14:04 by jwe]
author jwe
date Tue, 12 Nov 2002 21:14:04 +0000
parents 04694e5b4239
children 2aea727f516f
line wrap: on
line diff
--- a/src/toplev.cc	Tue Nov 12 20:27:24 2002 +0000
+++ b/src/toplev.cc	Tue Nov 12 21:14:04 2002 +0000
@@ -78,6 +78,9 @@
 // TRUE means we are exiting via the builtin exit or quit functions.
 static bool quitting_gracefully = false;
 
+// TRUE means we've processed all the init code and we are good to go.
+bool octave_initialized = false;
+
 // Current command to execute.
 tree_statement_list *global_command = 0;
 
@@ -108,6 +111,8 @@
 
   octave_catch_interrupts ();
 
+  octave_initialized = true;
+
   // The big loop.
 
   int retval = 0;