Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.