From d36d51429d604f0ab3b2076c4c05e28ebf9b52c5 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Sat, 9 Aug 2025 00:16:57 +1000 Subject: updated block syntax and removed body grammar, fixed issue with if requiring an else branch --- ROMs/hello_c.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ROMs/hello_c.c') diff --git a/ROMs/hello_c.c b/ROMs/hello_c.c index d0abdd5..3310b6b 100644 --- a/ROMs/hello_c.c +++ b/ROMs/hello_c.c @@ -2,5 +2,7 @@ int main() { //comment int a = 5; - return a += 5; + if (a == 5) + return 99; + return 0; } \ No newline at end of file -- cgit v1.3.1