diff options
-rw-r--r-- | src/m_loop_next.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/m_loop_next.c b/src/m_loop_next.c index f1d1f0b..31751f2 100644 --- a/src/m_loop_next.c +++ b/src/m_loop_next.c @@ -162,9 +162,9 @@ static t_bool { char c; - if (mode == M_NO_MODE) + if (mode == FT_NO_MODE) return (FALSE); - c = (mode == M_SQ_MODE) ? (C_SQUOTE) : (C_DQUOTE); + c = (mode == FT_SQ_MODE) ? (C_SQUOTE) : (C_DQUOTE); (*ptr) += 1; while (**ptr != C_NULL) { @@ -193,7 +193,7 @@ static t_bool uint8_t mode; ptr = line; - mode = M_NO_MODE; + mode = FT_NO_MODE; while (*ptr != C_NULL) { if (*ptr == C_SQUOTE || *ptr == C_DQUOTE) @@ -202,9 +202,9 @@ static t_bool ((ptr - line) >= 1 && *(ptr - 1) != C_BS) || ((ptr - line) > 1 && *(ptr - 1) == C_BS && *(ptr - 2) == C_BS)) { - mode = (*ptr == C_SQUOTE) ? (M_SQ_MODE) : (M_DQ_MODE); + mode = (*ptr == C_SQUOTE) ? (FT_SQ_MODE) : (FT_DQ_MODE); if (m_find_next_quote(&ptr, line, mode) == FALSE) - mode = M_NO_MODE; + mode = FT_NO_MODE; else return (TRUE); } |