From a7b97552017b1bb1f91edb1ea1e91961da5c953c Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Sat, 16 May 2020 17:24:41 +0300 Subject: [PATCH] Add a space --- src/analysis.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analysis.zig b/src/analysis.zig index 0a1797a..4cf5324 100644 --- a/src/analysis.zig +++ b/src/analysis.zig @@ -125,7 +125,7 @@ pub fn getFunctionSnippet(allocator: *std.mem.Allocator, tree: *ast.Tree, func: .var_type => try buffer.appendSlice("var"), .type_expr => |type_expr| { var curr_tok = type_expr.firstToken(); - var end_tok =type_expr.lastToken(); + var end_tok = type_expr.lastToken(); while (curr_tok <= end_tok) : (curr_tok += 1) { const id = tree.tokens.at(curr_tok).id; const is_comma = tree.tokens.at(curr_tok).id == .Comma;