Skip to content

Commit

Permalink
Remove macro from Objective-C sample file so it parses fully
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Jan 28, 2024
1 parent 2d61aef commit 6c4310e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion sample_files/compare.expected
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sample_files/objc_header_before.h sample_files/objc_header_after.h
f65feb21b25bb7f2ba31ee8f49977193 -

sample_files/objc_module_before.m sample_files/objc_module_after.m
c04cdebd2da077cf28b53307ad0a3b02 -
faf4f280485b78d2c74c73292a405708 -

sample_files/ocaml_before.ml sample_files/ocaml_after.ml
2113c6c7959b8099f678d13953f7f44a -
Expand Down
6 changes: 0 additions & 6 deletions sample_files/objc_module_after.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@ - (void)receiveIncomingConnectionNotification:(NSNotification *)notification
[self.listenHandle acceptConnectionInBackgroundAndNotify];
}

typedef NS_ENUM(NSUInteger, DataOutcome) {
DataOutcomeContinue,
DataOutcomeClose,
DataOutcomeKeepAlive,
DataOutcomeUnknown,
};
- (void)receiveIncomingDataNotification:(NSNotification *)notification
{
NSFileHandle *const connectionHandle=[notification object];
Expand Down
5 changes: 0 additions & 5 deletions sample_files/objc_module_before.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ - (void)receiveIncomingConnectionNotification:(NSNotification *)notification
[self.listenHandle acceptConnectionInBackgroundAndNotify];
}

typedef NS_ENUM(NSUInteger, DataOutcome) {
DataOutcomeContinue,
DataOutcomeClose,
DataOutcomeKeepAlive,
};
- (void)receiveIncomingDataNotification:(NSNotification *)notification
{
NSFileHandle *const connectionHandle=[notification object];
Expand Down

0 comments on commit 6c4310e

Please sign in to comment.