[BUG #7510] fixed block parsing in treegenerator_3