On 29 July 2011 02:01, Steve Bennett <ste...@workware.net.au> wrote: > > I don't know what parameters may be passed to these procs, but if they could > contain > spaces, quotes or braces this could cause unexpected behaviour. > You might consider using the more correct form: > > proc stm32f2xxx args { > echo "DEPRECATED! use 'stm32f2x $args' not 'stm32f2xxx $args'" > tailcall stm32f2x {*}$args > } >
Thanks, i am no tcl expert - far from it. I just copied existing openocd code, i have tested the args and they all work as expected in this case. Cheers Spen _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development