From: why the lucky stiff Date: 2003-06-13T04:43:49+09:00 Subject: Re: src/yaml.y.rb:210: warning: ambiguous first argument; make sure On Thursday 12 June 2003 01:23 pm, ahoward wrote: > any one get this error when running with '-w'? > > took a peek in the file - but there are some bizarre goings on in there: > > module_eval <<'.,.,', 'src/yaml.y.rb', 81 > You are looking at code generated by Racc. I would upgrade to a newer version of YAML.rb. YAML.rb previous to 0.60 is being deprecated. > looks like some heredocs and... what? can anyone explain this syntax - > looks like C preprocessor stuff? Very similiar. These statements alter __FILE__ and __LINE__. If you look in the YAML.rb distribution, you'll find src/yaml.y.rb and src/emitter.rb. These two files are cobbled into yaml.rb when you install. _why