cvs: php4 / CODING_STANDARDS
| From: | Marcus B�rger | Date: | Tue, 29 Oct 2002 20:25:09 +0000 |
| Subject: | cvs: php4 / CODING_STANDARDS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15613@lists.php.net to get a copy of this message | ||
helly Tue Oct 29 15:25:09 2002 EDT
Modified files:
/php4 CODING_STANDARDS
Log:
rewrite paragraph 9
No instances yet. And it does not work with #if 0_FOO but with #if FOO_0
Index: php4/CODING_STANDARDS
diff -u php4/CODING_STANDARDS:1.23 php4/CODING_STANDARDS:1.24
--- php4/CODING_STANDARDS:1.23 Thu Oct 10 13:03:49 2002
+++ php4/CODING_STANDARDS Tue Oct 29 15:25:09 2002
@@ -111,8 +111,8 @@
Function calls in assert conditions may also cause this problem, if
they modify one of their arguments or global variables.
-[9] When commenting out code using a #if statement, do NOT use 0 only. Append
- to any 0 an _<cvs username here>. For example, #if 0_FOO, where FOO is
+[9] When commenting out code using a #if statement, do NOT use 0 only. Instead
+ use "<cvs username here>_0". For example, #if FOO_0, where FOO is your
cvs user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.