From: SourceForge.net <no...@so...> - 2003-04-07 09:50:11
|
Bugs item #711371, was opened at 2003-03-28 06:56 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=711371&group_id=10894 Category: 44. Parsing and Eval Group: None Status: Open Resolution: None Priority: 1 Submitted By: Nobody/Anonymous (nobody) Assigned to: miguel sofer (msofer) Summary: inconsistent error message from compiled [if] command Initial Comment: % 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". ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-04-07 03:05 Message: 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 ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-03-28 08:22 Message: 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. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2003-03-28 08:19 Message: Logged In: YES user_id=148712 Bug present in 8.3.4 and all 8.4.x release(s) ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-03-28 08:06 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=711371&group_id=10894 |