commit 644e974b9969d2d0065bbf4ac6f2227db1f3f783 parent 3590dcd12e9a5e356f2bc1e8dec66d64d13abf10 Author: Eyal Sawady <ecs@d2evs.net> Date: Tue, 5 Jan 2021 13:19:11 -0500 lex: fix logical OR Diffstat:
M | src/lex.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lex.c b/src/lex.c @@ -746,7 +746,7 @@ lex2(struct lexer *lexer, struct token *out, uint32_t c) break; case '|': switch ((c = next(lexer, NULL, false))) { - case '&': + case '|': out->token = T_LOR; break; case '=':