Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
menhir
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
menhir
Commits
e855be74
Commit
e855be74
authored
Dec 30, 2015
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --suggest-ocamlfind.
parent
6265bd88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/settings.ml
src/settings.ml
+6
-0
No files found.
src/settings.ml
View file @
e855be74
...
...
@@ -158,6 +158,7 @@ type suggestion =
|
SuggestCompFlags
|
SuggestLinkFlags
of
string
(* "cmo" or "cmx" *)
|
SuggestWhereIsMenhirLibSource
|
SuggestUseOcamlfind
let
suggestion
=
ref
SuggestNothing
...
...
@@ -251,6 +252,8 @@ let options = Arg.align [
" Suggest link flags for ocamlopt"
;
"--suggest-menhirLib"
,
Arg
.
Unit
(
fun
()
->
suggestion
:=
SuggestWhereIsMenhirLibSource
)
,
" Suggest where is MenhirLib"
;
"--suggest-ocamlfind"
,
Arg
.
Unit
(
fun
()
->
suggestion
:=
SuggestUseOcamlfind
)
,
" Show whether Menhir was installed using ocamlfind"
;
"--table"
,
Arg
.
Set
table
,
" Use the table-based back-end"
;
"--timings"
,
Arg
.
Set
timings
,
" Display internal timings"
;
"--trace"
,
Arg
.
Set
trace
,
" Include tracing instructions in the generated code"
;
...
...
@@ -322,6 +325,9 @@ let () =
else
printf
"%s
\n
%!"
Installation
.
libdir
;
exit
0
|
SuggestUseOcamlfind
->
printf
"%b
\n
"
Installation
.
ocamlfind
;
exit
0
(* ------------------------------------------------------------------------- *)
(* Export the settings. *)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment