Include function's AST node in parent scope's symbol table entry

Reported by Sergey Mogzovoy