Rename errors from "?msg" to "#msg"

This commit is contained in:
Nigel Tao committed 2019-02-23 17:06:24 +11:00
1 parent c341ac5078
commit 045f180a6c
16 files changed
+203 -203

No files matched your search

+15 -15
View File
@@ -28,21 +28,21 @@ var Statuses = [...]string{
`"$short write"`,
// Errors.
`"?bad argument (length too short)"`,
`"?bad argument"`,
`"?bad call sequence"`,
`"?bad receiver"`,
`"?bad restart"`,
`"?bad sizeof receiver"`,
`"?bad workbuf length"`,
`"?bad wuffs version"`,
`"?cannot return a suspension"`,
`"?disabled by previous error"`,
`"?initialize falsely claimed already zeroed"`,
`"?initialize not called"`,
`"?interleaved coroutine calls"`,
`"?not enough data"`,
`"?too much data"`,
`"#bad argument (length too short)"`,
`"#bad argument"`,
`"#bad call sequence"`,
`"#bad receiver"`,
`"#bad restart"`,
`"#bad sizeof receiver"`,
`"#bad workbuf length"`,
`"#bad wuffs version"`,
`"#cannot return a suspension"`,
`"#disabled by previous error"`,
`"#initialize falsely claimed already zeroed"`,
`"#initialize not called"`,
`"#interleaved coroutine calls"`,
`"#not enough data"`,
`"#too much data"`,
}
// TODO: a collection of forbidden variable names like and, or, not, as, ref,