com php-src: Comment nitpick (nikic): Zend/zend_compile.c
| From: | Ferenc Kovacs | Date: | Sun, 25 Aug 2013 13:09:19 +0000 |
| Subject: | com php-src: Comment nitpick (nikic): Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74268@lists.php.net to get a copy of this message | ||
Commit: 28fa0896df908fd72c1766c5a6fe22d441e96494
Author: Igor Wiedler <igor@wiedler.ch> Sun, 25 Aug 2013 15:09:19 +0200
Parents: 84c8aa36910f58033d475efa7f7c808c83539621
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=28fa0896df908fd72c1766c5a6fe22d441e96494
Log:
Comment nitpick (nikic)
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index b2367cbd..bdb0e84 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -7182,7 +7182,7 @@ void zend_do_use_non_class(znode *ns_name, znode *new_name, int is_global,
const
lcname = zend_str_tolower_dup(Z_STRVAL_P(name), Z_STRLEN_P(name));
if (CG(current_namespace)) {
- /* Prefix import name with current namespace name to avoid conflicts with classes */
+ /* Prefix import name with current namespace name to avoid conflicts with functions/consts */
char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1);
zend_str_tolower_copy(c_ns_name, Z_STRVAL_P(CG(current_namespace)),
Z_STRLEN_P(CG(current_namespace)));