diff options
author | lincoln auster [they/them] <lincolnauster@gmail.com> | 2022-03-05 22:36:31 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-03-07 15:34:28 +0100 |
commit | 3d294346ab168fd0b12761711fbe667e47fd644e (patch) | |
tree | 621239c06fe3389fee267d32a777e172f6b6f1ef /doc/il.txt | |
parent | 457e568ce9deb0476062fe89383f9a9a6f706e0a (diff) | |
download | roux-3d294346ab168fd0b12761711fbe667e47fd644e.tar.gz |
doc: export function main in hello world example
This enables the example to be compiled and run as-is, without any additional modification.
Diffstat (limited to 'doc/il.txt')
-rw-r--r-- | doc/il.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |