Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Add a check for strings disguised as leading zeros followed by numbers #180

Merged
merged 2 commits into from Oct 31, 2020
Merged

Add a check for strings disguised as leading zeros followed by numbers #180

merged 2 commits into from Oct 31, 2020

Commits on Oct 30, 2020

  1. Add a check for strings disguised as leading zeros followed by numbers

    Resolves Issue #179
    
    According to the YAML 1.2 spec (https://yaml.org/spec/1.2/spec.html#id2761292) numbers sequences with a leading zeros (that are not special encoding identifiers such as 0x, 0b, etc) are actually strings.
    
    This patch handles this case, all existing tests still pass.
    stephanbuys committed Oct 30, 2020
    Copy the full SHA
    24dc184 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7b44a8e View commit details
    Browse the repository at this point in the history