Avoid compiler warnings and fix error in assertion

This commit is contained in:
rfm 2023-11-14 21:29:11 +00:00
parent b4feee311f
commit a67e28ad67
2 changed files with 2 additions and 1 deletions

View file

@ -117,6 +117,7 @@
- (unsigned) skipArray;
- (unsigned) skipBlock;
- (unsigned) skipBlock: (BOOL*)isEmpty;
- (unsigned) skipGeneric;
- (unsigned) skipLiteral;
- (unsigned) skipRemainderOfLine;
- (unsigned) skipSpaces;

View file

@ -3981,7 +3981,7 @@ countAttributes(NSSet *keys, NSDictionary *a)
NSString *directive;
// NSString *where = [self where];
NSAssert(pos > 0 & '#' == buffer[pos - 1], NSInternalInconsistencyException);
NSAssert(pos > 0 && '#' == buffer[pos - 1], NSInternalInconsistencyException);
inPreprocessorDirective = YES;
directive = [self parseIdentifier];