nested unnamed structures parsing fixes,
access mode restored on nested class end,
tdname is properly patched with outer class name prefix