The interpreter doesn't ignore comments
Closed / Invalid26a40d043e861f9a0b3350b916e8a6a7ca9cfa4cCreated 11 years agoUpdated 11 years ago
Descriptionplain2015-07-27 02:50:15
I don't know whether this is a bug or not. Anyway it's a little bit annoying.
Here there is a simple example:
proc someProc {} {
# In this proc there is an unbalanced brace "{"
}
The interpreter guives this error:
"missing close-brace: possible unbalanced brace in comment"
Perhaps the correct behaviour is to ignore all text in comments, including braces.
This situation also happens with methods of classes.
dgpplain2015-07-29 12:12:07
Not a bug. See syntax rules for brace quoting. http://www.tcl.tk/man/tcl8.6/TclCmd/Tcl.htm#M10 http://wiki.tcl.tk/462
Log in (anonymous is fine) to add a comment.