diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-17 00:30:44 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-17 00:30:44 +0000 |
commit | d579befc0702969f71fce974befe898dec3af6dd (patch) | |
tree | e707854e43f911279f301876dbfcd1ed25653de1 /src/helper/command.h | |
parent | 0e28997989ffbb65ad765dd1f0c72c251dd86609 (diff) | |
download | riscv-openocd-d579befc0702969f71fce974befe898dec3af6dd.zip riscv-openocd-d579befc0702969f71fce974befe898dec3af6dd.tar.gz riscv-openocd-d579befc0702969f71fce974befe898dec3af6dd.tar.bz2 |
Add argument parsing errors in command.h, use in parse_type routines.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2258 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.h')
-rw-r--r-- | src/helper/command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helper/command.h b/src/helper/command.h index e4908dd..565a83e 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -98,6 +98,9 @@ extern void process_jim_events(void); #define ERROR_COMMAND_CLOSE_CONNECTION (-600) #define ERROR_COMMAND_SYNTAX_ERROR (-601) #define ERROR_COMMAND_NOTFOUND (-602) +#define ERROR_COMMAND_ARGUMENT_INVALID (-603) +#define ERROR_COMMAND_ARGUMENT_OVERFLOW (-604) +#define ERROR_COMMAND_ARGUMENT_UNDERFLOW (-605) extern int fast_and_dangerous; |