mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
Change "$foo" to base."$foo"
This commit is contained in:
1 parent
875362ea07
commit
9e5aec5d25
11 files changed
+71
-59
No files matched your search
@@ -19,7 +19,7 @@ import (
|
||||
t "github.com/google/wuffs/lang/token"
|
||||
)
|
||||
|
||||
var StatusList = [...]string{
|
||||
var Statuses = [...]string{
|
||||
// Warnings.
|
||||
"~end of data",
|
||||
|
||||
@@ -42,14 +42,6 @@ var StatusList = [...]string{
|
||||
"?disabled by previous error",
|
||||
}
|
||||
|
||||
var StatusMap = map[string]bool{}
|
||||
|
||||
func init() {
|
||||
for _, s := range StatusList {
|
||||
StatusMap[s] = true
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: a collection of forbidden variable names like and, or, not, as, ref,
|
||||
// deref, false, true, in, out, this, u8, u16, etc?
|
||||
|
||||
|
||||
Reference in new issue
Block a user