adopted python2-cparser