lexer: Remove unneeded isxdigit() check
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
@@ -357,8 +357,6 @@ lexer_scan_num(struct rifle_state *state, int lc, struct token *tok)
|
|||||||
return -1;
|
return -1;
|
||||||
if ((lc = lexer_nom(state, false)) == '\0')
|
if ((lc = lexer_nom(state, false)) == '\0')
|
||||||
return -1;
|
return -1;
|
||||||
if (!isxdigit(lc))
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user