/*
* To make them easier to read, conditional expressions can be split into
* multiple lines.
*/
//indent input
const char *separate_lines = cond
? "then"
: "else";
//indent end
//indent run -di0
const char *separate_lines = cond
// $ XXX: Continuation lines in expressions should be indented, even in column 1.
? "then"
: "else";
//indent end
/*
* In functions, conditional expressions are indented as intended.
*/
//indent input
void
function(void)
{
return cond
? "then"
: "else";
}
//indent end
//indent run-equals-input
/*
* In functions, conditional expressions are indented as intended.
*/
//indent input
void
function(void)
{
const char *branch = cond
? "then"
: "else";