Rob Shearman : widl: Write the local stubs file based on the parsed list of statements, rather than using hooks in the parser code.