Remove macro from Objective-C sample file so it parses fully

pull/627/head
Wilfred Hughes 2024-01-28 11:02:58 +07:00
parent 2d61aefb84
commit 6c4310e33b
3 changed files with 1 additions and 12 deletions

@ -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 -

@ -159,12 +159,6 @@ const NSArray *expressions=@[@NO, @7, @(YES), @3.15, @(9), @-11, @"Goodbye"];
[self.listenHandle acceptConnectionInBackgroundAndNotify];
}
typedef NS_ENUM(NSUInteger, DataOutcome) {
DataOutcomeContinue,
DataOutcomeClose,
DataOutcomeKeepAlive,
DataOutcomeUnknown,
};
- (void)receiveIncomingDataNotification:(NSNotification *)notification
{
NSFileHandle *const connectionHandle=[notification object];

@ -155,11 +155,6 @@ const NSArray *expressions=@[@YES, @6, @(NO), @3.14, @(-9), @-10, @"Hello"];
[self.listenHandle acceptConnectionInBackgroundAndNotify];
}
typedef NS_ENUM(NSUInteger, DataOutcome) {
DataOutcomeContinue,
DataOutcomeClose,
DataOutcomeKeepAlive,
};
- (void)receiveIncomingDataNotification:(NSNotification *)notification
{
NSFileHandle *const connectionHandle=[notification object];