diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-11 14:53:29 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-12 10:31:04 -0800 |
commit | d987bd2997e51e1cbe0681b791adfc685753955c (patch) | |
tree | b53393852c5e4896d96499ff8b75734cdeb8e2ba /docs/coding.md | |
parent | a0bd3131390567d1bd79c1ac19f663caff603445 (diff) | |
download | nextpnr-d987bd2997e51e1cbe0681b791adfc685753955c.tar.gz nextpnr-d987bd2997e51e1cbe0681b791adfc685753955c.tar.bz2 nextpnr-d987bd2997e51e1cbe0681b791adfc685753955c.zip |
Add unknown handles to convert [0] to "[0]".
Tcl reads something like "set port [get_ports x[0]]" as "invoke proc 0
with zero arguments", rather than just "[0]". To prevent exposing
non-Tcl users this, "[<number>]" just return themselves.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'docs/coding.md')
0 files changed, 0 insertions, 0 deletions