summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/text/language/gen_common.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/language/gen_common.go')
-rw-r--r--vendor/golang.org/x/text/language/gen_common.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/golang.org/x/text/language/gen_common.go b/vendor/golang.org/x/text/language/gen_common.go
new file mode 100644
index 0000000..83ce180
--- /dev/null
+++ b/vendor/golang.org/x/text/language/gen_common.go
@@ -0,0 +1,20 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build ignore
+
+package main
+
+// This file contains code common to the maketables.go and the package code.
+
+// langAliasType is the type of an alias in langAliasMap.
+type langAliasType int8
+
+const (
+ langDeprecated langAliasType = iota
+ langMacro
+ langLegacy
+
+ langAliasTypeUnknown langAliasType = -1
+)