introduce flag to allow "invalid nesting"
Merge pull request #19 from raichoo/master

introduce flag to allow "invalid nesting"