diff --git a/VERSION b/VERSION index 0d8233d7..36c8ecb7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.466 +8.3.467 diff --git a/tcltk/toolkit.tcl b/tcltk/toolkit.tcl index 89388ac8..de350fb2 100644 --- a/tcltk/toolkit.tcl +++ b/tcltk/toolkit.tcl @@ -334,7 +334,9 @@ proc magic::generate_layout_add {subname subpins complist library} { } set outparts {} - lappend outparts "magic::gencell $libdev $instname" + # Escape any brackets in the instance name, since it gets passed to "eval" + set minstname [string map {[ \\\[ ] \\\]} $instname] + lappend outparts "magic::gencell $libdev $minstname" # Output all parameters. Parameters not used by the toolkit are # ignored by the toolkit.