| ... | @@ -417,7 +417,7 @@ pub const Parser = struct { | ... | @@ -417,7 +417,7 @@ pub const Parser = struct { |
| 417 | }, | 417 | }, |
| 418 | Token.Id.Keyword_nakedcc, Token.Id.Keyword_stdcallcc => { | 418 | Token.Id.Keyword_nakedcc, Token.Id.Keyword_stdcallcc => { |
| 419 | // TODO shouldn't need this cast | 419 | // TODO shouldn't need this cast |
| 420 | const fn_proto = try self.createAttachFnProto(arena, ctx.decls, undefined, | 420 | const fn_proto = try self.createAttachFnProto(arena, ctx.decls, Token(undefined), |
| 421 | ctx.extern_token, ctx.lib_name, (?Token)(token), (?Token)(null), (?Token)(null)); | 421 | ctx.extern_token, ctx.lib_name, (?Token)(token), (?Token)(null), (?Token)(null)); |
| 422 | stack.append(State { .FnDef = fn_proto }) catch unreachable; | 422 | stack.append(State { .FnDef = fn_proto }) catch unreachable; |
| 423 | try stack.append(State { .FnProto = fn_proto }); | 423 | try stack.append(State { .FnProto = fn_proto }); |