[LLVMdev] Oddity in StackerParser.y.

Ralph Corderoy ralph at inputplus.co.uk
Thu Apr 20 09:07:48 PDT 2006


Hi,

    $ g -1 '^Module' StackerParser.y
    /* A module is just a DefinitionList */
    Module    :                 { SCI->handle_module_start( ); }
              DefinitionList    { $$ = SCI->handle_module_end( $2 ); } ;
    $

It's been years since I was heavily into yacc, but shouldn't it be
s/$2/$1/?

Cheers,


Ralph.





More information about the llvm-dev mailing list