summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2004-06-27 10:58:37 +0000
committerschweikh <schweikh@FreeBSD.org>2004-06-27 10:58:37 +0000
commit3a2780ff6eeaaf86c011ff26a9fb82f995961037 (patch)
tree15721606f07f694a3600ef728b48d784f4474038 /usr.bin/indent/indent_globs.h
parent7c81a9a35ed13623ee05aad76ac46e938ed8e357 (diff)
downloadFreeBSD-src-3a2780ff6eeaaf86c011ff26a9fb82f995961037.zip
FreeBSD-src-3a2780ff6eeaaf86c011ff26a9fb82f995961037.tar.gz
Fix problems with non-8 space tabs. New options for function
declarations with the opening brace on the same line as the declaration of arguments all spaces and no tabs (a feature which exists in GNU's indent). Man page update to follow RSN. PR: bin/67983 Submitted by: Chip Norkus <wd@teleri.net> Style guidance and bug for bug compatibility by: bde MFC after: 2 weeks
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index d35900e..010b3a3 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -193,12 +193,16 @@ int blanklines_after_declarations_at_proctop; /* This is vaguely
* if there are no
* declarations */
int block_comment_max_col;
-int extra_expression_indent; /* True if continuation lines from the
+int extra_expression_indent; /* true if continuation lines from the
* expression part of "if(e)",
* "while(e)", "for(e;e;e)" should be
* indented an extra tab stop so that
* they don't conflict with the code
* that follows */
+int function_brace_split; /* split function declaration and
+ * brace onto separate lines */
+int use_tabs; /* set true to use tabs for spacing,
+ * false uses all spaces */
/* -troff font state information */
OpenPOWER on IntegriCloud