]> granicus.if.org Git - php/commitdiff
MFH:- Fixed bug #43365 (Several enums have trailing commas)
authorJani Taskinen <jani@php.net>
Mon, 26 Nov 2007 10:59:04 +0000 (10:59 +0000)
committerJani Taskinen <jani@php.net>
Mon, 26 Nov 2007 10:59:04 +0000 (10:59 +0000)
ext/pcre/php_pcre.c
ext/pdo/php_pdo_driver.h
ext/spl/spl_directory.h
ext/spl/spl_iterators.h
main/streams/php_stream_filter_api.h

index ec36ac4763b4c211eef42541991deca2da48617e..7edd0c4f0aae839eed72b52c7a1a78f824022d83 100644 (file)
@@ -48,7 +48,7 @@ enum {
        PHP_PCRE_INTERNAL_ERROR,
        PHP_PCRE_BACKTRACK_LIMIT_ERROR,
        PHP_PCRE_RECURSION_LIMIT_ERROR,
-       PHP_PCRE_BAD_UTF8_ERROR,
+       PHP_PCRE_BAD_UTF8_ERROR
 };
 
 
index 78733b812bfbbe7f2f993c773ad7c0d5f7d5843a..11cbf7999738ba705dbf67a2096779f284919cea 100755 (executable)
@@ -67,7 +67,7 @@ enum pdo_param_type {
        PDO_PARAM_STMT, /* hierarchical result set */
 
        /* get_col ptr should point to a zend_bool */
-       PDO_PARAM_BOOL,
+       PDO_PARAM_BOOL
 };
 
 /* magic flag to denote a parameter as being input/output */
index caf3a181676fde791c2f63a3eadf32967ed95608..163936046a59e63ad36de77d2e52e79dea3419b1 100755 (executable)
@@ -35,7 +35,7 @@ PHP_MINIT_FUNCTION(spl_directory);
 typedef enum {
        SPL_FS_INFO, /* must be 0 */
        SPL_FS_DIR,
-       SPL_FS_FILE,
+       SPL_FS_FILE
 } SPL_FS_OBJ_TYPE;
 
 typedef struct _spl_filesystem_object  spl_filesystem_object;
index c60edaaae51b1791828bed13becabdf2b4be2361..e986df1cc6f6189d2531fe9355084f4e1d310837 100755 (executable)
@@ -94,7 +94,7 @@ enum {
 enum {
        /* public */
        REGIT_USE_KEY            = 0x00000001,
-       REGIT_INVERTED           = 0x00000002,
+       REGIT_INVERTED           = 0x00000002
 };
 
 typedef enum {
@@ -103,7 +103,7 @@ typedef enum {
        REGIT_MODE_ALL_MATCHES,
        REGIT_MODE_SPLIT,
        REGIT_MODE_REPLACE,
-       REGIT_MODE_MAX,
+       REGIT_MODE_MAX
 } regex_mode;
 
 typedef struct _spl_dual_it_object {
index 040a8f0222be45eefe669115e91fc853712cc412..51e54ddd989eca576bfb59b6c71e6a9fda27d4af 100644 (file)
@@ -62,7 +62,7 @@ struct _php_stream_bucket_brigade {
 typedef enum {
        PSFS_ERR_FATAL, /* error in data stream */
        PSFS_FEED_ME,   /* filter needs more data; stop processing chain until more is available */
-       PSFS_PASS_ON,   /* filter generated output buckets; pass them on to next in chain */
+       PSFS_PASS_ON    /* filter generated output buckets; pass them on to next in chain */
 } php_stream_filter_status_t;
 
 /* Buckets API. */