aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index a79413c01..3b5c30207 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -2432,7 +2432,6 @@ Ast *parse_operand(AstFile *f, bool lhs) {
bool no_nil = false;
bool maybe = false;
- CommentGroup *docs = f->lead_comment;
Token start_token = f->curr_token;
if (allow_token(f, Token_OpenParen)) {
@@ -3634,7 +3633,6 @@ bool parse_expect_field_separator(AstFile *f, Ast *param) {
}
Ast *parse_struct_field_list(AstFile *f, isize *name_count_) {
- CommentGroup *docs = f->lead_comment;
Token start_token = f->curr_token;
auto decls = array_make<Ast *>(heap_allocator());
@@ -4750,7 +4748,6 @@ ParseFileError init_ast_file(AstFile *f, String fullpath, TokenPos *err_pos) {
isize init_token_cap = gb_max(token_cap, 16);
array_init(&f->tokens, heap_allocator(), 0, gb_max(init_token_cap, 16));
- isize cap0 = f->tokens.capacity;
if (err == TokenizerInit_Empty) {
Token token = {Token_EOF};