mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
src/parser.cpp: fix typo from rebase;
This commit is contained in:
parent
ff4a03f351
commit
5de92425d5
@ -655,7 +655,7 @@ static AstNode *ast_parse_suspend_block(ParseContext *pc, size_t *token_index, b
|
||||
Token *token = &pc->tokens->at(*token_index);
|
||||
Token *suspend_token = nullptr;
|
||||
|
||||
if (suspend_token->id == TokenIdKeywordSuspend) {
|
||||
if (token->id == TokenIdKeywordSuspend) {
|
||||
*token_index += 1;
|
||||
suspend_token = token;
|
||||
token = &pc->tokens->at(*token_index);
|
||||
|
Loading…
Reference in New Issue
Block a user