Change the warning message prefix from "~" to "@"

This commit is contained in:
Nigel Tao committed 2019-03-02 14:42:50 +11:00
1 parent fbd1ae8391
commit f8d02cfb16
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ import (
var Statuses = [...]string{
// Warnings.
`"~end of data"`,
`"@end of data"`,
// Suspensions.
`"$short read"`,
+1 -1
View File
@@ -4785,7 +4785,7 @@ const uint64_t wuffs_base__low_bits_mask__u64[65] = {
0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF,
};
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_write = "$base: short write";
const char* wuffs_base__error__bad_argument_length_too_short =
+1 -1
View File
@@ -228,7 +228,7 @@ pub func decoder.decode_frame_config?(dst nptr base.frame_config, src base.io_re
// This is a new "if", not an "else", because the calls above can modify
// this.end_of_data.
if this.end_of_data {
return base."~end of data"
return base."@end of data"
}
blend = 0