⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys.p2crc

📁 把pascal程序转成C语言程序 把pascal程序转成C语言程序
💻 P2CRC
📖 第 1 页 / 共 5 页
字号:
# BRACES AND PLACEMENT OF STATEMENTSNullStmtLine                    # 1=put null statements on their own lines,                                # 0 or default=write "while (x) ;"BracesAlways                    # 1=use {braces} always,                                # 0=never unless needed,                                # default=use nice bracesBraceLine                       # 1=always put open braces on a new line,                                # 0=never put open brace on new line if poss,                                # default=0 for sub-stmts, 1 for func bodiesBraceCombine                    # 1=don't put newline after '{' if possible                                # 0 or default=open brace always ends a lineBraceElse                       # 1=put { } on both "then" and "else" if would                                #   put them on either, default=independentBraceElseLine                   # 0 or default=write "} else {"                                # 1=write "}\nelse {", 2=write "} else\n{"                                # 3=write "}\nelse\n{"ElseIf                          # 1=always write "else if" on same line                                # 0=always write "else\nif"                                # default=use "else if" only when input used itNewLineFuncs                    # 1=write "static int\nfoo()" in function defs                                # 0 or default=write "static int foo()"# INDENTATIONPhysTabSize                     # Spacing of tab-character tabs; default=8.                                # 0=do not use tabs in output file.Indent                          # Basic indentation delta; default=+2.                                # Indentation deltas specify an amount by which                                # to change indentation; +n or -n specifies a                                # relative adjustment, n specifies an absolute                                # amount of indentation where 0=far left.BlockIndent                     # Indentation delta for statements enclosed                                # in braces; applied after Indent.  Default=+0.SwitchIndent                    # Indentation delta for switch statement body;                                # applied after Indent.  Default=+0.CaseIndent                      # Indentation delta for case labels; applied                                # after Indent and SwitchIndent.  Default=-2.LabelIndent                     # Indentation delta for statement labels.                                # Default is 0 (absolute).OpenBraceIndent                 # Indentation delta for the open brace that                                # begins a block.  Used only if the brace is                                # on its own line.  Default=+0.CloseBraceIndent                # Indentation delta for the close brace that                                # ends a block.  Default=+0.FuncArgIndent                   # Indentation delta for function arguments.                                # Default is 0.BodyIndent                      # Indentation delta for the body of a function;                                # applied after Indent.  Default=+0.FuncOpenIndent                  # Indentation delta for the open brace that                                # begins a function body.  Default=+0.FuncCloseIndent                 # Indentation delta for the close brace that                                # ends a function body.  Default=+0.StructIndent                    # Indentation delta for "struct" declarations;                                # applied after Indent.  Default=+0.StructInitIndent                # Indentation delta for struct and array                                # initializers; applied after Indent.                                # Default=+0.ExtraInitIndent                 # Indentation delta for nested struct/array                                # initializers; not combined with Indent.                                # Default=+2.ExtraIndent                     # Extra indentation for broken lines if                                # indenting by nesting order is too much;                                # default=+2:                                #    long_function_name(arguments,                                #        more_arguments);                                #    1234BumpIndent                      # Extra indentation for subexpressions which                                # coincide with next statement's indentation                                # in a visually confusing way:                                #     if (foo &&                                #         bar)     <- this gets BumpIndent                                #         spam();                                # May be pos, neg or zero.  Default=+1.ConstIndent                     # Target column for #defines; default=24.                                # A positive relative value (e.g., +3) means                                # to use that many spaces always rather than                                # tabbing to a fixed column.  A value of the                                # form, e.g., *5 means to tab to the next                                # multiple-of-5 column.CommentIndent                   # Target column (as in ConstIndent) for                                # comments trailing statements.  Another                                # syntax is, e.g., "-80" which means to                                # right-justify comments on an 80-column line.                                # Default=+3.BraceCommentIndent              # Indentation for trailing comments on                                # braces.  Default=+2.DeclCommentIndent               # Target column for comments trailing                                # declarations.  Default=CommentIndent.CommentOverIndent               # If line is too long to indent nicely by                                # CommentIndent or BraceCommentIndent, start                                # a new line and indent according to this                                # indentation, either n, +n, or -n.  Zero means                                # never to start a new line.  Default=+4.MinSpacing                      # Minimum spacing allowed for things like                                # absolute ConstIndent spacing.  Default=2,                                # i.e., ConstIndent will always insert at                                # least two spaces, even on long lines.MinSpacingThresh                # If specified, threshhold below which                                # MinSpacing is used.  (Default=MinSpacing.)                                # For example, if MinSpacingThresh=1:                                #    foo  /*comment*/   (CommentIndent=5 used)                                #    spam /*comment*/   (CommentIndent=5 used)                                #    thing  /*comment*/ (MinSpacing=2 used)# LINE BREAKINGLineWidth                       # Target max output line width; default=78.MaxLineWidth                    # Absolute max output line width; default=90.OverWidePenalty                 # Penalty for line lengths > LineWidth.                                # Default=25.  (Penalties are real numbers.)OverWideExtraPenalty            # Additional penalty multiplied by                                # number-of-chars-too-long squared.                                # Default=1.  Total over-wide penalty is                                #   OW = max(OWP + N^2*OWEP, 0).EarlyBreakPenalty               # Penalty for breaking at early break-points                                # among those at a given nesting level.                                # Default=1.  If N=number of possible break                                # points before this one in this nesting,                                #   EB = -N*EBP.CommaBreakPenalty               # Penalty for breaking lines after a comma.                                # Default=10.CommaBreakExtraPenalty          # Additional penalty multiplied by nesting                                # level of (number of parens enclosing) comma.                                # Default=5.  Total comma-break penalty is                                #   B = max(P + CBP + N*CBEP, 1.0)                                # where                                #   P = OW + EB + SIP + IP  (defined elsewhere)SpecialArgBreakPenalty          # Penalty for breaking lines after a comma                                # which follows a "special" argument, such                                # as the format string of a printf.  Default=5.OpBreakPenalty                  # Penalty for breaking at an operator (like +).                                # Analogous to CommaBreakPenalty; default=25.OpBreakExtraPenalty             # Additional penalty multiplied by nesting                                # level of the operator.  Default=20.LogBreakPenalty			# Penalty for breaking at an && or || operator.				# Default=5.LogBreakExtraPenalty		# Additional penalty multiplied by nesting				# level of the logical operator.  Default=1.RelBreakPenalty			# Penalty for breaking at a relational				# operator.  Default=20.RelBreakExtraPenalty		# Additional penalty multiplied by nesting				# level of the relational op.  Default=10.ExHyphenPenalty                 # Additional penalty for breaking a line just                                # after a minus sign.  Default=10.  :-)AssignBreakPenalty              # Penalty for breaking at an assignment                                # operator.  Default=50.AssignBreakExtraPenalty         # Additional penalty multiplied by nesting                                # level of the assignment.  Default=30.QMarkBreakPenalty               # Penalty for breaking lines at the "?" of                                # a "?:" operator.  Default=50.  (Colons                                # get the regular OpBreakPenalty.)QMarkBreakExtraPenalty          # Additional penalty multiplied by nesting                                # level of the "?:" operator.  Default=30.ParenBreakPenalty               # Penalty for breaking after an open paren                                # in a function call:                                #   long_function_name(                                #       very_long_argument);                                # Default=25.ParenBreakExtraPenalty          # Additional penalty multiplied by nesting                                # level of the parentheses.  Default=10.MoreBreakPenalty                # Adjustment to CommaBreakPenalty, etc.,                                # if it is the second or later break in the                                # same nesting.  (E.g., if two or more commas                                # of a function call are broken.)  Default=-5.MoreBreakExtraPenalty           # Adjustment to CommaBreakExtraPenalty, etc.,                                # as in MoreBreakPenalty.  Default=-3.WrongSidePenalty                # Extra penalty for breaking on the less                                # preferred side of an operator (see BreakArith                                # et al below).  Default=10.ExtraIndentPenalty              # Penalty for indenting by ExtraIndent instead                                # of according to nesting order.  If negative,                                # -EIP is penalty for *not* using ExtraIndent.                                # Default=30.BumpIndentPenalty               # Penalty for using BumpIndent for identation.                                # Default=10.NoBumpIndentPenalty             # Penalty for not using BumpIndent when it                                # ought to have been used.  Default=25.IndentAmountPenalty             # Penalty for indentation; for a line indented                                # N spaces (beyond the indentation of the                                # statement as a whole),                                #   IP = N*IAP.                                # Default=0.5.SameIndentPenalty               # Penalty for indenting two successive lines                                # the same even though they belong to different                                # nesting levels:                                #   foo = x +                                #         y *                                #         z                                # Default=5.MaxLineBreakTries               # Limit to the number of line breaking                                # alternatives to be tried.  Default=5000.AllOrNoneBreak                  # List of functions for which arguments mustAllOrNoneBreak                  # be written all on one line or all on separateAllOrNoneBreak                  # lines.  (A given function may have only oneAllOrNoneBreak                  # of this and the following break properties.)OneSpecialArg   printf          # List of functions like printf for which theOneSpecialArg                   # first argument is "special", remaining argsOneSpecialArg                   # are uniform.TwoSpecialArgs  sprintf         # List of functions like fprintf for which theTwoSpecialArgs  fprintf         # first two arguments are "special".ThreeSpecialArgs                # List of functions for which the first three

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -