meta: add shell script to generate while on linux
This commit is contained in:
@@ -159,6 +159,7 @@ func kkenum(name string) string {
|
||||
}
|
||||
name = strings.ToUpper(name[:1]) + name[1:]
|
||||
if !unicode.IsLetter(rune(name[0])) {
|
||||
//lint:ignore ST1005 proper name
|
||||
panic(fmt.Errorf("Koka enum variant %q (from %q) starts with a non-letter", name, orig))
|
||||
}
|
||||
for _, c := range name {
|
||||
|
||||
Reference in New Issue
Block a user