[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas STANDARDS
From: |
Reinhard Mueller |
Subject: |
gnue/geas STANDARDS |
Date: |
Wed, 09 May 2001 12:43:58 -0700 |
CVSROOT: /cvs
Module name: gnue
Changes by: Reinhard Mueller <address@hidden> 01/05/09 12:43:58
Modified files:
geas : STANDARDS
Log message:
Added clarification for indent parameters
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/STANDARDS.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gnue/geas/STANDARDS
diff -u gnue/geas/STANDARDS:1.3 gnue/geas/STANDARDS:1.4
--- gnue/geas/STANDARDS:1.3 Mon May 7 09:19:38 2001
+++ gnue/geas/STANDARDS Wed May 9 12:43:58 2001
@@ -19,11 +19,13 @@
(but there could be special cases where the latter is acceptable, e.g.
error handling like "if (!param) exit 0;").
-If the code doesn't conform, using "indent -nut codefile.c" or "indent
--nut -di22 header.h" could save you a big deal of work in changing the
-code. (Be sure to use GNU indent 2.2.6 or later). The "-di22" indents
-variables in declarations to column 22. But probably indent can't do
-everything. Especially it won't insert braces where they miss.
+If the code doesn't conform, using "indent -nut codefile.c" for source
+files, or "indentJ -nut -di22 header.h" for header files could save you
+a big deal of work in changing the code. (Be sure to use GNU indent 2.2.6
+or later).
+The "-di22" indents variables in declarations to column 22.
+But probably indent can't do everything. Especially it won't insert braces
+where they miss.
Additional hints on parameters for indent to make the code cleaner are
always appreciated.