diff --git a/core/compress/gzip/example.odin b/core/compress/gzip/example.odin index c010d5979..635134e40 100644 --- a/core/compress/gzip/example.odin +++ b/core/compress/gzip/example.odin @@ -1,4 +1,4 @@ -//+ignore +//+build ignore package gzip /* diff --git a/core/compress/zlib/example.odin b/core/compress/zlib/example.odin index ab7fb4cd8..19017b279 100644 --- a/core/compress/zlib/example.odin +++ b/core/compress/zlib/example.odin @@ -1,4 +1,4 @@ -//+ignore +//+build ignore package zlib /* diff --git a/core/image/png/example.odin b/core/image/png/example.odin index c1e2f0c73..cd9788bd3 100644 --- a/core/image/png/example.odin +++ b/core/image/png/example.odin @@ -8,7 +8,7 @@ An example of how to use `load`. */ -//+ignore +//+build ignore package png import "core:image" diff --git a/core/intrinsics/intrinsics.odin b/core/intrinsics/intrinsics.odin index 0146746e7..69f77cea2 100644 --- a/core/intrinsics/intrinsics.odin +++ b/core/intrinsics/intrinsics.odin @@ -1,5 +1,5 @@ // This is purely for documentation -//+ignore +//+build ignore package intrinsics // Package-Related diff --git a/core/math/big/internal.odin b/core/math/big/internal.odin index dbcd16509..13aa96bef 100644 --- a/core/math/big/internal.odin +++ b/core/math/big/internal.odin @@ -25,8 +25,6 @@ TODO: Handle +/- Infinity and NaN. */ - -//+ignore package math_big import "core:mem" diff --git a/core/math/big/tune.odin b/core/math/big/tune.odin index 78a20c12b..ec1ef9a5b 100644 --- a/core/math/big/tune.odin +++ b/core/math/big/tune.odin @@ -7,7 +7,7 @@ The code started out as an idiomatic source port of libTomMath, which is in the public domain, with thanks. */ -//+ignore +//+build ignore package math_big import "core:time" diff --git a/src/parser.cpp b/src/parser.cpp index 286f6d7a2..4f93ed3e6 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -5634,6 +5634,8 @@ bool parse_file(Parser *p, AstFile *f) { } else { f->flags |= AstFile_IsLazy; } + } else { + warning(tok, "Ignoring unknown tag '%.*s'", LIT(lc)); } } } diff --git a/tests/core/math/big/test.odin b/tests/core/math/big/test.odin index a289c89dd..8a44ec087 100644 --- a/tests/core/math/big/test.odin +++ b/tests/core/math/big/test.odin @@ -1,4 +1,3 @@ -//+ignore /* Copyright 2021 Jeroen van Rijn . Made available under Odin's BSD-3 license.