mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Merge pull request #4203 from karl-zylinski/file-tags-without-comments
Make tags use #+ syntax instead of //+
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//+build darwin, freebsd, openbsd, netbsd
|
||||
#+build darwin, freebsd, openbsd, netbsd
|
||||
package tests_core_posix
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build darwin, freebsd, openbsd, netbsd
|
||||
#+build darwin, freebsd, openbsd, netbsd
|
||||
package tests_core_posix
|
||||
|
||||
import "core:log"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "core:testing"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "core:testing"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows // generated by win32gen
|
||||
|
||||
import "core:testing"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package test_core_sys_windows
|
||||
|
||||
import "core:testing"
|
||||
|
||||
@@ -902,7 +902,7 @@ static void verify_error_helpers(ofstream& out) {
|
||||
}
|
||||
|
||||
static void test_core_sys_windows(ofstream& out) {
|
||||
out << "//+build windows" << endl
|
||||
out << "#+build windows" << endl
|
||||
<< "package " << __func__
|
||||
<< " // generated by " << path(__FILE__).filename().replace_extension("").string() << endl
|
||||
<< endl
|
||||
|
||||
Reference in New Issue
Block a user