mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55: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.
|
// Deny certain package names.
|
||||||
switch s {
|
switch s {
|
||||||
case "base", "base_private", "base_private_header", "base_public", "base_public_header",
|
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 ""
|
||||||
}
|
}
|
||||||
return s
|
return s
|
||||||
|
|||||||
Reference in new issue
Block a user