summaryrefslogtreecommitdiff
path: root/nuttx/tools/indent.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-10 21:56:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-10 21:56:40 +0000
commit0fbb7ceacd13e8f8f665fada3b508ea088034353 (patch)
tree51811db0d76a93a7058ab6281fc1988315319b42 /nuttx/tools/indent.sh
parentbf073440a4934f7c092d3813d4f0dcb885387477 (diff)
downloadpx4-nuttx-0fbb7ceacd13e8f8f665fada3b508ea088034353.tar.gz
px4-nuttx-0fbb7ceacd13e8f8f665fada3b508ea088034353.tar.bz2
px4-nuttx-0fbb7ceacd13e8f8f665fada3b508ea088034353.zip
comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2581 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/indent.sh')
-rwxr-xr-xnuttx/tools/indent.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/tools/indent.sh b/nuttx/tools/indent.sh
index bbdf29b30..8168a1807 100755
--- a/nuttx/tools/indent.sh
+++ b/nuttx/tools/indent.sh
@@ -2,7 +2,7 @@
############################################################################
# tools/indent.sh
#
-# Copyright (C) 2008 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -39,6 +39,8 @@
#
# - I normally put the traiing */ of a multi-line comment on a separate line,
# - I usually align things vertically (like '='in assignments.
+# - indent puts a bogus blank line at the top of the file
+# - I don't like the way it handles nested conditional compilation intermixed with code.
#
# Constants