|
|
@@ -34,12 +34,8 @@ func init() {
|
|
|
tag string
|
|
|
l []string
|
|
|
}{
|
|
|
- {true, yaml_BOOL_TAG, []string{"y", "Y", "yes", "Yes", "YES"}},
|
|
|
{true, yaml_BOOL_TAG, []string{"true", "True", "TRUE"}},
|
|
|
- {true, yaml_BOOL_TAG, []string{"on", "On", "ON"}},
|
|
|
- {false, yaml_BOOL_TAG, []string{"n", "N", "no", "No", "NO"}},
|
|
|
{false, yaml_BOOL_TAG, []string{"false", "False", "FALSE"}},
|
|
|
- {false, yaml_BOOL_TAG, []string{"off", "Off", "OFF"}},
|
|
|
{nil, yaml_NULL_TAG, []string{"", "~", "null", "Null", "NULL"}},
|
|
|
{math.NaN(), yaml_FLOAT_TAG, []string{".nan", ".NaN", ".NAN"}},
|
|
|
{math.Inf(+1), yaml_FLOAT_TAG, []string{".inf", ".Inf", ".INF"}},
|