Cleaned Code by Removing Location Tracking for Errors
This commit is contained in:
@@ -34,12 +34,7 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NSRange)range
|
||||
{
|
||||
return NSMakeRange(0, 0);
|
||||
}
|
||||
|
||||
- (BOOL)validate:(MPParseError *__autoreleasing *)error
|
||||
- (BOOL)validate:(NSError *__autoreleasing *)error
|
||||
{
|
||||
return [self.value validate:error];
|
||||
}
|
||||
@@ -50,9 +45,4 @@
|
||||
return [[NSDecimalNumber alloc] initWithDouble:tgamma(value+1)];
|
||||
}
|
||||
|
||||
- (NSArray *)expressionElements
|
||||
{
|
||||
return @[@"!"];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user