modified pretty_c_gen to work with recent ast/sast changes