diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-26 17:54:40 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-26 17:54:40 +0200 |
commit | 63d4df1fbb5ac13cd388a1a0069ab82a13f81069 (patch) | |
tree | 12c4ef5371b2f2e5d7435bf51fa406a5d4d45060 /src/b_sqb.c | |
parent | New comparison strings stuff (diff) | |
download | 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.gz 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.bz2 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.xz 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.zst 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.zip |
Numbers are goodio, now errcheck
Diffstat (limited to '')
-rw-r--r-- | src/b_sqb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/b_sqb.c b/src/b_sqb.c index 34d5c06..fb52e00 100644 --- a/src/b_sqb.c +++ b/src/b_sqb.c @@ -15,6 +15,7 @@ #include <unistd.h> #include "b_sqb_file.h" +#include "b_sqb_nbr.h" #include "b_sqb_str.h" #include "d_define.h" #include "s_struct.h" @@ -72,6 +73,8 @@ static uint8_t else if (id == FT_ID_SQB_N || id == FT_ID_SQB_Z || id == FT_ID_SQB_EQUA || id == FT_ID_SQB_DIFF) ret = b_sqb_str(id, argv); + else if (id >= FT_ID_SQB_EQ) + ret = b_sqb_nbr(id, argv); return (ret); } |