Skip to content

Commit

Permalink
chore: move deprecated alias to [Core]
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrinberg committed Aug 30, 2024
1 parent aa8860e commit 0b57fdd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion lib/compile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ type re =
}

let pp_re ch re = Automata.pp ch re.initial
let print_re = pp_re
let group_count re = re.group_count
let group_names re = re.group_names

Expand Down
3 changes: 0 additions & 3 deletions lib/compile.mli
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ val match_str
val compile : Ast.t -> re
val group_count : re -> int
val group_names : re -> (string * int) list

(* CR-someday rgrinberg: deprecate one of these *)
val print_re : re Fmt.t
val pp_re : re Fmt.t
2 changes: 1 addition & 1 deletion lib/core.ml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ include struct

let compile = compile
let pp_re = pp_re
let print_re = print_re
let print_re = pp_re
let group_names = group_names
let group_count = group_count
end
Expand Down

0 comments on commit 0b57fdd

Please sign in to comment.