Re: [tcljava-dev] TJC compile error
Brought to you by:
mdejong
|
From: Mo D. <md...@un...> - 2006-03-08 22:18:24
|
On Tue, 7 Mar 2006 10:09:46 -0700
Tom Poindexter <tpo...@ny...> wrote:
> $ jaclsh
> % proc randazAZchar {} {
> return [format %c [expr {int(rand() * 26) + [expr {int(rand() * 10) > 5 ? 97 : 65}]}]]
> }
> % TJC::compile randazAZchar
> % Interal error while compiling proc "randazAZchar" in file RandazAZcharCmd
> unknown type "operator" in {operator {
> return [format %c [expr {int(rand() * 26) + [expr {int(rand() * 10) > 5 ? 97 : 65}]}]]
> }
Ugh. That is a nasty one. It can be reproduced with just [expr {rand() * 1}]. This issue
has now been fixed and the patch has been checked into the CVS.
Mo DeJong
|