code_gen: do not generate an extra blank