Add return statement

This commit is contained in:
Mid
2024-11-28 21:40:03 +02:00
parent 8caadf9af1
commit 390c4c954d
8 changed files with 109 additions and 7 deletions

View File

@@ -2,6 +2,6 @@
/* Oh and arguments aren't supported yet either */
/* But functions work :) */
u0() foo: u0() {
u8 a = 5;
foo: u0() {
return 15;
};

View File

@@ -19,4 +19,4 @@ loop {}
u8[19] string: "Hello from Nectar!\0";
@align(510);
u16 bootsig: 16rAA55;
u16 bootsig: 16rAA55;