Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orphaned value ends up in empty methods #11

Open
awvwgk opened this issue Apr 7, 2020 · 0 comments
Open

Orphaned value ends up in empty methods #11

awvwgk opened this issue Apr 7, 2020 · 0 comments

Comments

@awvwgk
Copy link
Member

awvwgk commented Apr 7, 2020

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"'}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant