generate-api-docs: Fix parsing the private functions not to fail SIGSEGV on some version of gcc
generate-api-docs: Fix parsing the private functions not to fail SIGSEGV on some version of gcc

This is the patch to fix parsing of the private functions in the
generate-api-docs tool not to fail with SIGSEGV signal when you
compile libvirt-php on some version of gcc.

Signed-off-by: Michal Novotny <8dce8af224790fd82cd80deb27431e4980a7ff31@redhat.com>

KnightSwarm/libvirt-php,KnightSwarm/libvirt-php,KnightSwarm/libvirt-php,vtolstov/libvirt-php,KnightSwarm/libvirt-php,libvirt/libvirt-php,php/pecl-virtualization-libvirt,libvirt/libvirt-php,KnightSwarm/libvirt-php,vtolstov/libvirt-php,tucksaun/libvirt-php,zippy2/libvirt-php,tucksaun/libvirt-php,martijnotto/libvirt-php,zippy2/libvirt-php,tucksaun/libvirt-php,php/pecl-virtualization-libvirt,vtolstov/libvirt-php,martijnotto/libvirt-php,zippy2/libvirt-php,php/pecl-virtualization-libvirt,tucksaun/libvirt-php,php/pecl-virtualization-libvirt,martijnotto/libvirt-php,libvirt/libvirt-php,martijnotto/libvirt-php,vtolstov/libvirt-php