~adeuring/goyaml/1243827

« back to all changes in this revision

Viewing changes to goyaml.go

  • Committer: Roger Peppe
  • Date: 2011-12-15 16:20:57 UTC
  • mfrom: (28.2.2 goyaml-rune-changes)
  • Revision ID: roger.peppe@canonical.com-20111215162057-d0bi1ieoqh7yo5zu
merge goyaml-rune-changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
                        recommend := tag[:s]
198
198
                        for _, c := range tag[s+1:] {
199
199
                                switch c {
200
 
                                case int('c'):
 
200
                                case 'c':
201
201
                                        recommend += ",omitempty"
202
 
                                case int('f'):
 
202
                                case 'f':
203
203
                                        recommend += ",flow"
204
204
                                default:
205
205
                                        msg := fmt.Sprintf("Unsupported flag %q in tag %q of type %s", string([]byte{uint8(c)}), tag, st)