comparison src/ov-struct.cc @ 4059:db58c1a1e6ce

[project @ 2002-09-18 07:21:12 by jwe]
author jwe
date Wed, 18 Sep 2002 07:21:12 +0000
parents 635209a37bf4
children 6e86256e9c54
comparison
equal deleted inserted replaced
4058:980308741392 4059:db58c1a1e6ce
237 // needs to skip both of them. 237 // needs to skip both of them.
238 238
239 next_idx.remove_front (); 239 next_idx.remove_front ();
240 next_idx.remove_front (); 240 next_idx.remove_front ();
241 241
242 u.make_unique ();
243
242 t_rhs = u.subsasgn (type.substr (2), next_idx, rhs); 244 t_rhs = u.subsasgn (type.substr (2), next_idx, rhs);
243 } 245 }
244 } 246 }
245 else 247 else
246 gripe_invalid_index_for_assignment (); 248 gripe_invalid_index_for_assignment ();
272 if (! error_state) 274 if (! error_state)
273 { 275 {
274 SLList<octave_value_list> next_idx (idx); 276 SLList<octave_value_list> next_idx (idx);
275 277
276 next_idx.remove_front (); 278 next_idx.remove_front ();
279
280 u.make_unique ();
277 281
278 t_rhs = u.subsasgn (type.substr (1), next_idx, rhs); 282 t_rhs = u.subsasgn (type.substr (1), next_idx, rhs);
279 } 283 }
280 } 284 }
281 break; 285 break;