changeset 12027:650a5bbc07a8 release-3-2-x

remove assertion in force_variable
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 30 Jun 2009 09:03:56 +0200
parents 1d6856f0acd3
children 2de1ae881cea
files src/ChangeLog src/symtab.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-30  Jaroslav Hajek  <highegg@gmail.com>
+
+	* symtab.h (force_variable): Remove assertion.
+
 2009-06-26  John W. Eaton  <jwe@octave.org>
 
 	* load-path.cc (Faddpath): Preserve order of prepended elements.
--- a/src/symtab.h
+++ b/src/symtab.h
@@ -1063,8 +1063,6 @@
 			      scope_id scope = xcurrent_scope,
 			      context_id context = xcurrent_context)
   {
-    assert (xcurrent_context == 0);
-
     symbol_table *inst = get_instance (scope);
 
     if (inst)