Skip to content

Orphaned value ends up in empty methods #11

Description

@awvwgk

This, probably invalid, HSD can actually be read in

"Orphan"
Parent {
   Child {}
}

and leads to a surprising result:

{'parent': {'child': '"Orphan"'}}

I did not check this construct with DFTB+, but I'm somewhat sure that this is not the expected outcome.

Trying another invalid one like this

"Orphan"
Parent {
  Child {
    ChildChild {}
  }
}

confirms that it actually always goes to the next empty method:

{'parent': {'child': {'childchild': '"Orphan"'}}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions