diff options
author | simon qian <simonqian.openocd@gmail.com> | 2010-01-24 04:08:47 +0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-25 13:06:46 -0800 |
commit | 33fc60befc808b83ab4ef6b1c7a7130c7ccedfc8 (patch) | |
tree | 30f0258a90f60a19cd0519c7a27fb88629fdf851 /tcl/board/sheevaplug.cfg | |
parent | 1dad2ee602674de1b97548913dba2d53267d35a3 (diff) | |
download | openocd_libswd-33fc60befc808b83ab4ef6b1c7a7130c7ccedfc8.tar.gz openocd_libswd-33fc60befc808b83ab4ef6b1c7a7130c7ccedfc8.tar.bz2 openocd_libswd-33fc60befc808b83ab4ef6b1c7a7130c7ccedfc8.tar.xz openocd_libswd-33fc60befc808b83ab4ef6b1c7a7130c7ccedfc8.zip |
SVF: all content between parentheses is one parameter
More SVF fixes:
* Treat all content between parentheses as part of the same
parameter; don't (wrongly) treat whitespace as a delimiter.
* Use isspace() to catch that whitespace; it's not all single
spaces, newlines etc are also valid.
* When parsing bitstrings, strip leading whitespace too.
So for example, these are equivalent and should (now) be OK:
"TDI( 1234 )"
"TDI( 1 2 3 4 )"
"TDI(00 12 34 )"
"TDI(
00 12
34)"
[dbrownell@users.sourceforge.net: comment updates; trivial cleanup]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/board/sheevaplug.cfg')
0 files changed, 0 insertions, 0 deletions