summaryrefslogtreecommitdiffstats
path: root/regparse.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:21:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:21:44 +0000
commita7bb3d4d983b1cd2e1d529d8bec909dd7e313c94 (patch)
tree9cb8d2dad6a01ce4a7aa1c46cdc772d0015fb72c /regparse.h
parent442211a6239c3801c3dcf9a904a156f93ffaf166 (diff)
downloadruby-a7bb3d4d983b1cd2e1d529d8bec909dd7e313c94.tar.gz
ruby-a7bb3d4d983b1cd2e1d529d8bec909dd7e313c94.tar.xz
ruby-a7bb3d4d983b1cd2e1d529d8bec909dd7e313c94.zip
* regexec.c (stack_double): use MatchStackLimitSize atomically.
* regparse.c (onig_free_shared_cclass_table): OnigTypeCClassTable needs atomicity * regsyntax.c: constified all predefined OnigSyntaxTypes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.h')
-rw-r--r--regparse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regparse.h b/regparse.h
index 26ebb117e..cd653f5a8 100644
--- a/regparse.h
+++ b/regparse.h
@@ -279,7 +279,7 @@ typedef struct {
OnigOptionType option;
OnigCaseFoldType case_fold_flag;
OnigEncoding enc;
- OnigSyntaxType* syntax;
+ const OnigSyntaxType* syntax;
BitStatusType capture_history;
BitStatusType bt_mem_start;
BitStatusType bt_mem_end;