Ticket UUID: | 536879 | |||
Title: | [subst] & var subst exceptions | |||
Type: | Bug | Version: | obsolete: 8.4a5 | |
Submitter: | dgp | Created on: | 2002-03-29 19:38:56 | |
Subsystem: | 18. Commands M-Z | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-04-06 02:26:32 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2002-04-05 19:26:32 | |||
Description: |
[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. | |||
User Comments: |
dgp added on 2002-04-06 02:26:32:
Logged In: YES user_id=80530 commited to HEAD (8.4a5). Will deal with doc improvements in Bug 536838 dkf added on 2002-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.) dgp added on 2002-03-30 02:38:56: File Added - 20286: subst.patch |
Attachments:
- subst.patch [download] added by dgp on 2002-03-30 02:38:56. [details]