From: Yukihiro Matsumoto Date: 2005-05-13T00:44:06+09:00 Subject: Re: Encoding Pragma Hi, In message "Re: Encoding Pragma" on Fri, 13 May 2005 00:35:55 +0900, nobu.nokada@softhome.net writes: |I'm wondering how "at the top" can be detect. ruby_sourceline |is defined differently between parse.y and ripper. Aoki-san will take care of ripper. ;-) Ripper may work with parser->parser_ruby_sourceline. matz.