mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 14:03:14 +00:00
With -vet-style, give suggestion of separating where clauses with a comma rather than '&&'
This improves the error messages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "parser_pos.cpp"
|
||||
|
||||
gb_internal u64 ast_file_vet_flags(AstFile *f) {
|
||||
if (f->vet_flags_set) {
|
||||
if (f != nullptr && f->vet_flags_set) {
|
||||
return f->vet_flags;
|
||||
}
|
||||
return build_context.vet_flags;
|
||||
|
||||
Reference in New Issue
Block a user