Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
e1359d97
Commit
e1359d97
authored
2 years ago
by
Patrick Baudin
Browse files
Options
Downloads
Patches
Plain Diff
[Ptests] 'STDOPT: options' defaults to 'STDOPT: +"options"'
parent
a18e6600
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ptests/ptests.ml
+2
-5
2 additions, 5 deletions
ptests/ptests.ml
with
2 additions
and
5 deletions
ptests/ptests.ml
+
2
−
5
View file @
e1359d97
...
...
@@ -765,7 +765,7 @@ end = struct
let
make_custom_opts
=
let
space
=
Str
.
regexp
" "
in
fun
~
file
~
dir
stdopts
s
->
fun
~
file
:_
~
dir
:_
stdopts
s
->
let
rec
aux
opts
s
=
try
Scanf
.
sscanf
s
"%_[ ]%1[+#
\\
-]%_[ ]%S%_[ ]%s@
\n
"
...
...
@@ -777,10 +777,7 @@ end = struct
|
_
->
assert
false
(* format of scanned string disallow it *)
)
with
|
Scanf
.
Scan_failure
_
->
if
s
<>
""
then
Format
.
eprintf
"%a: unknown STDOPT configuration string: %s@."
(
SubDir
.
pp_file
~
dir
)
file
s
;
opts
if
s
<>
""
then
s
::
opts
else
opts
|
End_of_file
->
opts
in
(* NB: current settings does not allow to remove a multiple-argument
...
...
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