search for: handle_module_start

Displaying 2 results from an estimated 2 matches for "handle_module_start".

2006 Apr 20
3
[LLVMdev] Oddity in StackerParser.y.
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.
2006 Apr 20
0
[LLVMdev] Oddity in StackerParser.y.
...block before DefinitionList is counted (or more precisely, the empty sequence of terminals preceding it is counted). Ralph Corderoy wrote: >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. > > >_______________________________________________ >L...