summaryrefslogtreecommitdiffstats
path: root/lib/scanf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (block_param): restrict block parameters to be localmatz2006-10-031-1/+2
| | | | | | | | | | variables only. * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator): update test suite to conform the last change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matchednobu2005-10-081-2/+2
| | | | | | | | | | | | | | substring directly. * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed change of sample/test.rb. * test/net/http/test_http.rb: removed superfluous splatting stars. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refixed the previous fix in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed a logic glitch in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * soak_up_spaces only ungetc's non-space last characterdblack2004-03-021-3/+7
| | | | | | | | * IO#block_scanf now returns partial last iteration array if format string matches partly git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed Kernel#scanf to propagate code blockdblack2004-03-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Partial fix so STDIN#scanf works with new STDIN#pos behaviordblack2004-03-011-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Took out useless @matched_item variable; some small refactoring.dblack2003-09-111-18/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial commit of scanf.rb.dblack2003-07-191-0/+697
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e