Просмотр исходного кода

Fix whitespace issues from automated editing

Lucas Stadler лет назад: 9
Родитель
Сommit
47ce035485
1 измененных файлов с 3 добавлено и 6 удалено
  1. 3 6
      c/ton/main.c

+ 3 - 6
c/ton/main.c

430
		arguments[3] = JSValueMakeBoolean(ctx, static_fns);
430
		arguments[3] = JSValueMakeBoolean(ctx, static_fns);
431
		JSValueRef ex = NULL;
431
		JSValueRef ex = NULL;
432
		JSObjectCallAsFunction(ctx, get_function(ctx, "planck.repl", "init"), JSContextGetGlobalObject(ctx), 4, arguments, &ex);
432
		JSObjectCallAsFunction(ctx, get_function(ctx, "planck.repl", "init"), JSContextGetGlobalObject(ctx), 4, arguments, &ex);
433
		debug_print_value
434
	("planck.repl/init", ctx, ex);
433
		debug_print_value("planck.repl/init", ctx, ex);
435
	}
434
	}
436
435
437
	if (repl) {
436
	if (repl) {
500
		JSStringRelease(source_ref);
499
		JSStringRelease(source_ref);
501
	}
500
	}
502
501
503
	debug_print_value
504
("evaluate_script", ctx, ex);
502
	debug_print_value("evaluate_script", ctx, ex);
505
503
506
	return val;
504
	return val;
507
}
505
}
590
	JSValueRef ex = NULL;
588
	JSValueRef ex = NULL;
591
	JSValueRef val = JSObjectCallAsFunction(ctx, execute_fn, global_obj, num_args, args, &ex);
589
	JSValueRef val = JSObjectCallAsFunction(ctx, execute_fn, global_obj, num_args, args, &ex);
592
590
593
	debug_print_value
594
("planck.repl/execute", ctx, ex);
591
	debug_print_value("planck.repl/execute", ctx, ex);
595
592
596
	return ex != NULL ? ex : val;
593
	return ex != NULL ? ex : val;
597
}
594
}