mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
generate: prohibit "private" as a package name
This commit is contained in:
1 parent
dd75f3215a
commit
b4c70c39bc
1 file changed
+1
-1
@@ -85,7 +85,7 @@ func checkPackageName(s string) string {
|
||||
// Deny certain package names.
|
||||
switch s {
|
||||
case "base", "base_private", "base_private_header", "base_public", "base_public_header",
|
||||
"config", "implementation", "include_guard", "initialize", "version":
|
||||
"config", "implementation", "include_guard", "initialize", "private", "version":
|
||||
return ""
|
||||
}
|
||||
return s
|
||||
|
||||
Reference in new issue
Block a user