Cube  Diff

Differences From Artifact [07eb61aa1c]:

To Artifact [bdc0c01493]:


218
219
220
221
222
223
224
225
226


227
228
229
230
231
232
233
			}

			p += strcspn(p, ";\n\0");
			// more statements if this isn't the end of the string
			cont = *p++ != 0;
			OFString *c = w[0];
			// strip irc-style command prefix
			if ([c hasPrefix:@"/"])
				c = [c substringFromIndex:1];


			// empty statement
			if (c.length == 0)
				continue;

			__kindof Identifier *identifier = identifiers[c];
			if (identifier == nil) {
				@try {







|

>
>







218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
			}

			p += strcspn(p, ";\n\0");
			// more statements if this isn't the end of the string
			cont = *p++ != 0;
			OFString *c = w[0];
			// strip irc-style command prefix
			if ([c hasPrefix:@"/"]) {
				c = [c substringFromIndex:1];
				w[0] = c;
			}
			// empty statement
			if (c.length == 0)
				continue;

			__kindof Identifier *identifier = identifiers[c];
			if (identifier == nil) {
				@try {
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
{
	alias(@"s", s);
}

void
concatword(OFString *s)
{
	// The original used this code which does nothing:
	// for (char *a = s, *b = s; *a = *b; b++)
	//	if (*a != ' ')
	//		a++;
	concat(s);
}

int
listlen(OFString *a_)
{
	@autoreleasepool {
		const char *a = a_.UTF8String;







<
<
<
<
|







467
468
469
470
471
472
473




474
475
476
477
478
479
480
481
{
	alias(@"s", s);
}

void
concatword(OFString *s)
{




	concat([s stringByReplacingOccurrencesOfString:@" " withString:@""]);
}

int
listlen(OFString *a_)
{
	@autoreleasepool {
		const char *a = a_.UTF8String;