summaryrefslogtreecommitdiff
path: root/testing/tcl_server.tcl
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-10-22 07:44:54 -0700
committerZachary T Welch <zw@superlucidity.net>2009-11-05 17:27:25 -0800
commit36a3646c2205474345482188c8c05e50d1f67e44 (patch)
tree28e687c4ef383f98be76467ed6e5a86dbaa00e74 /testing/tcl_server.tcl
parent68785af4da7727238c86dcf8858e0b5975bc988e (diff)
downloadopenocd_libswd-36a3646c2205474345482188c8c05e50d1f67e44.tar.gz
openocd_libswd-36a3646c2205474345482188c8c05e50d1f67e44.tar.bz2
openocd_libswd-36a3646c2205474345482188c8c05e50d1f67e44.tar.xz
openocd_libswd-36a3646c2205474345482188c8c05e50d1f67e44.zip
Add macro for parsing numeric command arguments.
This helper eliminates significant amount of redundant code in command handler functions throughout the system. It wraps the lower-level parse_* macros to implement a policy for reporting parse errors to the active command context (cmd_ctx). If errors do occur, this macro causes the calling function to abort with the proper return code.
Diffstat (limited to 'testing/tcl_server.tcl')
0 files changed, 0 insertions, 0 deletions