summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-07-11 13:44:18 +0200
committerJo-Philipp Wich <jo@mein.io>2023-07-27 13:59:32 +0200
commit1dbbb6a2561fcc8076f868baaa792ea589dde85b (patch)
treea48b7f597297fb958810990bb67df064c539b0b2 /main.c
parent1623245c3ea7422d2b311036c4a784ab18895b92 (diff)
main: enable signal dispatching in the standalone cli interpreter
Enable signal dispatching by default for standalone ucode programs. Also adjust the `gc()` testcase output as the default number of allocations with enabled signal dispatching changes slightly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 138447a..a51c370 100644
--- a/main.c
+++ b/main.c
@@ -502,7 +502,8 @@ main(int argc, char **argv)
.strict_declarations = false,
.lstrip_blocks = true,
.trim_blocks = true,
- .raw_mode = true
+ .raw_mode = true,
+ .setup_signal_handlers = true
};
app = appname(argv[0]);