Fixed Bug 18463

Indentation does not work when typed statement does not require
semicolon.