diff options
author | Veres Lajos <vlajos@gmail.com> | 2013-07-24 00:54:16 +0100 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2013-08-18 13:46:32 -0700 |
commit | 144eab0889c086bc31226bad98be9ce04d231f8a (patch) | |
tree | 9ccd769d1b4437b1d440dbfb99e22f1a5f6675e2 /ext/xml/expat_compat.h | |
parent | 803045e3c74c3360d141b4aec26f6a1507e7508c (diff) | |
download | php-git-144eab0889c086bc31226bad98be9ce04d231f8a.tar.gz |
code related typo fixes
Diffstat (limited to 'ext/xml/expat_compat.h')
-rw-r--r-- | ext/xml/expat_compat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/xml/expat_compat.h b/ext/xml/expat_compat.h index 424785f566..1c94e45fd3 100644 --- a/ext/xml/expat_compat.h +++ b/ext/xml/expat_compat.h @@ -38,6 +38,9 @@ #include <libxml/tree.h> #include <libxml/hash.h> +/* For compatibility with the misspelled version. */ +#define _ns_seperator _ns_separator + typedef xmlChar XML_Char; typedef void (*XML_StartElementHandler)(void *, const XML_Char *, const XML_Char **); @@ -61,7 +64,7 @@ typedef struct _XML_Memory_Handling_Suite { typedef struct _XML_Parser { int use_namespace; - xmlChar *_ns_seperator; + xmlChar *_ns_separator; void *user; xmlParserCtxtPtr parser; |