From 9e6c17cb44bc165e315ec039a0e09183716d2037 Mon Sep 17 00:00:00 2001 From: L0P0P Date: Wed, 26 Jun 2024 11:44:58 +0200 Subject: Semantic check for function declaration and function invocation --- progs/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'progs') diff --git a/progs/test.py b/progs/test.py index 72729e1..97e316f 100644 --- a/progs/test.py +++ b/progs/test.py @@ -1,4 +1,6 @@ def unibo(a): - print("u") + if a == 3: + print("UNIBO") +a = 3 unibo(a) -- cgit v1.2.3-18-g5258