XCode 6.4 has trouble formatting

XCode is having an issue with indentation of my entire .m file as a result oif the following:


Try opening a new file, p[aste it in and let me know if you have seen this. The result is that the indentation of the entire rest of the file is borked :-/


Anyone else seen this, suggest a fix?


#ifdef DEBUG
    //
#else
    if([my_default objectForKey:@"wasPrivateVersion"]){
        if([my_default boolForKey:[self mN:@"wasPrivateVersion"]){
            isRestartingFromConversionToAppStore=TRUE;
            NSRunAlertPanel (@"Thank you!",
                             switchMessage,
                             NSLocalizedString(@"OK",@""),
                             nil,
                             nil);
            [self resetSettings];
           
            return;
           
        }
           
            [my_default setBool:FALSE forKey:@"wasPrivateVersion"];
           
            }
#endif