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
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
125
Issues
125
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
07d0e20d
Commit
07d0e20d
authored
Jun 15, 2018
by
Raphael Rieu-Helft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use deprecated lowercase function for compatibility
parent
826a4637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/mlw/cprinter.ml
src/mlw/cprinter.ml
+2
-2
No files found.
src/mlw/cprinter.ml
View file @
07d0e20d
...
...
@@ -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
_ascii
(
sanitizer
s
)
let
sanitizer
s
=
String
.
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
_ascii
r
String
.
lowercase
r
let
file_gen
=
name_gen
".c"
let
header_gen
=
name_gen
".h"
...
...
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