From a7bb3d4d983b1cd2e1d529d8bec909dd7e313c94 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 1 Jul 2008 08:21:44 +0000 Subject: * 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 --- regparse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regparse.h') 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; -- cgit