mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
$elif deprecated.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user