Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-08-11
20:24 • Ticket [1256692fff] parsing fails on commented brackets status still Closed ... artifact: dd40b3bf3a user: msofer
20:24 • Closed ticket [1256692fff]. artifact: 4ec7938b2c user: msofer
13:17 • New ticket [1256692fff]. artifact: 4b7362c542 user: k-arel

parsing fails on commented brackets

Closed / Invalid1256692fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-11 13:17:20
i noticed when running a TCL application with wish ,
the parser fails on brackets which are open, but commented

example:
proc duf {} {
# if {
}


$ wish duf.tcl

Error in startup script: missing close-brace: possible
unbalanced brace in comment
    while executing
"proc duf {}"
    (file "duf.tcl" line 1)
msofer Closed ticket [1256692fff]. [History diff]2005-08-11 20:24:21
msoferplain2005-08-11 20:24:22
Logged In: YES 
user_id=148712

This is the way the Tcl parser works. Please consult the
manual page Tcl.n and the wiki page http://wiki.tcl.tk/462
Log in (anonymous is fine) to add a comment.