summaryrefslogtreecommitdiffhomepage
path: root/example/example_02_nectar
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_02_nectar')
-rw-r--r--example/example_02_nectar/example.nc10
1 files changed, 2 insertions, 8 deletions
diff --git a/example/example_02_nectar/example.nc b/example/example_02_nectar/example.nc
index b308bab..5e95c44 100644
--- a/example/example_02_nectar/example.nc
+++ b/example/example_02_nectar/example.nc
@@ -1,13 +1,7 @@
extern exit;
-const terminate()
-{
- let EXIT_TERMINATED = 0x100;
- exit(EXIT_TERMINATED);
-}
-
const main()
{
- terminate();
- return 0;
+ let foo := exit(0);
+ return 0;
}