11 lines
110 B
Plaintext
11 lines
110 B
Plaintext
|
# name: switch (...) { ... }
|
||
|
# key: switch
|
||
|
# --
|
||
|
switch ($1)
|
||
|
{
|
||
|
case $2:
|
||
|
$0
|
||
|
break;
|
||
|
default:
|
||
|
break;
|
||
|
}
|