GNOME Bugzilla – Bug 749924
Doxygen handles comments in Objective-C code blocks incorrectly.
Last modified: 2016-09-05 13:46:42 UTC
The following BEFORE and AFTER chunks of code show that Doxygen mangles comments that occur inside Objective-C code blocks when processing a @snippet. In the AFTER chunk, note how the comment "// Reveal Show Payoff button to enable redirection to payoff." and the following line "//" have been moved outside the code block and the end-of-line characters for those two comment lines have been removed. BEFORE (the source code): // Resolve payload. // [self.resolver resolve:payload completionBlock:^(DMResolveResult *result, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ if (error) { [self showError:error]; } else { // Reveal Show Payoff button to enable redirection to payoff. // self.payoff = (DMPayoff *) result.payoff; self.showActivityIndicator = NO; self.showPayoffButton.hidden = NO; } }); }]; AFTER (the presented code): // Resolve payload. // // Reveal Show Payoff button to enable redirection to payoff.//[self.resolver resolve:payload completionBlock:^(DMResolveResult *result, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ if (error) { [self showError:error]; } else { self.payoff = (DMPayoff *) result.payoff; self.showActivityIndicator = NO; self.showPayoffButton.hidden = NO; } }); }];
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).