Change "$foo" to base."$foo"

This commit is contained in:
Nigel Tao committed 2018-11-24 13:36:09 +11:00
1 parent 875362ea07
commit 9e5aec5d25
11 files changed
+71 -59

No files matched your search

+1 -9
View File
@@ -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?