diff options
author | ksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-27 16:37:56 +0000 |
---|---|---|
committer | ksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-27 16:37:56 +0000 |
commit | ce4078d5bdbcafc6b5f4b72292cab6bad1c4f6a0 (patch) | |
tree | 7aac7b6f7c1edce6022f7d9bf9ba95897c8527fd | |
parent | 803279135ce8585f31047a9b39200057622f935d (diff) |
* oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | oniguruma.h | 6 | ||||
-rw-r--r-- | regparse.c | 1 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Wed Apr 28 01:26:11 2004 Kazuo Saito <[email protected]> + + * oniguruma.h, regparse.c: imported Oni Guruma 2.2.8. + Wed Apr 28 01:16:23 2004 Kazuo Saito <[email protected]> * oniguruma.h, regparse.c: imported Oni Guruma 2.2.7. diff --git a/oniguruma.h b/oniguruma.h index 3170432769..3fd9f4c395 100644 --- a/oniguruma.h +++ b/oniguruma.h @@ -11,7 +11,7 @@ #define ONIGURUMA #define ONIGURUMA_VERSION_MAJOR 2 #define ONIGURUMA_VERSION_MINOR 2 -#define ONIGURUMA_VERSION_TEENY 7 +#define ONIGURUMA_VERSION_TEENY 8 #ifndef P_ #if defined(__STDC__) || defined(_WIN32) @@ -716,6 +716,10 @@ void onig_set_syntax_options P_((OnigSyntaxType* syntax, OnigOptionType options) ONIG_EXTERN int onig_set_meta_char P_((unsigned int what, OnigCodePoint code)); ONIG_EXTERN +unsigned int onig_get_match_stack_limit_size P_((void)); +ONIG_EXTERN +int onig_set_match_stack_limit_size P_((unsigned int size)); +ONIG_EXTERN int onig_end P_((void)); ONIG_EXTERN const char* onig_version P_((void)); diff --git a/regparse.c b/regparse.c index e34b37d6d9..632e15c30a 100644 --- a/regparse.c +++ b/regparse.c @@ -4112,7 +4112,6 @@ set_qualifier(Node* qnode, Node* target, int group, ScanEnv* env) #ifdef USE_WARNING_REDUNDANT_NESTED_REPEAT_OPERATOR if (qn->by_number == 0 && qnt->by_number == 0 && IS_SYNTAX_BV(env->syntax, ONIG_SYN_WARN_REDUNDANT_NESTED_REPEAT)) { - int nestq_num, targetq_num; char buf[WARN_BUFSIZE]; |