doc: use the new jimtcl syntax for 'expr'
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 12 Jan 2022 16:59:12 +0000 (17:59 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 Jan 2022 10:13:36 +0000 (10:13 +0000)
commit5a8d32fcb92f179445da6d3f7b0ceeec4efbcc6f
treec67a4c73d294f034aa72e2967e22f895c0818efc
parentaad87180586a43500f8af1cf79255c7293bb258b
doc: use the new jimtcl syntax for 'expr'

With jimtcl 0.81 the syntax of the TCL command 'expr' requires the
multiple arguments to be within curly brackets.

Update the examples in the documentation to follow the new syntax.
While there, split one example to avoid it to exceed the line size
during pdf document generation.

Change-Id: I91cca419f8273415ccb0c2ce369fc6ac476e34e5
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6809
Tested-by: jenkins
doc/manual/primer/tcl.txt
doc/openocd.texi