From ad40102c5ae54d80b1540012d997b6176c24942f Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 25 Mar 2021 22:22:27 +1100 Subject: [PATCH] =?UTF-8?q?Change=20mimic=20marker=20symbol=20from=20"!!"?= =?UTF-8?q?=20to=20"=C2=BF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/wuffs-c/test.go | 2 +- test/c/std/adler32.c | 2 +- test/c/std/bmp.c | 2 +- test/c/std/cbor.c | 2 +- test/c/std/crc32.c | 2 +- test/c/std/deflate.c | 2 +- test/c/std/gif.c | 2 +- test/c/std/gzip.c | 2 +- test/c/std/json.c | 2 +- test/c/std/lzw.c | 2 +- test/c/std/nie.c | 2 +- test/c/std/png.c | 2 +- test/c/std/wbmp.c | 2 +- test/c/std/zlib.c | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/wuffs-c/test.go b/cmd/wuffs-c/test.go index 8d6fb6f6..e9853e8b 100644 --- a/cmd/wuffs-c/test.go +++ b/cmd/wuffs-c/test.go @@ -155,7 +155,7 @@ func findWuffsMimicCflags(filename string) ([]string, error) { s := bufio.NewScanner(f) for s.Scan() { t := s.Text() - const prefix = "// !! wuffs mimic cflags:" + const prefix = "// ¿ wuffs mimic cflags:" if strings.HasPrefix(t, prefix) { t = strings.TrimSpace(t[len(prefix):]) return strings.Split(t, " "), nil diff --git a/test/c/std/adler32.c b/test/c/std/adler32.c index a6e141ec..524ebbfc 100644 --- a/test/c/std/adler32.c +++ b/test/c/std/adler32.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/bmp.c b/test/c/std/bmp.c index fbb8f022..118497b7 100644 --- a/test/c/std/bmp.c +++ b/test/c/std/bmp.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/cbor.c b/test/c/std/cbor.c index 8592280f..59981c9a 100644 --- a/test/c/std/cbor.c +++ b/test/c/std/cbor.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/crc32.c b/test/c/std/crc32.c index f4f8967e..72b3c210 100644 --- a/test/c/std/crc32.c +++ b/test/c/std/crc32.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/deflate.c b/test/c/std/deflate.c index 4d80263b..b5311122 100644 --- a/test/c/std/deflate.c +++ b/test/c/std/deflate.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 4446747e..65341b64 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lgif +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lgif // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/gzip.c b/test/c/std/gzip.c index fe4745ea..358126e5 100644 --- a/test/c/std/gzip.c +++ b/test/c/std/gzip.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/json.c b/test/c/std/json.c index 59ddd9b4..f3184355 100644 --- a/test/c/std/json.c +++ b/test/c/std/json.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/lzw.c b/test/c/std/lzw.c index 6cc411f7..c9b7598e 100644 --- a/test/c/std/lzw.c +++ b/test/c/std/lzw.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/nie.c b/test/c/std/nie.c index 8958ce15..55ab6e5e 100644 --- a/test/c/std/nie.c +++ b/test/c/std/nie.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/png.c b/test/c/std/png.c index b4e94a94..269e3160 100644 --- a/test/c/std/png.c +++ b/test/c/std/png.c @@ -41,7 +41,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // -lm and -lz (and nothing else). It's easiest to just link with the union of // all of these libraries. // -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lm -lpng -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lm -lpng -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/wbmp.c b/test/c/std/wbmp.c index e4b5bc9a..a95c4c3d 100644 --- a/test/c/std/wbmp.c +++ b/test/c/std/wbmp.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt diff --git a/test/c/std/zlib.c b/test/c/std/zlib.c index 5107a359..921b0c42 100644 --- a/test/c/std/zlib.c +++ b/test/c/std/zlib.c @@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the "wuffs mimic cflags" to run the mimic benchmarks. */ -// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz +// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz // Wuffs ships as a "single file C library" or "header file library" as per // https://github.com/nothings/stb/blob/master/docs/stb_howto.txt