Fix the exception reported in Mantis #24072. This does not mean though that the bug is fixed, because the bug itself is related to the topic "partial specialization".
symtable.pas, sym_is_owned_by:
* instead of checking in which symtables to not look, specify in which tables to look (namely object- and recordsymtables)
git-svn-id: trunk@24180 -