* renamed the first parameter of is_owned_by() from "childdef" into
    "nesteddef", because it's about def's owned by other defs, not about
    parent/child relations like in OOP
  * stop checking whether a def is owned by another one when we reach a
    para/localsymtable, since a type declared locally in a record/object
    method is not nested inside the record/object type (fixes mantis
    #23819)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23582 3ad0048d-3df7-0310-abae-a5850022a9f2
  * use same symtable check in sym_is_owned_by() as in is_owned_by() to
    determine whether or not we should stop (local/parasymtable)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23583 3ad0048d-3df7-0310-abae-a5850022a9f2