Details

    • Number of attachments :
      0

      Description

      Not sure when this will come along, but Aaron Patterson is adding some enhancements to his Psych parser. Among them are:

      • a Mark class, similar to SnakeYAML's
      • Access to all that Mark exposes, like line, column, and index

      SnakeYAML will need an update, since it currently does not expose "offset" (as "index") in its Mark class: http://code.google.com/p/snakeyaml/issues/detail?id=104

      A quick patch to add line and column to Parser is here: https://gist.github.com/e160ed9a5e909da6f821

      Note that if a Mark class is added, the above patch will be unnecessary (since we'll add a Mark class as well).

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Update from Aaron: it will be a 1.9.3 addition, since it's not a bug.

        Show
        Charles Oliver Nutter added a comment - Update from Aaron: it will be a 1.9.3 addition, since it's not a bug.
        Hide
        Charles Oliver Nutter added a comment -

        The SnakeYAML patch has been accepted, but not released.

        Show
        Charles Oliver Nutter added a comment - The SnakeYAML patch has been accepted, but not released.
        Hide
        Charles Oliver Nutter added a comment -

        This landed in 0a1ed62c94ef3c07d28932d7e99434b56d2c35be.

        Show
        Charles Oliver Nutter added a comment - This landed in 0a1ed62c94ef3c07d28932d7e99434b56d2c35be.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Charles Oliver Nutter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: