mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
Fix
This commit is contained in:
parent
31455ff252
commit
6d96259e8f
@ -302,7 +302,7 @@ static Token read_punct(Lexer *ctx, int type, char *s, int n)
|
||||
int ret = cmp_nextn(ctx, n, s);
|
||||
|
||||
if (ret == 0)
|
||||
tok.type = type;
|
||||
tok = get_tok(ctx, type);
|
||||
else
|
||||
return get_tok(ctx, TOK_NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user