Skip to content
Snippets Groups Projects
Commit f04adefa authored by Raphaël Rieu-Helft's avatar Raphaël Rieu-Helft
Browse files

Avoid a deprecation warning

parent 96aa53b8
No related branches found
No related tags found
No related merge requests found
......@@ -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 = Strings.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
Strings.lowercase r
let file_gen = name_gen ".c"
let header_gen = name_gen ".h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment