There should be a %scanner-name directive which would modify the Scanner d_scanner; declaration in the parser.h file.
This would reduce the amount of postprocessing required on the user's part.