mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 19:52:30 +00:00
Strings galore!
This commit is contained in:
@@ -62,6 +62,7 @@ struct Parser {
|
||||
gbArray(AstFile) files;
|
||||
gbArray(String) imports;
|
||||
isize import_index;
|
||||
isize total_token_count;
|
||||
};
|
||||
|
||||
enum DeclKind {
|
||||
@@ -2137,8 +2138,10 @@ ParseFileError parse_files(Parser *p, char *init_filename) {
|
||||
}
|
||||
parse_file(p, &file);
|
||||
gb_array_append(p->files, file);
|
||||
p->total_token_count += gb_array_count(file.tokens);
|
||||
}
|
||||
|
||||
|
||||
return ParseFile_None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user