$elif deprecated.

This commit is contained in:
Christoffer Lerno
2023-03-20 16:54:45 +01:00
parent 02d073675a
commit 9c145996b0
19 changed files with 197 additions and 142 deletions

View File

@@ -109,18 +109,21 @@ generic boor2(i)
return 10001;
}
$if ($e > 0)
$switch
$case $e > 0:
{
fn void foo() {}
}
$elif ($e < 0)
$case $e < 0:
{
fn void foo() { printf("HELO"); }
}
$else
$default:
{
fn void foo() { printf("OLEH"); }
}
$endswitch
$if ($e > 0)
{