From 585e571e3624c251d2eb8b277b304ce65c793e59 Mon Sep 17 00:00:00 2001 From: Harrand Date: Sat, 25 May 2024 03:24:50 +0100 Subject: [PATCH] [scratchpad] scratchpad now explicitly opts-in to stdlib. found a weird parser bug where it looks like the last use_stdlib call fails to parse properly unless i add extra chars at the end of the file - i bet its running out of subtrees --- samples/scratchpad.psy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/scratchpad.psy b/samples/scratchpad.psy index df3499b..7ef03d0 100644 --- a/samples/scratchpad.psy +++ b/samples/scratchpad.psy @@ -22,4 +22,7 @@ print :: () -> u0 { set_linkage_type(executable); set_output_name("scratchpad"); -} \ No newline at end of file + use_stdlib(true); +} + +// \ No newline at end of file