Fixed bug related to prepending print for } and other infixes.