|
2003-04-08
| ||
| 03:19 | • Closed ticket [711371ffff]: inconsistent error message from compiled if comman... artifact: 2d7f149407 user: dgp | |
| 01:02 | • Ticket [711371ffff]: 5 changes artifact: 4720fa6241 user: dgp | |
|
2003-04-07
| ||
| 17:05 | • Ticket [711371ffff]: 4 changes artifact: ffd6ff4b36 user: nobody | |
|
2003-03-28
| ||
| 23:22 | • Ticket [711371ffff]: 4 changes artifact: 4ca3658084 user: dgp | |
| 23:19 | • Ticket [711371ffff]: 1 change artifact: d060f39dc2 user: dkf | |
| 23:19 | • Ticket [711371ffff]: 4 changes artifact: 152c143a8d user: msofer | |
| 23:06 | • Ticket [711371ffff]: 4 changes artifact: c2a2459856 user: dgp | |
| 14:56 | • New ticket [711371ffff]. artifact: 07393aadfd user: nobody | |
inconsistent error message from compiled [if] command
Closed / Fixed711371ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-28 14:56:04
% if {42-22} ;# stuff
wrong # args: no script following "{42-22} ;# stuff
" argument
% set x if
if
% $x {42-22} ;# stuff
wrong # args: no script following "42-22" argument
OK. I admit this is *so* low priority ;)
It is a little surprising that the compiled [if]
can 'see' the curly braces and comment because
conceptually at least all it should see is a single
string "42-22".
dgpplain2003-03-28 23:06:58
Logged In: YES user_id=80530 In what release(s) of Tcl do you see this behavior? Please try as many as you have available.
msoferplain2003-03-28 23:19:13
Logged In: YES user_id=148712 Bug present in 8.3.4 and all 8.4.x release(s)
dkf Ticket [711371ffff]: 1 change
[History diff]2003-03-28 23:19:42
dgpplain2003-03-28 23:22:36
Logged In: YES user_id=80530 thanks. Sometimes little details like this can be a canary in the coal mine, but this one goes back to 8.3.4, so probably just a tiny annoyance.
nobodyplain2003-04-07 17:05:50
Logged In: NO Get the same problem with just [if]: % info patchlevel 8.4.2 % if ;# stuff wrong # args: no expression after "if ;# stuff " argument % set X if if % $X ;# if wrong # args: no expression after "if" argument
dgpplain2003-04-08 01:02:48
Logged In: YES user_id=80530 This bug is due to literal lengths in sprintf() calls in TclCompieIfCmd.
dgpplain2003-04-08 03:19:21
Logged In: YES user_id=80530 fixed for 8.4.3+
Log in (anonymous is fine) to add a comment.