diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-02-04 16:46:20 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-02-04 16:46:20 -0800 |
| commit | 17face3633686e374aa0859271ccf462a48e60aa (patch) | |
| tree | 6a5482717ef1b8194ccf347a6d8af06d664902cd /bytecode/panic.c | |
| parent | d940187fd8720e0ab3c00e5a6a7ae8f181c7752d (diff) | |
| download | sml-17face3633686e374aa0859271ccf462a48e60aa.tar.zst | |
Rewrite the bytecode interpreter in Rust.
Diffstat (limited to 'bytecode/panic.c')
| -rw-r--r-- | bytecode/panic.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bytecode/panic.c b/bytecode/panic.c deleted file mode 100644 index db2b6f8..0000000 --- a/bytecode/panic.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <stdarg.h> -#include <stdio.h> -#include <stdlib.h> - -#include "panic.h" - -void panicf(const char *format, ...) -{ - va_list ap; - va_start(ap, format); - vfprintf(stderr, format, ap); - va_end(ap); - - exit(1); -} |
