[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tcl comments and if statements
Tcl seems to have the strange problem of not really ignoring commented-out
"if" statements. Specifically, if you have braces that are commented out,
it will complain of unbalanced braces.
The code:
# if { is-hardware-encode } {
if { 0 } {
...
}
will fail, because there is no closing brace for the commented out
first "if".
I fixed a couple of files in the repository that have this problem. Just
thought I'd warn people.
Erik