Change warning string's prefix from "!" to "~"

This commit is contained in:
Nigel Tao committed 2018-09-15 08:59:37 +10:00
1 parent 6fa3d5a9f5
commit 73ed2eece1
3 files changed
+8 -3

No files matched your search

+6 -1
View File
@@ -20,9 +20,14 @@ import (
) )
var StatusList = [...]string{ var StatusList = [...]string{
"!end of data", // Warnings.
"~end of data",
// Suspensions.
"$short read", "$short read",
"$short write", "$short write",
// Errors.
"?bad argument (length too short)", "?bad argument (length too short)",
"?bad argument", "?bad argument",
"?bad call sequence", "?bad call sequence",
+1 -1
View File
@@ -3796,7 +3796,7 @@ wuffs_base__io_writer__set_mark(wuffs_base__io_writer* o, uint8_t* mark) {
#if !defined(WUFFS_CONFIG__MODULES) || defined(WUFFS_CONFIG__MODULE__BASE) #if !defined(WUFFS_CONFIG__MODULES) || defined(WUFFS_CONFIG__MODULE__BASE)
const char* wuffs_base__warning__end_of_data = "!base: end of data"; const char* wuffs_base__warning__end_of_data = "~base: end of data";
const char* wuffs_base__suspension__short_read = "$base: short read"; const char* wuffs_base__suspension__short_read = "$base: short read";
const char* wuffs_base__suspension__short_write = "$base: short write"; const char* wuffs_base__suspension__short_write = "$base: short write";
const char* wuffs_base__error__bad_argument_length_too_short = const char* wuffs_base__error__bad_argument_length_too_short =
+1 -1
View File
@@ -197,7 +197,7 @@ pub func decoder.decode_frame_config!??(dst nptr base.frame_config, src base.io_
// This is a new "if", not an "else", because the calls above can modify // This is a new "if", not an "else", because the calls above can modify
// this.end_of_data. // this.end_of_data.
if this.end_of_data { if this.end_of_data {
return status "!end of data" return status "~end of data"
} }
var blend base.u8 = 0 var blend base.u8 = 0