]> granicus.if.org Git - yasm/commitdiff
First version of indentation profile.
authorPeter Johnson <peter@tortall.net>
Sun, 19 Aug 2001 03:19:52 +0000 (03:19 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 19 Aug 2001 03:19:52 +0000 (03:19 -0000)
svn path=/trunk/yasm/; revision=138

.indent.pro [new file with mode: 0644]
src/.indent.pro [new file with mode: 0644]

diff --git a/.indent.pro b/.indent.pro
new file mode 100644 (file)
index 0000000..0457766
--- /dev/null
@@ -0,0 +1,57 @@
+/* blank lines */
+--blank-lines-after-declarations
+--blank-lines-after-procedures
+--no-blank-lines-before-block-comments
+--leave-optional-blank-lines
+/* comments */
+--no-comment-delimiters-on-blank-lines
+--start-left-side-of-comments
+/* statements */
+--braces-on-if-line
+--cuddle-else
+--cuddle-do-while
+--case-indentation 4
+--case-brace-indentation 4
+--space-special-semicolon
+--no-space-after-function-call-names
+--no-space-after-casts
+--space-after-for
+--space-after-if
+--space-after-while
+--no-space-after-parentheses
+/* declarations */
+--no-blank-lines-after-commas
+--dont-break-function-decl-args
+--procnames-start-lines
+--braces-on-struct-decl-line
+/* indentation */
+--continuation-indentation 4
+--indent-level 4
+--continue-at-parentheses
+--parameter-indentation 4
+--leave-preprocessor-space
+/* breaking long lines */
+--line-length 78
+--break-after-boolean-operator
+--honour-newlines
+/* typedefs */
+-Teffaddr
+-Timmval
+-Tjmprel_opcode_sel
+-Ttargetval
+-Tbytecode
+-Tfatal_num
+-Terr_num
+-Twarn_num
+-TExprOp
+-TExprType
+-TExprItem
+-Texpr
+-Tsection
+-Tpreproc
+-Tparser
+-Toutfmt
+-TSymStatus
+-TSymType
+-Tsymrec
+-Tsymtab
diff --git a/src/.indent.pro b/src/.indent.pro
new file mode 100644 (file)
index 0000000..0457766
--- /dev/null
@@ -0,0 +1,57 @@
+/* blank lines */
+--blank-lines-after-declarations
+--blank-lines-after-procedures
+--no-blank-lines-before-block-comments
+--leave-optional-blank-lines
+/* comments */
+--no-comment-delimiters-on-blank-lines
+--start-left-side-of-comments
+/* statements */
+--braces-on-if-line
+--cuddle-else
+--cuddle-do-while
+--case-indentation 4
+--case-brace-indentation 4
+--space-special-semicolon
+--no-space-after-function-call-names
+--no-space-after-casts
+--space-after-for
+--space-after-if
+--space-after-while
+--no-space-after-parentheses
+/* declarations */
+--no-blank-lines-after-commas
+--dont-break-function-decl-args
+--procnames-start-lines
+--braces-on-struct-decl-line
+/* indentation */
+--continuation-indentation 4
+--indent-level 4
+--continue-at-parentheses
+--parameter-indentation 4
+--leave-preprocessor-space
+/* breaking long lines */
+--line-length 78
+--break-after-boolean-operator
+--honour-newlines
+/* typedefs */
+-Teffaddr
+-Timmval
+-Tjmprel_opcode_sel
+-Ttargetval
+-Tbytecode
+-Tfatal_num
+-Terr_num
+-Twarn_num
+-TExprOp
+-TExprType
+-TExprItem
+-Texpr
+-Tsection
+-Tpreproc
+-Tparser
+-Toutfmt
+-TSymStatus
+-TSymType
+-Tsymrec
+-Tsymtab