qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 3d294346ab168fd0b12761711fbe667e47fd644e
parent 457e568ce9deb0476062fe89383f9a9a6f706e0a
Author: lincoln auster [they/them] <lincolnauster@gmail.com>
Date:   Sat,  5 Mar 2022 22:36:31 -0700

doc: export function main in hello world example

This enables the example to be compiled and run as-is, without any
additional modification.

Diffstat:
Mdoc/il.txt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)