summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-09 09:45:09 +0000
committerobrien <obrien@FreeBSD.org>2000-12-09 09:45:09 +0000
commitae466e022e32b4b72435351b39db7c596626315c (patch)
tree1b668963aef728cdd7b1a89fc512e215658ac433 /usr.bin/indent/indent_globs.h
parentb010dd915757f9b97f10d341fcb18ec6bacd1e56 (diff)
downloadFreeBSD-src-ae466e022e32b4b72435351b39db7c596626315c.zip
FreeBSD-src-ae466e022e32b4b72435351b39db7c596626315c.tar.gz
"Implement -[n]fcb (formatting of block comments) and attempt to implement
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
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index ec2df34..5f49f9c 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -33,6 +33,7 @@
* SUCH DAMAGE.
*
* @(#)indent_globs.h 8.1 (Berkeley) 6/6/93
+ * $FreeBSD$
*/
#define BACKSLASH '\\'
@@ -155,6 +156,8 @@ int procnames_start_line; /* if true, the names of procedures
* name) */
int proc_calls_space; /* If true, procedure calls look like:
* foo(bar) rather than foo (bar) */
+int format_block_comments; /* true if comments beginning with
+ * `/*\n' are to be reformatted */
int format_col1_comments; /* If comments which start in column 1
* are to be magically reformatted
* (just like comments that begin in
OpenPOWER on IntegriCloud