aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Responsefile.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-16 10:35:17 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-16 10:35:17 +0200
commit5309f16159e4decd81330622dcdd6eb4b25819a1 (patch)
treeb40df6edcd7826e7d83885253508ccf49377479d /lib/Responsefile.mli
parenteb2844b87fa0e176bd65466d7ab7d16666344406 (diff)
downloadcompcert-kvx-5309f16159e4decd81330622dcdd6eb4b25819a1.tar.gz
compcert-kvx-5309f16159e4decd81330622dcdd6eb4b25819a1.zip
Moved quoting functions in Responsefile
Also corrected some typos and corrected exception handling for expandargv. Bug 18308
Diffstat (limited to 'lib/Responsefile.mli')
-rw-r--r--lib/Responsefile.mli11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Responsefile.mli b/lib/Responsefile.mli
index ec82c32e..ada5a15d 100644
--- a/lib/Responsefile.mli
+++ b/lib/Responsefile.mli
@@ -18,3 +18,14 @@
val expandargv: string array -> string array
(** Expand responsefile arguments contained in the array and return the full
set of arguments. *)
+
+exception Error of string
+ (** Raised by [expandargv] in case of an error *)
+
+val gnu_quote : string -> string
+ (** [gnu_quote arg] returns [arg] quoted compatible with the gnu tool chain
+ quoting conventions. *)
+
+val diab_quote : string -> string
+ (** [diab_quote arg] returns [arg] quoted compatible with the diab tool chain
+ quoting conventions. *)