Bug fix: semicolon placement when line ends with string