diff options
author | Oskar <[email protected]> | 2024-04-05 18:33:04 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-05 18:33:04 +0200 |
commit | 39fbc6c0b60780b37fc824acd2dc685c3733ef47 (patch) | |
tree | 87766ee7c153073ae45e6efb464b3eb449d1b575 /i_validation.h | |
parent | 918acf5dc55fa27f2ba4121b8dd07fd5cde036bd (diff) |
Changes to some of the validation functions to allow immediate '0' in
MODE_N
Diffstat (limited to 'i_validation.h')
-rw-r--r-- | i_validation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i_validation.h b/i_validation.h index 39e5848..c810e8d 100644 --- a/i_validation.h +++ b/i_validation.h @@ -16,11 +16,11 @@ #define MODE_L 76 // MODE_L works for Commands with + and - #define MODE_N 78 // MODE_N works for Commands with + only -int validate_imm_numbers(char *smode_buf); +int validate_imm_numbers(char *smode_buf, int mode); int validate_check_p_m(char *smode_buf, int mode); -int validate_check_imm(char *smode_buf); +int validate_check_imm(char *smode_buf, int mode); int validate_plus_continue(char *smode_buf); |