mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
14 lines
180 B
D
14 lines
180 B
D
unittest
|
|
{
|
|
loop: while (i < tokens.length) switch (tokens[i].type)
|
|
{
|
|
case tok!"(":
|
|
parenDepth++;
|
|
i++;
|
|
break;
|
|
case tok!"{":
|
|
braceDepth++;
|
|
i++;
|
|
break;
|
|
}
|
|
}
|