Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tokenization of number literals in YAML lexer (#1239)
Stand-alone number literals in a block scalar are being tokenized as `Literal::String` not as `Literal::Number`. This commit fixes that while also ensuring that, if those literals are preceded or succeeded by non-whitespace characters (that aren't comments), they are tokenized as `Literal::String`. Finally, the commit includes a change to ensure times are tokenized as `Literal::String` (which is the existing behavior).
- Loading branch information