Pass generateCode flag to parser.