Mercurial > hg > octave-lyh
comparison src/pt-const.cc @ 2246:a6791c6486fa
[project @ 1996-05-22 07:34:50 by jwe]
author | jwe |
---|---|
date | Wed, 22 May 1996 07:34:50 +0000 |
parents | 6abec42e52f6 |
children | 9dc512bdc19b |
comparison
equal
deleted
inserted
replaced
2245:aaeccf9e1d32 | 2246:a6791c6486fa |
---|---|
259 do | 259 do |
260 { | 260 { |
261 end = ref.find ('.', beg); | 261 end = ref.find ('.', beg); |
262 | 262 |
263 string tmp = (end == NPOS) | 263 string tmp = (end == NPOS) |
264 ? ref.substr (beg) : ref.substr (beg, end - 1); | 264 ? ref.substr (beg) : ref.substr (beg, end - beg); |
265 | 265 |
266 list.append (tmp); | 266 list.append (tmp); |
267 } | 267 } |
268 while (end != NPOS && (beg = end + 1)); | 268 while (end != NPOS && (beg = end + 1)); |
269 | 269 |