PEMA-118 TMP Test set up

PEMA-118
Dirk Zimmermann 2023-01-02 11:37:57 +01:00
parent 2a7f63e64b
commit 770a38811e
1 changed files with 7 additions and 0 deletions

View File

@ -350,6 +350,13 @@ static inline int has_literal(char *buf, NSUInteger c)
buf = (char *)[aData bytes];
count = [aData length];
NSLog(@"*** buf: |%s|", buf);
NSString *token = @"* SEARCH";
NSString *nsBuffer = [NSString stringWithUTF8String:buf];
if ([[nsBuffer substringToIndex:[token length]] isEqualToString:token]) {
NSLog(@"here");
}
// If we are reading a literal, do so.
if (self.currentQueueObject && self.currentQueueObject.literal)
{