diff src/parse.y @ 9144:c6463412aebb

eliminate symbol_table::scope_stack; fix scoping issue with evalin
author John W. Eaton <jwe@octave.org>
date Tue, 21 Apr 2009 15:39:57 -0400
parents 97aa01a85ea4
children 9c2349a51218
line wrap: on
line diff
--- a/src/parse.y
+++ b/src/parse.y
@@ -4171,6 +4171,8 @@
 
       if (! error_state)
         {
+	  unwind_protect::begin_frame ("Fassignin");
+
 	  if (context == "caller")
 	    octave_call_stack::goto_caller_frame ();
 	  else if (context == "base")
@@ -4194,6 +4196,8 @@
 	      else
 		error ("assignin: expecting variable name as second argument");
 	    }
+
+	  unwind_protect::run_frame ("Fassignin");
 	}
       else
         error ("assignin: expecting string as first argument");