summaryrefslogtreecommitdiff
path: root/ext/mbstring/oniguruma/regex.c
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2004-02-28 20:45:27 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2004-02-28 20:45:27 +0000
commit11b0f469f00bf2b80d453dbff1aa274db5dfb500 (patch)
treefbc96b4e6eb411882b08562a437affe28e07a741 /ext/mbstring/oniguruma/regex.c
parentdc03dbc699eced5eb067662447f8007df5562255 (diff)
downloadphp-git-11b0f469f00bf2b80d453dbff1aa274db5dfb500.tar.gz
- Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
. Supports various encodings such as BIG5, GB2312 and ISO-8859-* . Fixes bug #26677 (mbstring compile errors with IRIX) . Many thanks to K.Kosako. - Remove redundant files that are not relevant to the build.
Diffstat (limited to 'ext/mbstring/oniguruma/regex.c')
-rw-r--r--ext/mbstring/oniguruma/regex.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/mbstring/oniguruma/regex.c b/ext/mbstring/oniguruma/regex.c
index 0c4a43be9e..764b3963d9 100644
--- a/ext/mbstring/oniguruma/regex.c
+++ b/ext/mbstring/oniguruma/regex.c
@@ -2,15 +2,27 @@
regex.c - Oniguruma (regular expression library)
- Copyright (C) 2002-2003 K.Kosako (kosako@sofnec.co.jp)
+ Copyright (C) 2002-2004 K.Kosako (kosako@sofnec.co.jp)
**********************************************************************/
/*
* Source wrapper for Ruby.
*/
+#define ONIG_SOURCE_IS_WRAPPED
+
+#include "regint.h"
+#include "regex.h"
#include "regparse.c"
#include "regcomp.c"
#include "regexec.c"
+#include "regenc.c"
#include "reggnu.c"
#include "regerror.c"
+
+#ifndef ONIG_RUBY_M17N
+#include "enc/ascii.c"
+#include "enc/utf8.c"
+#include "enc/euc_jp.c"
+#include "enc/sjis.c"
+#endif