From 5189b1b234b90c3eae5ebaa4045d3a5e68897513 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 19 Aug 2001 03:19:52 +0000 Subject: [PATCH] First version of indentation profile. svn path=/trunk/yasm/; revision=138 --- .indent.pro | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ src/.indent.pro | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 .indent.pro create mode 100644 src/.indent.pro diff --git a/.indent.pro b/.indent.pro new file mode 100644 index 00000000..04577668 --- /dev/null +++ b/.indent.pro @@ -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 index 00000000..04577668 --- /dev/null +++ b/src/.indent.pro @@ -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 -- 2.40.0