The remark should note that developers should indent preprocessor (!) directives by putting the # at the beginning of a line, followed by any number of whitespace.
- Sascha On Fri, 30 Jan 2004, Marcus Boerger wrote: > helly Fri Jan 30 02:01:26 2004 EDT > > Modified files: > /php-src CODING_STANDARDS > Log: > Newer compilers don't need this so many people don't know. Hence we make > it a coding standard. > > > http://cvs.php.net/diff.php/php-src/CODING_STANDARDS?r1=1.29&r2=1.30&ty=u > Index: php-src/CODING_STANDARDS > diff -u php-src/CODING_STANDARDS:1.29 php-src/CODING_STANDARDS:1.30 > --- php-src/CODING_STANDARDS:1.29 Mon Jan 26 07:37:48 2004 > +++ php-src/CODING_STANDARDS Fri Jan 30 02:01:25 2004 > @@ -204,6 +204,9 @@ > four spaces. It is important to maintain consistency in indenture so > that definitions, comments, and control structures line up correctly. > > +[5] Precompiler statements (#if and such) MUST start at column one, you > + cannot indent them. > + > Documentation and Folding Hooks > ------------------------------- > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php