Mercurial > octave-nkf
comparison src/ov-cell.cc @ 9106:1eb5b24186b6
fix nested cell assignment
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 09 Apr 2009 21:44:47 +0200 |
parents | eb63fbe60fab |
children | 978c863bc8e5 |
comparison
equal
deleted
inserted
replaced
9105:9b12ed1fbbbd | 9106:1eb5b24186b6 |
---|---|
254 } | 254 } |
255 break; | 255 break; |
256 | 256 |
257 case '{': | 257 case '{': |
258 { | 258 { |
259 matrix.make_unique (); | |
259 Cell tmpc = matrix.index (idx.front (), true); | 260 Cell tmpc = matrix.index (idx.front (), true); |
260 | 261 |
261 if (! error_state) | 262 if (! error_state) |
262 { | 263 { |
263 std::list<octave_value_list> next_idx (idx); | 264 std::list<octave_value_list> next_idx (idx); |