diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2024-01-28 11:02:58 -0800 |
---|---|---|
committer | Wilfred Hughes <me@wilfred.me.uk> | 2024-01-28 11:02:58 -0800 |
commit | 6c4310e33b7d024587cc81a0d44028c8271cb88e (patch) | |
tree | 2286aae3a3b3847d69a30cfa2a1800fe3e70070c | |
parent | 2d61aefb84d243c06b8d7de47f08ddbc694840f3 (diff) |
Remove macro from Objective-C sample file so it parses fully
-rw-r--r-- | sample_files/compare.expected | 2 | ||||
-rw-r--r-- | sample_files/objc_module_after.m | 6 | ||||
-rw-r--r-- | sample_files/objc_module_before.m | 5 |
3 files changed, 1 insertions, 12 deletions
diff --git a/sample_files/compare.expected b/sample_files/compare.expected index ce79dac86..c4c96c9b3 100644 --- a/sample_files/compare.expected +++ b/sample_files/compare.expected @@ -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 - diff --git a/sample_files/objc_module_after.m b/sample_files/objc_module_after.m index e5172f818..81e0e6163 100644 --- a/sample_files/objc_module_after.m +++ b/sample_files/objc_module_after.m @@ -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]; diff --git a/sample_files/objc_module_before.m b/sample_files/objc_module_before.m index 7eae898cd..1e855f636 100644 --- a/sample_files/objc_module_before.m +++ b/sample_files/objc_module_before.m @@ -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]; |