Update compiler2.il

Check if the print command is printing a string or expression.