From: moontoeki@... (Sung Moon) Date: 2002-02-01T16:54:36+09:00 Subject: Re: RDoc error(?) with template file >From: Dave Thomas Dave@PragmaticProgrammer.com >Date: 02-01-31 11:38 神板 掻採 妊層獣 >moontoeki@aol.com (Sung Moon) writes: > >> >> When I tried to get doc from RDoc-alpha-9, it stuck at the template >> >> file: kilmer.rb and standard.rb. > >> It happened on my windows 98 with cygwin, ruby 1.6.6 system. > >Hmm. I can't reproduce this. Has anyone else seem something similar? > >Dave This is my analysis: ---------------------------------------------------- parse.rb:494:in `gets': ==> in this routine, local variable "l" returns a line with \r in WINDOWS parse.rb:1087:in `identify_here_document' str = "" while (l = gets.chomp) && (indent ? l.strip : l) != quoted str << l << "\n" end ==> in above routine "l" has a \r, but quoted does not. i.e. l = _FILE_PAGE_\r quoted = _FILE_PAGE_ from kilmer.rb FILE_PAGE = <<_FILE_PAGE_ --- _FILE_PAGE_ so it can't get out of while loop it happens in windows system cheers, sungjin moon ------------------------------------------------------------------------- Are you a member of Philanthropic peer-to-peer Program? You can use your IDLE computing time for medical research like Anthrax, Cancer, Alzheimer Disease. More info at http://www.intel.com/cure/download.htm