mirror of
https://github.com/linux-msm/qmic.git
synced 2026-02-25 13:11:34 -08:00
84f213e5846d995170a82ab0a680363daa44f95c
In yylex(), when parsing a number, an attempt is made to allow hexadecimal values to be interpreted if the second character of the token being parsed is 'x'. However the parser is only otherwise permitting digits 0-9 to be used. Fix this by using isxdigit() rather than isdigit(). The result still permits nonsensical values to be accepted, but at least hexidecimal values containing [a-fA-F] will be interpreted correctly. Signed-off-by: Alex Elder <elder@linaro.org> Message-Id: <20211001232338.769309-24-elder@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Description
Languages
C
99.4%
Makefile
0.6%