1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-17 15:57:12 +00:00

Better working panic implementation and more cleanup in main vm loop.

This commit is contained in:
Calvin Rose
2019-01-05 00:33:20 -05:00
parent cd6a7793e8
commit 5b62c8e6db
5 changed files with 115 additions and 206 deletions

View File

@@ -681,7 +681,7 @@ const uint8_t *janet_formatc(const char *format, ...) {
number_to_string_b(bufp, va_arg(args, double));
break;
case 'd':
integer_to_string_b(bufp, va_arg(args, int32_t));
integer_to_string_b(bufp, va_arg(args, long));
break;
case 'S':
{
@@ -708,7 +708,7 @@ const uint8_t *janet_formatc(const char *format, ...) {
}
case 'T':
{
int types = va_arg(args, int32_t);
int types = va_arg(args, long);
pushtypes(bufp, types);
break;
}