Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
sasa
Commits
4bfd4559
Commit
4bfd4559
authored
5 years ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
Fix: take into account the #q RIF pragma
parent
5ca18d04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/sasacore/rifRead.ml
+3
-2
3 additions, 2 deletions
lib/sasacore/rifRead.ml
with
3 additions
and
2 deletions
lib/sasacore/rifRead.ml
+
3
−
2
View file @
4bfd4559
(* Time-stamp: <modified the
13
/03/2019 (at 1
7:54
) by Erwan Jahier> *)
(* Time-stamp: <modified the
28
/03/2019 (at 1
5:31
) by Erwan Jahier> *)
(* xxx use RifIO.read instead ! *)
(* xxx use RifIO.read instead ! *)
let
bool
verbose_mode
p
a
=
let
bool
verbose_mode
p
a
=
...
@@ -18,7 +18,8 @@ let bool verbose_mode p a =
...
@@ -18,7 +18,8 @@ let bool verbose_mode p a =
aux
(
input_char
stdin
)
aux
(
input_char
stdin
)
and
skip_comment
()
=
and
skip_comment
()
=
match
input_char
stdin
with
match
input_char
stdin
with
|
'\n'
->
aux
(
input_char
stdin
)
|
'\n'
->
aux
(
input_char
stdin
)
|
'
q'
->
Printf
.
eprintf
"bye
\n
"
;
flush
stderr
;
exit
0
|
_
->
skip_comment
()
|
_
->
skip_comment
()
in
in
let
res
=
aux
x
in
let
res
=
aux
x
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment