[Zrouter-src] ZRouter.org: push to zconf++ docs/tools/zrouter-bcpp.cfg

zrouter-src at zrouter.org zrouter-src at zrouter.org
Wed Jan 11 06:35:07 UTC 2012


details:   /rev/a34a88b89d44
changeset: 37:a34a88b89d44
user:      "Nicolai Petri <nicolai at petri.dk>"
date:      Wed Jan 11 07:34:11 2012 +0100
description:
Add zrouter config file for bcpp (c++ stylizer)

diffstat:

 docs/tools/zrouter-bcpp.cfg |  134 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 134 insertions(+), 0 deletions(-)

diffs (138 lines):

diff -r 2ed0901283a0 -r a34a88b89d44 docs/tools/zrouter-bcpp.cfg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/tools/zrouter-bcpp.cfg	Wed Jan 11 07:34:11 2012 +0100
@@ -0,0 +1,134 @@
+; $Id: bcpp.cfg,v 1.10 2003/04/17 00:24:51 tom Exp $
+; This file contains configuration parameters that are used
+; within the bcpp program.
+
+; There are two types of parameter types : Boolean, and Integer.
+; Boolean types can have only two valid values [On, Yes, or Off, No].
+; Integer types can have a valid range of 0 - 5000.
+
+;------------------------------------------------------------------------
+; This parameter specifies how many lines separate between two
+; functions.
+;------------------------------------------------------------------------
+  function_spacing            = 2        ; Integer
+
+;------------------------------------------------------------------------
+; Specifies whether to use tabs in indenting code.
+;------------------------------------------------------------------------
+  use_tabs                    = yes      ; Boolean
+
+;------------------------------------------------------------------------
+; Specifies how many spaces to indent. This parameter is also used
+; for tab indenting, as 1 tab may be worth 8 spaces if so desired.
+; This parameter is used to position comments in TAB mode, and expanding
+; of tabs within code!
+;------------------------------------------------------------------------
+  indent_spacing              = 4        ; Integer
+
+;------------------------------------------------------------------------
+; Specifies whether to indent preprocessor controls to match the code
+;------------------------------------------------------------------------
+  indent_preprocessor         = yes      ; Boolean
+
+;------------------------------------------------------------------------
+; Specifies whether to indent embedded SQL statements
+;------------------------------------------------------------------------
+  indent_exec_sql             = yes      ; Boolean
+
+;------------------------------------------------------------------------
+; Defines at what start position comments that have code on the
+; same line to be placed.
+;------------------------------------------------------------------------
+  comments_with_code          = 33       ; Integer
+
+;------------------------------------------------------------------------
+; Defines at what start position comments with no code start.
+;------------------------------------------------------------------------
+  comments_with_nocode        = 0        ; Integer
+
+;------------------------------------------------------------------------
+; Set this option to ON turns off setting indentation position of parameter
+; "comments_with_nocode". Indentation is then set according to code
+; position.
+;------------------------------------------------------------------------
+  leave_comments_nocode       = yes      ; Boolean
+  
+;------------------------------------------------------------------------
+; Use this option is used to change non-ASCII (non-printable) chars to
+; octal notation if they lie within quotes. Either
+; Ascii_Chars_Only, XOR Leave_Graphic_Chars parameters need to be set
+; as a True value for this parameter to take effect.
+;------------------------------------------------------------------------
+  NonAscii_Quotes_to_Octal    = yes      ; Boolean
+
+;------------------------------------------------------------------------
+; Setting this parameter to yes will strip non-printable characters
+; from the source files, but leave any character that are IBM
+; graphics alone. Any non-printable characters that lie within
+; quotes will be transformed into octal/character notation, if
+; NonAscii_Quotes_To_Octal parameter is set to True.
+;------------------------------------------------------------------------
+;  leave_graphic_chars        = no       ; Boolean
+
+;------------------------------------------------------------------------
+; Setting this parameter to yes will strip any non-printable,
+; non-ascii characters from the input file. Any non-printable
+; octal/character notation if NonAscii_Quotes_To_Octal is set to
+; True. Comment out this parameter if you are using
+; Leave_Graphic_Chars parameter, as this parameter will override
+; it.
+;------------------------------------------------------------------------
+  ascii_chars_only            = yes      ; Boolean
+
+;------------------------------------------------------------------------
+; This parameter will place top-level open braces on a new line after its
+; associated code if set on/yes. Else the brace will be placed on
+; next above line if possible, with its code.
+;------------------------------------------------------------------------
+;  place_top_brace_on_new_line = yes      ; Boolean
+  place_top_brace_on_new_line = no      ; Boolean
+
+;------------------------------------------------------------------------
+; This parameter will place open braces on a new line after its
+; associated code if set on/yes. Else the brace will be placed on
+; next above line if possible, with its code.
+;------------------------------------------------------------------------
+;;  place_brace_on_new_line     = yes      ; Boolean
+  place_brace_on_new_line     = no      ; Boolean
+
+;------------------------------------------------------------------------
+; This parameter will indent a trailing brace to align with the code
+; which is enclosed, rather than with the "if" or similar statement which
+; begins the compound statement.
+;------------------------------------------------------------------------
+  brace_indent                = no       ; Boolean
+
+;------------------------------------------------------------------------
+; This parameter will shift both leading/trailing braces to the right by
+; one indent-level.
+;------------------------------------------------------------------------
+  indent_both_braces          = no       ; Boolean
+
+;------------------------------------------------------------------------
+; This parameter will stop output from the program corrupting output
+; that may exit from the program via the standard output.
+; If this parameter is set to off/no then no output is generated from
+; the program, unless an error is encountered
+;------------------------------------------------------------------------
+  program_output              = no       ; Boolean
+   
+
+;------------------------------------------------------------------------
+; Specifies what the internal memory requirements will be in size of the
+; line processing buffer. This essentially is used only for open brace
+; relocation in Kernighan/Ritchie style.
+;------------------------------------------------------------------------
+  Queue_Buffer                = 1000    ; Integer
+
+;------------------------------------------------------------------------
+; If this option is set to true then the input file will be backup into a
+; another file with a ".bac" extension added to the end of the file 
+; name.
+;------------------------------------------------------------------------
+  Backup_File                 = no    ; Boolean
+


More information about the Zrouter-src mailing list