fork of indigo with slightly nicer lexgen

fix thing

Changed files
+4 -1
lex
+4 -1
lex/gen.go
··· 147 148 pf("const (") 149 for _, t := range tps { 150 - pf("%sNSID = %q", t.Name, t.Type.id) 151 } 152 pf(")\n\n") 153
··· 147 148 pf("const (") 149 for _, t := range tps { 150 + // this seems to be the way to ignore non-top level types 151 + if !strings.Contains(t.Name, "_") { 152 + pf("%sNSID = %q", t.Name, t.Type.id) 153 + } 154 } 155 pf(")\n\n") 156