package frama-c

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file register.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(**************************************************************************)
(*                                                                        *)
(*  SPDX-License-Identifier LGPL-2.1                                      *)
(*  Copyright (C)                                                         *)
(*  CEA (Commissariat à l'énergie atomique et aux énergies alternatives)  *)
(*                                                                        *)
(**************************************************************************)

let main () =
  if not (Options.Filename.is_empty ()) then
    if Options.Services.get () then begin
      if not (Services.is_computed ()) then Services.dump ()
    end else
    if not (Cg.is_computed ()) then Cg.dump ()

let () = Boot.Main.extend main