[subst] & var subst exceptions
Closed / Fixed536879ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-03-29 19:38:56
[subst] does not handle exceptions in variable
substitutions correctly.
% list [catch {subst {a[break]b}} msg] $msg $errorInfo
0 a {}
% list [catch {subst {a$foo([break])b}} msg] $msg
$errorInfo
1 {} {
while executing
"subst {a$foo([break])b}"}
Here's a patch to fix the problem including new
tests.
dgpplain2002-03-30 02:38:56
File Added - 20286: subst.patch
dkfplain2002-04-05 15:57:14
Logged In: YES user_id=79902 Seems OK to me; feel free to commit. (Do you feel that the current docs describe the new behaviour? If not, also update them.)
dgpplain2002-04-06 02:26:32
Logged In: YES user_id=80530 commited to HEAD (8.4a5). Will deal with doc improvements in Bug 536838
Log in (anonymous is fine) to add a comment.
Attachments:
- subst.patch [download] added by dgp on 2002-03-30 02:38:56. [details]