summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_lcom_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c
index b106032..1df0a1f 100644
--- a/src/p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -194,7 +194,7 @@ char
ptr = words[i];
while (*ptr != '\0' && *ptr != '=')
ptr++;
- if (*ptr == '\0' || words[i][0] == '=')
+ if (*ptr == '\0' || words[i][0] == '=' || ft_isdigit(words[i][0]))
{
reg = FALSE;
if (i == 0)