Correct two syntax mistakes.

Fix overflowing right side, so that the && operator fits on the same line.
This commit is contained in:
Jeroen Ruigrok van der Werven 2002-04-14 19:52:42 +00:00
parent d172142dc6
commit 50c1e22e2e

View File

@ -386,7 +386,7 @@ not
stmt;
for (;;) {
z = a + really + long + statement + that + needs +
two lines + gets + indented + four + spaces +
two + lines + gets + indented + four + spaces +
on + the + second + and + subsequent + lines;
}
for (;;) {
@ -414,10 +414,10 @@ Second level indents are four spaces.
If you have to wrap a long statement, put the operator at the end of the
line.
.Bd -literal
while (cnt < 20 && this_variable_name_is_too_long_for_its_own_good &&
while (cnt < 20 && this_variable_name_is_too_long &&
ep != NULL)
z = a + really + long + statement + that + needs +
two lines + gets + indented + four + spaces +
two + lines + gets + indented + four + spaces +
on + the + second + and + subsequent + lines;
.Ed
.Pp