diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-10-22 07:44:54 -0700 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-05 17:27:25 -0800 |
commit | 36a3646c2205474345482188c8c05e50d1f67e44 (patch) | |
tree | 28e687c4ef383f98be76467ed6e5a86dbaa00e74 /src/jtag/bitq.h | |
parent | 68785af4da7727238c86dcf8858e0b5975bc988e (diff) | |
download | openocd_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 'src/jtag/bitq.h')
0 files changed, 0 insertions, 0 deletions