This is an archive of the discontinued LLVM Phabricator instance.

[YAMLParser] Support block nodes when parsing YAML strings.
ClosedPublic

Authored by zjaffal on Jun 26 2023, 5:09 AM.

Details

Summary

Previously if a string is in the format

|
      val
      val2
      val3

Yaml parser will error out without parsing the string. The mentioned pattern is a valid yaml str and should be parsed.

Diff Detail

Event Timeline

zjaffal created this revision.Jun 26 2023, 5:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 5:09 AM
zjaffal requested review of this revision.Jun 26 2023, 5:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 5:09 AM
This revision is now accepted and ready to land.Jun 26 2023, 5:38 AM
fhahn accepted this revision.Jun 26 2023, 5:44 AM

Great to see this fixed! LGTM, thanks!

This revision was landed with ongoing or failed builds.Jun 26 2023, 6:31 AM
This revision was automatically updated to reflect the committed changes.