diff src/octave.cc @ 143:7849db4b6dbc

[project @ 1993-10-04 02:36:45 by jwe]
author jwe
date Mon, 04 Oct 1993 02:36:58 +0000
parents d80376609fd1
children 471912bc76c4
line wrap: on
line diff
--- a/src/octave.cc	Mon Oct 04 00:40:57 1993 +0000
+++ b/src/octave.cc	Mon Oct 04 02:36:58 1993 +0000
@@ -229,7 +229,7 @@
       unwind_protect_int (echo_input);
 
       input_line_number = 0;
-      current_input_column = 0;
+      current_input_column = 1;
       echo_input = 0;
 
       parse_and_execute (f, print);
@@ -479,6 +479,7 @@
       retval = yyparse ();
       if (retval == 0 && global_command != NULL_TREE)
 	{
+	  error_state = 0;
 	  global_command->eval (1);
 	  delete global_command;
 	  current_command_number++;