summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-07-28 09:26:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-07-28 09:26:53 +0000
commit16adedaa6d6ceb8e3f21e33dc6653aed3ffa6932 (patch)
treed1c104d8b5e197b22830a2c37f84327de76586b3 /regex.c
parent7dcd244615f172994ca4af37108af7ff744d0998 (diff)
990728
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex.c b/regex.c
index 97849a1..d4eea4c 100644
--- a/regex.c
+++ b/regex.c
@@ -2225,7 +2225,7 @@ re_compile_pattern(pattern, size, bufp)
}
else if (*laststart == charset || *laststart == charset_not) {
p0 = laststart;
- mcnt = *++p0 ;
+ mcnt = *++p0;
p0 += mcnt+1;
mcnt = EXTRACT_UNSIGNED_AND_INCR(p0);
p0 += 8*mcnt;
@@ -4095,7 +4095,7 @@ re_match(bufp, string_arg, size, pos, regs)
}
break;
default:
- /* do nothing */ ;
+ /* do nothing */;
}
}
}