From: Joel VanderWerf Date: 2003-06-13T04:45:46+09:00 Subject: Re: src/yaml.y.rb:210: warning: ambiguous first argument; make sure 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 > def _reduce_27( val, _values, result ) > result = new_node( 'seq', val[1] ) > result > end > ..,., > > looks like some heredocs and... what? can anyone explain this syntax - looks > like C preprocessor stuff? As it happens, I was just looking at something like that in a racc-generated parser class. The 'src/yaml.y.rb', 81 are extra information about the file and line from which racc generated this bit of code. It's used in error reporting. The '.,.,' is just a creative version of 'END', AFAICT. But it looks like your file has an extra '.' at the beginning of the last line. Did racc put that there?