Handling an optional trailing semicolon.