diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-10-01 01:04:30 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-10-11 00:14:35 +0200 |
| commit | 4ce39e4fc1de9536de7dedfe91b6dee38dec76ae (patch) | |
| tree | f9820f96b8eab624430c3700f32a2878a7036ee2 /examples/call.prs | |
| parent | 9140988be4e5bb028b7140aca1a67af1370c72a7 (diff) | |
| download | prc-4ce39e4fc1de9536de7dedfe91b6dee38dec76ae.tar.gz | |
WIP sym + cgen
Diffstat (limited to 'examples/call.prs')
| -rw-r--r-- | examples/call.prs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/call.prs b/examples/call.prs new file mode 100644 index 0000000..3c7d9c4 --- /dev/null +++ b/examples/call.prs @@ -0,0 +1,17 @@ +* function calls +function foo + linkage + a word + b word + c word + d word + procedure using a b c returning d + +public function main + types + foo prototype + procedure + storage + myfoo foo + procedure + call foo using a b c returning d |
