| ... | ... | @@ -5013,8 +5013,8 @@ fn transMacroDefine(c: *Context, it: *CTokenList.Iterator, source: []const u8, n |
| 5013 | 5013 | c, |
| 5014 | 5014 | source_loc, |
| 5015 | 5015 | name, |
| 5016 | | "unable to translate C expr: unexpected token {}", |
| 5017 | | .{last.id}, |
| 5016 | "unable to translate C expr: unexpected token .{}", |
| 5017 | .{@tagName(last.id)}, |
| 5018 | 5018 | ); |
| 5019 | 5019 | |
| 5020 | 5020 | node.semicolon_token = try appendToken(c, .Semicolon, ";"); |
| ... | ... | @@ -5123,8 +5123,8 @@ fn transMacroFnDefine(c: *Context, it: *CTokenList.Iterator, source: []const u8, |
| 5123 | 5123 | c, |
| 5124 | 5124 | source_loc, |
| 5125 | 5125 | name, |
| 5126 | | "unable to translate C expr: unexpected token {}", |
| 5127 | | .{last.id}, |
| 5126 | "unable to translate C expr: unexpected token .{}", |
| 5127 | .{@tagName(last.id)}, |
| 5128 | 5128 | ); |
| 5129 | 5129 | _ = try appendToken(c, .Semicolon, ";"); |
| 5130 | 5130 | const type_of_arg = if (expr.id != .Block) expr else blk: { |
| ... | ... | @@ -5658,8 +5658,8 @@ fn parseCPrimaryExpr(c: *Context, it: *CTokenList.Iterator, source: []const u8, |
| 5658 | 5658 | c, |
| 5659 | 5659 | source_loc, |
| 5660 | 5660 | source[first_tok.start..first_tok.end], |
| 5661 | | "unable to translate C expr: unexpected token {}", |
| 5662 | | .{tok.id}, |
| 5661 | "unable to translate C expr: unexpected token .{}", |
| 5662 | .{@tagName(tok.id)}, |
| 5663 | 5663 | ); |
| 5664 | 5664 | return error.ParseError; |
| 5665 | 5665 | }, |