Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions
Description of the Change
Tokenize keys at the same level of indentation after an unquoted block section. The diff looks busy, but really all I did was flip the two block patterns so that the one matching dashes has precedence. There's also a minor optimization to tag name matching where it will now stop upon reaching a colon rather than EOL.
Alternate Designs
None.
Benefits
Another YAML bug squashed.
Possible Drawbacks
Hopefully none - I feel like this makes a ton more sense than trying to keep the previous order where for some reason the less-specific non-dash version was matched before the more-specific dash version.
Requirements
Description of the Change
Tokenize keys at the same level of indentation after an unquoted block section. The diff looks busy, but really all I did was flip the two block patterns so that the one matching dashes has precedence. There's also a minor optimization to tag name matching where it will now stop upon reaching a colon rather than EOL.
Alternate Designs
None.
Benefits
Another YAML bug squashed.
Possible Drawbacks
Hopefully none - I feel like this makes a ton more sense than trying to keep the previous order where for some reason the less-specific non-dash version was matched before the more-specific dash version.
Applicable Issues
Fixes #78