From 3d294346ab168fd0b12761711fbe667e47fd644e Mon Sep 17 00:00:00 2001 From: "lincoln auster [they/them]" Date: Sat, 5 Mar 2022 22:36:31 -0700 Subject: doc: export function main in hello world example This enables the example to be compiled and run as-is, without any additional modification. --- doc/il.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/il.txt b/doc/il.txt index 928d16c..6d9345b 100644 --- a/doc/il.txt +++ b/doc/il.txt @@ -63,7 +63,7 @@ a # character and finish with the end of the line. # Define the string constant. data $str = { b "hello world", b 0 } - function w $main() { + export function w $main() { @start # Call the puts function with $str as argument. %r =w call $puts(l $str) -- cgit 1.4.1