diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-07-11 18:58:52 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-07-11 18:58:52 +0200 |
| commit | 83b825e689d22e3e36d44c170e86cb1062f84b11 (patch) | |
| tree | 5962b18aef1f8985b5fabb00856abb3c931784d3 /src/common/ast.odin | |
| parent | affd8a59151d4bcdccce0ac60016a8b6d140acb7 (diff) | |
Treat //+build ignore as private file
Diffstat (limited to 'src/common/ast.odin')
| -rw-r--r-- | src/common/ast.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/ast.odin b/src/common/ast.odin index b215eb8..4f1b25d 100644 --- a/src/common/ast.odin +++ b/src/common/ast.odin @@ -304,6 +304,9 @@ collect_value_decl :: proc( is_private_file = true } } + } else if strings.has_prefix(txt, "//+build ignore") { + is_private_pkg = true + is_private_file = true } } } |