diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-05-31 11:55:57 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-05-31 12:00:37 +0200 |
commit | 8b0724fdb1af4f89a603f7bde4b5b625c870e111 (patch) | |
tree | 728c79a8ed3f2d99a24d181f712665f3a80fbd23 /driver | |
parent | e10555313645cf3c35f244f42afa5a03fba2bac1 (diff) | |
download | compcert-8b0724fdb1af4f89a603f7bde4b5b625c870e111.tar.gz compcert-8b0724fdb1af4f89a603f7bde4b5b625c870e111.zip |
Fix misspellings in messages, man pages, and comments
This is a manual, partial merge of Github pull request #296 by @Fourchaux.
flocq/, cparser/MenhirLib/ and parts of test/ have not been changed
because these are local copies and the fixes should be performed upstream.
Diffstat (limited to 'driver')
-rw-r--r-- | driver/Commandline.mli | 2 | ||||
-rw-r--r-- | driver/Frontend.ml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/driver/Commandline.mli b/driver/Commandline.mli index 0f903af4..8bb6f18f 100644 --- a/driver/Commandline.mli +++ b/driver/Commandline.mli @@ -39,7 +39,7 @@ type action = patterns are tried in the order in which they appear in the list. *) exception CmdError of string -(** Raise by [parse_cmdline] when an error occured *) +(** Raise by [parse_cmdline] when an error occurred *) val parse_cmdline: (pattern * action) list -> unit (** [parse_cmdline actions] parses the command line (after @-file expansion) diff --git a/driver/Frontend.ml b/driver/Frontend.ml index 929d9fd7..36b5c354 100644 --- a/driver/Frontend.ml +++ b/driver/Frontend.ml @@ -131,7 +131,7 @@ let gnu_prepro_opt_key key s = let gnu_prepro_opt s = prepro_options := s::!prepro_options -(* Add gnu preprocessor option s and the implict -E *) +(* Add gnu preprocessor option s and the implicit -E *) let gnu_prepro_opt_e s = prepro_options := s :: !prepro_options; option_E := true @@ -171,7 +171,7 @@ let prepro_actions = [ @ (if Configuration.gnu_toolchain then gnu_prepro_actions else []) let gnu_prepro_help = -{| -M Ouput a rule suitable for make describing the +{| -M Output a rule suitable for make describing the dependencies of the main source file -MM Like -M but do not mention system header files -MF <file> Specifies file <file> as output file for -M or -MM |