Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
90b68214
Commit
90b68214
authored
Oct 20, 2015
by
POTTIER Francois
Browse files
Forgot to exit 0.
parent
29bd0ce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/interpret.ml
View file @
90b68214
...
@@ -741,6 +741,11 @@ let () =
...
@@ -741,6 +741,11 @@ let () =
(* If [--echo-errors <filename>] is set, echo the error sentences found in file
(* If [--echo-errors <filename>] is set, echo the error sentences found in file
[filename]. Do not echo the error messages or the comments. *)
[filename]. Do not echo the error messages or the comments. *)
(* In principle, we should able to run this command without even giving an .mly
file name on the command line, and without building the automaton. This is
not possible at the moment, because our code is organized in too rigid a
manner. *)
let
()
=
let
()
=
Settings
.
echo_errors
|>
Option
.
iter
(
fun
filename
->
Settings
.
echo_errors
|>
Option
.
iter
(
fun
filename
->
...
@@ -753,7 +758,8 @@ let () =
...
@@ -753,7 +758,8 @@ let () =
List
.
iter
(
or_comment_iter
(
fun
(
_
,
sentence
)
->
List
.
iter
(
or_comment_iter
(
fun
(
_
,
sentence
)
->
print_string
(
print_sentence
sentence
)
print_string
(
print_sentence
sentence
)
))
sentences
))
sentences
))
runs
))
runs
;
exit
0
)
)
Write
Preview
Supports
Markdown
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