summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent
Commit message (Collapse)AuthorAgeFilesLines
* Use `The .Nm utility'charnier2002-04-201-14/+22
|
* 1) Const enough things to avoid warnings.dwmalone2002-03-306-30/+31
| | | | | | | | 2) Cast ifdef_level to a size_t before comparing it to a ratio of size_ts. Ifdef_level should always be positive. 3) Complete prototype for chfont. 4) Cast some ptrdiff_ts to ints before using as a field width. 5) Avoid shadowing a local variable p with another local variable p.
* Make this compile cleanly when warnings are enabled:schweikh2001-10-288-227/+310
| | | | | | | | | | | | | | - ANSIfy function declarations - braces around initializers structs within structs - add parens in complicated expressions - disambiguate dangling elses - no more implicit int - make functions static where possible - use prototypes - don't use varargs hack for diag() Requested by: joerg MFC after: 2 weeks
* Properly handle backslash newline within an identifier or keyword.schweikh2001-10-191-1/+11
| | | | | | | | PR: bin/6015 Submitted by: myself (schweikh) Patch by: Alexey V.Neyman <alex.neyman@auriga.ru> Tested by: indenting my chess problem solver and running its test suite MFC after: 3 weeks
* Remove whitespace at EOL.dd2001-07-151-9/+9
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix damage I did in rev 1.4 that broke formatting this example:obrien2001-04-201-0/+2
| | | | void foo(struct bar *bar) { return 0; }
* Fix indent endless on garbage input (i.e., if it encountered EOF whileobrien2001-02-271-1/+1
| | | | | | waiting for a '}' nesting terminator) Obtained from: OpenBSD rev 1.8
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-181-1/+1
|
* Don't abuse the SCCS `@(#)' for RCS.obrien2000-12-256-6/+6
| | | | Requested by: bde
* The options I added where not formated to new manpage style specs.obrien2000-12-091-4/+7
|
* Add or fix FreeBSD IDs.obrien2000-12-097-5/+10
|
* "Implement -[n]fcb (formatting of block comments) and attempt to implementobrien2000-12-096-11/+46
| | | | | | | no-space=after-sizeof (not optional) and no-space-after 'struct foo *' (not optional). Without these, indent unKNFizes even more perfectly KNF code." Submitted by: bde
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+2
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-7/+0
|
* Don't call err() with no format string.kris2000-07-101-7/+7
|
* Don't depend on the fact that variables default to int.billf1999-09-061-4/+4
|
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Clean up some ambiguous nested if/elses.billf1999-07-042-7/+9
|
* Improve handling of "do ... while" following "else". This changernordier1999-05-211-1/+1
| | | | eliminates some incorrect "Unmatched 'else'" errors.
* PR: 7583thepish1998-10-181-4/+4
| | | | | Submitted by: Dave Glowacki <dglo@SSEC.WISC.EDU> Support input via stdin if no input file name specified explicitly
* Support integer constant unsigned-suffix and long-long-suffix.rnordier1998-05-191-3/+21
|
* Change defaults to match reality.hoek1997-10-241-15/+17
| | | | PR: docs/3817
* Use err(3) instead of local redefinition. Add usage().charnier1997-07-154-51/+54
|
* Some minor cosmetic tweaks.steve1997-06-281-5/+5
| | | | | PR: docs/3941 Partially submitted by: uenami@imasy.or.jp
* Fix description of -cli option so that it comes out as -cli0.5 instead ofscrappy1996-10-231-1/+1
| | | | | | -cli0 -.5 Submitted by: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
* Fix a variety of minor typos and cross references in a bunch ofmpp1996-01-201-2/+2
| | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
* Remove trailing whitespace.rgrimes1995-05-303-39/+39
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-2711-0/+4341
OpenPOWER on IntegriCloud