summaryrefslogtreecommitdiff
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
commit4f572663c8ef0dd4274bf935e3385c454e0ddaf5 (patch)
tree9cb8d2dad6a01ce4a7aa1c46cdc772d0015fb72c /regparse.h
parent6f88631baa65b121c9f580db18d26162b1f65ff6 (diff)
downloadruby-4f572663c8ef0dd4274bf935e3385c454e0ddaf5.tar.gz
* 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: svn+ssh://ci.ruby-lang.org/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 26ebb117e4..cd653f5a8e 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;