]> granicus.if.org Git - php/commitdiff
- More whitespace fixes while I'm at it.
authorAndi Gutmans <andi@php.net>
Fri, 27 Apr 2001 18:53:25 +0000 (18:53 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 27 Apr 2001 18:53:25 +0000 (18:53 +0000)
Zend/zend_API.c
Zend/zend_builtin_functions.c
Zend/zend_hash.c
Zend/zend_language_scanner.l
Zend/zend_operators.c
Zend/zend_operators.h

index ee7bc8ddf169ad24a909e3555b8493e083e879bd..333fe8638304c523b39d75fe8ce226783b93e312 100644 (file)
@@ -873,7 +873,7 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length,
     symbol->is_ref = is_ref;
 
     va_start(symbol_table_list, num_symbol_tables);
-    while(num_symbol_tables-- > 0) {
+    while (num_symbol_tables-- > 0) {
         symbol_table = va_arg(symbol_table_list, HashTable *);
         zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL);
         zval_add_ref(&symbol);
index 0f7052f2068393bc5d9e473a6cc1cdec4c0ef064..905e39531220046cec9b266de7bba6984339af44 100644 (file)
@@ -740,7 +740,7 @@ ZEND_FUNCTION(get_included_files)
 
        array_init(return_value);
        zend_hash_internal_pointer_reset(&EG(included_files));
-       while(zend_hash_get_current_key(&EG(included_files), &entry, NULL, 1) == HASH_KEY_IS_STRING) {
+       while (zend_hash_get_current_key(&EG(included_files), &entry, NULL, 1) == HASH_KEY_IS_STRING) {
                add_next_index_string(return_value,entry,0);
                zend_hash_move_forward(&EG(included_files));
        }
index af37fbfe5fd86abce74d3b0361941aaeb7b5b13c..f551dcde4688fcd6cff754ad8eb4de6eeef29a04 100644 (file)
@@ -52,7 +52,7 @@
                                return func;                                                                                                                    \
                        }                                                                                                                                                       \
                }                                                                                                                                                               \
-       } while(0);                                                                                                                                                     \
+       } while (0);                                                                                                                                                    \
 }
 
 
index e7601599772b5f6203d60183dbfebdf385898a9d..ed400dabe843ceb2be3fe6f7d8f5cd7d1aff5808 100644 (file)
 do { \
        char *p = (s),*boundary = p+(l); \
 \
-       while(p<boundary) { \
+       while (p<boundary) { \
                if (*p++=='\n') { \
                        CG(zend_lineno)++; \
                } \
        } \
-} while(0)
+} while (0)
 
 #define HANDLE_NEWLINE(c) \
 { \
index 8ff229a9301298aa465fa46aa8412709f77ba206..db632e87f06308489f2e568bb8c9726d28f31707 100644 (file)
@@ -1331,7 +1331,7 @@ static void increment_string(zval *str)
                return;
        }
 
-       while(pos >= 0) {
+       while (pos >= 0) {
         ch = s[pos];
         if (ch >= 'a' && ch <= 'z') {
             if (ch == 'z') {
index 274a99bd474a8e8f1ab53cb94d236af0bdf6288b..9d3b9fdb688a6f206131b7c8a3b7c019adada057 100644 (file)
@@ -91,7 +91,7 @@ static inline int is_numeric_string(char *str, int length, long *lval, double *d
                if (length>16) {
                        register char *ptr=str, *end=str+length;
                        
-                       while(ptr<end) {
+                       while (ptr<end) {
                                switch(*ptr++) {
                                        case 'e':
                                        case 'E':