authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-10 21:58:04-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-04-10 21:58:04-04:00
log27e881c2d7bebbf06b9932559ff2677ed8b6088b
tree2642ab86411bca4984e5f9fc8020cec70d0cf519
parentb553b7ab83894447d53bcdc1b5a10c7cbcd2281f

fix another undefined deref

see 0ba85ea6ff91

1 files changed, 1 insertions(+), 1 deletions(-)

std/zig/parser.zig+1-1
...@@ -431,7 +431,7 @@ pub const Parser = struct {...@@ -431,7 +431,7 @@ pub const Parser = struct {
431 },431 },
432 Token.Id.Keyword_async => {432 Token.Id.Keyword_async => {
433 // TODO shouldn't need this cast433 // TODO shouldn't need this cast
434 const fn_proto = try self.createAttachFnProto(arena, ctx.decls, undefined,434 const fn_proto = try self.createAttachFnProto(arena, ctx.decls, Token(undefined),
435 ctx.extern_token, ctx.lib_name, (?Token)(null), (?Token)(null), (?Token)(null));435 ctx.extern_token, ctx.lib_name, (?Token)(null), (?Token)(null), (?Token)(null));
436436
437 const async_node = try arena.create(ast.NodeAsyncAttribute);437 const async_node = try arena.create(ast.NodeAsyncAttribute);