From b790678398beff2669ec8a91e25d8e5ce6390659 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 22 Feb 2012 02:03:56 +0000 Subject: [PATCH] * regparse.c (fetch_token): don't use // comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ regparse.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cfc360d5a9..6d89471940 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 22 10:57:08 2012 NARUSE, Yui + + * regparse.c (fetch_token): don't use // comment. + Wed Feb 22 10:32:11 2012 Nobuyoshi Nakada * test/mkmf/test_framework.rb: try CoreFoundation framework, than diff --git a/regparse.c b/regparse.c index 065e5b214b..183d1fffdf 100644 --- a/regparse.c +++ b/regparse.c @@ -3682,7 +3682,7 @@ fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) cnext = PPEEK; if (cnext == '0') { PINC; - if (PPEEK_IS(get_name_end_code_point(c))) { // \g<0>, \g'0' + if (PPEEK_IS(get_name_end_code_point(c))) { /* \g<0>, \g'0' */ PINC; name_end = p; gnum = 0;