diff options
| author | lincoln auster [they/them] <[email protected]> | 2022-03-05 22:36:31 -0700 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2022-03-07 15:34:28 +0100 |
| commit | 3d294346ab168fd0b12761711fbe667e47fd644e (patch) | |
| tree | 621239c06fe3389fee267d32a777e172f6b6f1ef /doc | |
| parent | 457e568ce9deb0476062fe89383f9a9a6f706e0a (diff) | |
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')
| -rw-r--r-- | doc/il.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
