diff options
author | Oskar <[email protected]> | 2024-03-27 19:38:14 +0100 |
---|---|---|
committer | Oskar <[email protected]> | 2024-03-27 19:38:14 +0100 |
commit | f8fb3004043b8383bfed1df627847ae10d8ddd7f (patch) | |
tree | 9f4f3d8060ae26da1c548045864c1e64bfde4342 | |
parent | 7062476a487384894fdde49155235bdb53240fd4 (diff) |
validate_L is done, still needs some testing and then some cleanup, merging into master anyway
-rw-r--r-- | i_validation.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/i_validation.c b/i_validation.c index a8968ba..293f47e 100644 --- a/i_validation.c +++ b/i_validation.c @@ -187,6 +187,21 @@ int validate_L(char *smode_buf) { } if (imm_number == TRUE_7ED) { printf("vimmn start\n"); + int vimmn_result = validate_imm_numbers(smode_buf); + switch(vimmn_result) { + case _VALID: + printf("valid\n"); + return _VALID; + break; + case _INVALID: + printf("invalid\n"); + return _INVALID; + break; + case _NA: + printf("NA\n"); + return _INVALID; + break; + } } // after vcimm we start vimmn } @@ -194,6 +209,22 @@ int validate_L(char *smode_buf) { if (plus_continue == TRUE_7ED) { printf("validate plus continue \n"); + int vpct_result = validate_plus_continue(smode_buf); + switch(vpct_result) { + case _VALID: + printf("valid\n"); + return _VALID; + break; + case _INVALID: + printf("invalid\n"); + return _INVALID; + break; + case _NA: + printf("NA\n"); + return _INVALID; + break; + + } } |