summaryrefslogtreecommitdiff
path: root/src/util.mli
blob: f9bfba6bcbadd48c98216145faec0beb6418c932 (plain)
1
2
3
4
5
6
7
8
9
10
11
exception Syntax_error of ((int * int) option * string)

val get_lexing_position : Lexing.lexbuf -> int * int

val escape_string : string -> string

val default : 'a -> 'a option -> 'a

val lexical_numeric_compare : string -> string -> int

val absolute_path : FilePath.filename -> FilePath.filename