aboutsummaryrefslogtreecommitdiff
path: root/examples/call.hdass
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
committerhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
commit3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch)
treedfc7bf806a00c1dbec6c889351c108702a0e9d40 /examples/call.hdass
parent8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff)
add directives and directive based entry points
Diffstat (limited to 'examples/call.hdass')
-rw-r--r--examples/call.hdass2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/call.hdass b/examples/call.hdass
index 239a26b..bf0c515 100644
--- a/examples/call.hdass
+++ b/examples/call.hdass
@@ -1,3 +1,5 @@
+[entry: main]
+
// Passes an argument through a proc parameter, which exits with that value.
const SYS_EXIT = 60