Fix function definition
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export
|
||||
function :t $f
|
||||
(env %env, w %a, d %b, ...)
|
||||
{@l
|
||||
ret }
|
||||
function :t $f (env %env, w %a, d %b, ...) {
|
||||
@l
|
||||
ret
|
||||
}
|
||||
@@ -2,8 +2,8 @@
|
||||
data $str =
|
||||
{b "hello world", b 0}
|
||||
export
|
||||
function w $main
|
||||
()
|
||||
{@start
|
||||
%r =w call $puts (l $str)
|
||||
ret 0}
|
||||
function w $main () {
|
||||
@start
|
||||
%r =w call $puts (l $str)
|
||||
ret 0
|
||||
}
|
||||
Reference in New Issue
Block a user