diff options
author | asmodai <asmodai@FreeBSD.org> | 2002-04-14 19:52:42 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2002-04-14 19:52:42 +0000 |
commit | 86ad61838ffb3b041089e57afd97feb7bcf40fbf (patch) | |
tree | 119a79393c93d00b619641268757a1ac9460885f | |
parent | 26c7f25d9142d0fb8cd050e4d2e809656237804d (diff) | |
download | FreeBSD-src-86ad61838ffb3b041089e57afd97feb7bcf40fbf.zip FreeBSD-src-86ad61838ffb3b041089e57afd97feb7bcf40fbf.tar.gz |
Correct two syntax mistakes.
Fix overflowing right side, so that the && operator fits on the same line.
-rw-r--r-- | share/man/man9/style.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 3ea86ad..ddaaa0e 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -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 |