Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
why3
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
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
Nils Fitinghoff
why3
Commits
f04adefa
Commit
f04adefa
authored
7 years ago
by
Raphaël Rieu-Helft
Browse files
Options
Downloads
Patches
Plain Diff
Avoid a deprecation warning
parent
96aa53b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mlw/cprinter.ml
+2
-2
2 additions, 2 deletions
src/mlw/cprinter.ml
with
2 additions
and
2 deletions
src/mlw/cprinter.ml
+
2
−
2
View file @
f04adefa
...
...
@@ -388,7 +388,7 @@ module Print = struct
let
()
=
assert
(
List
.
length
c_keywords
=
32
)
let
sanitizer
=
sanitizer
char_to_lalpha
char_to_alnumus
let
sanitizer
s
=
String
.
lowercase
(
sanitizer
s
)
let
sanitizer
s
=
String
s
.
lowercase
(
sanitizer
s
)
let
printer
=
create_ident_printer
c_keywords
~
sanitizer
let
print_ident
fmt
id
=
fprintf
fmt
"%s"
(
id_unique
printer
id
)
...
...
@@ -1153,7 +1153,7 @@ let name_gen suffix ?fname m =
let
r
=
match
fname
with
|
None
->
n
^
suffix
|
Some
f
->
f
^
"__"
^
n
^
suffix
in
String
.
lowercase
r
String
s
.
lowercase
r
let
file_gen
=
name_gen
".c"
let
header_gen
=
name_gen
".h"
...
...
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