aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Commandline.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2016-09-20 16:17:27 +0200
committerGitHub <noreply@github.com>2016-09-20 16:17:27 +0200
commitd857db508c318887463dde2039c9bfe99cdeebfa (patch)
tree8cf1d98876f4c72e624892103917be5286c95c17 /driver/Commandline.mli
parent99554c986d023d00192eb3d1fbfe1c0cc138596e (diff)
parent20f226ce463221032238895264c73d2207bf31d8 (diff)
downloadcompcert-d857db508c318887463dde2039c9bfe99cdeebfa.tar.gz
compcert-d857db508c318887463dde2039c9bfe99cdeebfa.zip
Merge pull request #139 from AbsInt/advanced-diagnostics
Advanced diagnostics
Diffstat (limited to 'driver/Commandline.mli')
-rw-r--r--driver/Commandline.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/Commandline.mli b/driver/Commandline.mli
index 79786678..5f9d8704 100644
--- a/driver/Commandline.mli
+++ b/driver/Commandline.mli
@@ -33,6 +33,8 @@ type action =
| Self of (string -> unit) (** call the function with the matched string *)
| String of (string -> unit) (** read next arg as a string, call function *)
| Integer of (int -> unit) (** read next arg as an int, call function *)
+ | Ignore (** ignore the arg *)
+ | Unit of (unit -> unit) (** call the function with unit as argument *)
val parse_cmdline: (pattern * action) list -> unit