summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/yaml.v2/emitterc.go
diff options
context:
space:
mode:
authorThomas Hipp <thipp@suse.de>2017-08-03 15:00:55 +0200
committerFlavio Castelli <flavio@castelli.me>2017-08-08 09:42:05 +0200
commitecd75c368157b9dd0b92b5a12f06cc78d19c5de0 (patch)
treed0cab791a6763edca5afbbac67f659564cee205c /vendor/gopkg.in/yaml.v2/emitterc.go
parent1aac0d73977bf5d9e9bac462d2302d28debe8605 (diff)
downloadterraform-provider-libvirt-ecd75c368157b9dd0b92b5a12f06cc78d19c5de0.tar
terraform-provider-libvirt-ecd75c368157b9dd0b92b5a12f06cc78d19c5de0.tar.gz
vendor: depend on terraform v0.10.0
Signed-off-by: Thomas Hipp <thipp@suse.de>
Diffstat (limited to 'vendor/gopkg.in/yaml.v2/emitterc.go')
-rw-r--r--vendor/gopkg.in/yaml.v2/emitterc.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/gopkg.in/yaml.v2/emitterc.go b/vendor/gopkg.in/yaml.v2/emitterc.go
index 6ecdcb3c..41de8b85 100644
--- a/vendor/gopkg.in/yaml.v2/emitterc.go
+++ b/vendor/gopkg.in/yaml.v2/emitterc.go
@@ -994,7 +994,7 @@ func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool {
break_space = false
space_break = false
- preceeded_by_whitespace = false
+ preceded_by_whitespace = false
followed_by_whitespace = false
previous_space = false
previous_break = false
@@ -1016,7 +1016,7 @@ func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool {
flow_indicators = true
}
- preceeded_by_whitespace = true
+ preceded_by_whitespace = true
for i, w := 0, 0; i < len(value); i += w {
w = width(value[i])
followed_by_whitespace = i+w >= len(value) || is_blank(value, i+w)
@@ -1047,7 +1047,7 @@ func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool {
block_indicators = true
}
case '#':
- if preceeded_by_whitespace {
+ if preceded_by_whitespace {
flow_indicators = true
block_indicators = true
}
@@ -1088,7 +1088,7 @@ func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool {
}
// [Go]: Why 'z'? Couldn't be the end of the string as that's the loop condition.
- preceeded_by_whitespace = is_blankz(value, i)
+ preceded_by_whitespace = is_blankz(value, i)
}
emitter.scalar_data.multiline = line_breaks