comparison src/symtab.h @ 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 8c2a1c876c2c
children
comparison
equal deleted inserted replaced
12026:1d6856f0acd3 12027:650a5bbc07a8
1061 1061
1062 static void force_variable (const std::string& name, 1062 static void force_variable (const std::string& name,
1063 scope_id scope = xcurrent_scope, 1063 scope_id scope = xcurrent_scope,
1064 context_id context = xcurrent_context) 1064 context_id context = xcurrent_context)
1065 { 1065 {
1066 assert (xcurrent_context == 0);
1067
1068 symbol_table *inst = get_instance (scope); 1066 symbol_table *inst = get_instance (scope);
1069 1067
1070 if (inst) 1068 if (inst)
1071 inst->do_force_variable (name, context); 1069 inst->do_force_variable (name, context);
1072 } 1070 }