ruby-changes:5300
From: mame <ko1@a...>
Date: Tue, 3 Jun 2008 23:08:13 +0900 (JST)
Subject: [ruby-changes:5300] Ruby:r16799 (trunk): * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
mame 2008-06-03 23:07:50 +0900 (Tue, 03 Jun 2008)
New Revision: 16799
Modified files:
trunk/ChangeLog
trunk/ext/strscan/strscan.c
Log:
* ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
document.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16799&r2=16798&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/strscan/strscan.c?r1=16799&r2=16798&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16798)
+++ ChangeLog (revision 16799)
@@ -1,3 +1,8 @@
+Tue Jun 3 23:06:35 2008 Yusuke Endoh <mame@t...>
+
+ * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
+ document.
+
Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@t...>
* ext/strscan/strscan.c (strscan_exist_p): fix document.
Index: ext/strscan/strscan.c
===================================================================
--- ext/strscan/strscan.c (revision 16798)
+++ ext/strscan/strscan.c (revision 16799)
@@ -530,11 +530,11 @@
}
/*
- * call-seq: scan_full(pattern, return_string_p, advance_pointer_p)
+ * call-seq: scan_full(pattern, advance_pointer_p, return_string_p)
*
* Tests whether the given +pattern+ is matched from the current scan pointer.
+ * Advances the scan pointer if +advance_pointer_p+ is true.
* Returns the matched string if +return_string_p+ is true.
- * Advances the scan pointer if +advance_pointer_p+ is true.
* The match register is affected.
*
* "full" means "#scan with full parameters".
@@ -624,12 +624,12 @@
}
/*
- * call-seq: search_full(pattern, return_string_p, advance_pointer_p)
+ * call-seq: search_full(pattern, advance_pointer_p, return_string_p)
*
* Scans the string _until_ the +pattern+ is matched.
+ * Advances the scan pointer if +advance_pointer_p+, otherwise not.
* Returns the matched string if +return_string_p+ is true, otherwise
* returns the number of bytes advanced.
- * Advances the scan pointer if +advance_pointer_p+, otherwise not.
* This method does affect the match register.
*/
static VALUE
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/