diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-01 09:42:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-01 09:42:38 +0000 |
commit | 817a62de81d75c73cceb453301ef27b094f17c14 (patch) | |
tree | 65e06d76c544a8d80296d686bf88ec3af41fdc50 /regex.c | |
parent | 5cffff58445b5aec50bd4abe2198bf84b8dd68c4 (diff) | |
download | ruby-817a62de81d75c73cceb453301ef27b094f17c14.tar.gz ruby-817a62de81d75c73cceb453301ef27b094f17c14.tar.xz ruby-817a62de81d75c73cceb453301ef27b094f17c14.zip |
2000-05-01
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -70,7 +70,7 @@ void *xrealloc _((void*,size_t)); void free _((void*)); #endif -#define NO_ALLOCA */ /* try it out for now */ +#define NO_ALLOCA /* /* try it out for now */ #ifndef NO_ALLOCA /* Make alloca work the best possible way. */ #ifdef __GNUC__ @@ -162,7 +162,7 @@ static char re_syntax_table[256]; static void init_syntax_once _((void)); static const unsigned char *translate = 0; static void init_regs _((struct re_registers*, unsigned int)); -static void bm_init_skip _((int *, unsigned char*, int, const char*)); +static void bm_init_skip _((int *, unsigned char*, int, const unsigned char*)); static int current_mbctype = MBCTYPE_ASCII; #undef P @@ -2618,7 +2618,7 @@ bm_init_skip(skip, pat, m, translate) int *skip; unsigned char *pat; int m; - const char *translate; + const unsigned char *translate; { int j, c; |