X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2FcodeGen.spl;h=658ea6e3384e6d0523b299766cb34404fa9ed433;hb=d5239ed85ef46f3ada3857103dd63a1853da918c;hp=1f8cbfdbf7e2964a0bcd1c610982bc2af1d64553;hpb=2dfaf554d3b448567e41a140d46a27f6dfb5d901;p=cc1516.git diff --git a/examples/codeGen.spl b/examples/codeGen.spl index 1f8cbfd..658ea6e 100644 --- a/examples/codeGen.spl +++ b/examples/codeGen.spl @@ -1,4 +1,7 @@ +f() { + return 2; +} main() { var x = 3; - return 4 + 2 + x; -} \ No newline at end of file + return 1 + 2 + x + f(); +}