Mercurial > hg > octave-nkf
comparison src/pt-arg-list.cc @ 5388:7099eb9841b4
[project @ 2005-06-14 20:04:31 by jwe]
author | jwe |
---|---|
date | Tue, 14 Jun 2005 20:04:31 +0000 |
parents | 4c8a2e4e0717 |
children | a527e0f77aa5 |
comparison
equal
deleted
inserted
replaced
5387:5b00a8beb504 | 5388:7099eb9841b4 |
---|---|
143 { | 143 { |
144 | 144 |
145 if (index_position < dv.length ()) | 145 if (index_position < dv.length ()) |
146 retval = dv(index_position); | 146 retval = dv(index_position); |
147 else | 147 else |
148 { | 148 retval = 1; |
149 std::string dv_str = dv.str (); | |
150 ::error ("invalid use of end: (index %d, dims %s)", | |
151 index_position+1, dv_str.c_str ()); | |
152 } | |
153 } | 149 } |
154 break; | 150 break; |
155 } | 151 } |
156 } | 152 } |
157 else | 153 else |