yaml-grammar icon indicating copy to clipboard operation
yaml-grammar copied to clipboard

Duplicated description for `<` and `<=` comparator rule functions

Open aSemy opened this issue 1 year ago • 0 comments

The rules for both < and <= both say First argument is less than the second.

https://github.com/yaml/yaml-grammar/blob/15047828ace28d09594d3553b90b165fef60634b/yaml-spec-1.2.yaml#L257-L261

I presume this is a mistake, and it should be:

  #   * (<)
  #     First argument is less than the second.
  #
  #   * (<=)
-  #     First argument is less than the second.
+  #     First argument is less than or equal to the second.

aSemy avatar Apr 13 '24 11:04 aSemy