mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-09 03:46:31 +00:00
Fix compiler warning in Berry lexer
This commit is contained in:
parent
c36ff86724
commit
df7d056b51
@ -336,7 +336,7 @@ static btokentype scan_decimal(blexer *lexer)
|
||||
{
|
||||
btokentype type = TokenInteger;
|
||||
match(lexer, is_digit);
|
||||
if (decimal_dots(lexer) | scan_realexp(lexer)) {
|
||||
if (decimal_dots(lexer) || scan_realexp(lexer)) {
|
||||
type = TokenReal;
|
||||
}
|
||||
lexer->buf.s[lexer->buf.len] = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user