atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Tokenize uppercase variants of true, false, null #82

Closed 50Wliu closed 7 years ago

50Wliu commented 7 years ago

Also tokenize ~ as an alternative to null

Requirements

Description of the Change

Tokenize true, false, null, True, False, Null, TRUE, FALSE, NULL, ~ as constants per the YAML spec.

Alternate Designs

Tokenizing other variants, such as yes and no (#81), but decided not to do so as those are not recognized by the spec.

Benefits

Closer to the spec.

Possible Drawbacks

None.

Applicable Issues

81