From f8fb3004043b8383bfed1df627847ae10d8ddd7f Mon Sep 17 00:00:00 2001 From: Oskar Date: Wed, 27 Mar 2024 19:38:14 +0100 Subject: validate_L is done, still needs some testing and then some cleanup, merging into master anyway --- i_validation.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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; + + } } -- cgit v1.2.3