Skip to content

Orphaned value ends up in empty methods #11

@awvwgk

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"'}}}

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