Parser not catching hanging "]" or "}"
Closed / Invalid951253ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-10 13:43:36
Using the following commands:
set str 123
123
set str1 $str]
123]
set str1 $str}
123}
Is this how the parser is supposed to act? I was
expecting the parser to complain about missing a "{"
or "[" based on the error.
msoferplain2004-05-10 21:43:46
Logged In: YES
user_id=148712
This is correct and documented behavior, see the manual page
Tcl(n).
The symbols ] and } have special meaning only within words
starting with [ and { respectively.
Log in (anonymous is fine) to add a comment.