Roger Peppe
e9bfed5956
Make tag scanning code slightly cleaner.
...
The current code uses "length" as a proxy for "has a tag"
but the length doesn't actually match the length of the
tag when there's a %-encoded character, so use a boolean
instead.
Also fix a panic found when trying to write a test for the change.
Aside: seems that %-encoded tag handles are not allowed by
the YAML spec.
2017-07-21 13:03:27 +01:00
Roger Peppe
670d4cfef0
Merge pull request #103 from andreychernih/bugfix/non-specific-tags
...
Fix for non-specific tags parsing
2017-07-21 12:36:24 +01:00
Aaron.L.Xu
a3f3340b58
Fix dead URL for yaml specification ( #240 )
2017-02-08 12:18:51 -02:00
Anthony Fok
a833012353
Fix typo: "uknown" → “unknown"
2015-12-20 07:16:50 -07:00
Sameer Vohra
0516c53462
fixed typo in scannerc.go intendation->indentation
2015-08-18 14:29:51 -04:00
Andrey Chernih
9eade332f0
Fix for non-specific tags parsing
2015-05-25 14:24:17 -07:00
Gustavo Niemeyer
ca3d523f32
goyaml is now yaml.
2014-03-05 15:48:33 -03:00
Gustavo Niemeyer
059398de19
Test and fix bug #1191981 .
2013-06-19 10:22:34 -04:00
Gustavo Niemeyer
e6da37e746
Changed read{,_line} to prevent heap allocation of slices.
2013-04-30 18:29:04 -03:00
Gustavo Niemeyer
f4d271a8a2
Tweak width so it can be inlined.
2013-04-30 16:42:40 -03:00
Gustavo Niemeyer
4ca689e686
Rename files to more familiar convention.
2013-04-30 15:59:24 -03:00