Updated PRINT statement parsing to match previous changes.