mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
Fix a use of appendToken to appendIdentifier in translate-c
This commit is contained in:
parent
442025481c
commit
9f6401c692
@ -4514,7 +4514,7 @@ const CtrlFlow = struct {
|
||||
const ltoken = try appendToken(c, kw, kw_text);
|
||||
const label_token = if (label) |l| blk: {
|
||||
_ = try appendToken(c, .Colon, ":");
|
||||
break :blk try appendToken(c, .Identifier, l);
|
||||
break :blk try appendIdentifier(c, l);
|
||||
} else null;
|
||||
return CtrlFlow{
|
||||
.c = c,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user