summaryrefslogtreecommitdiff
path: root/src/util.mli
blob: f51adb1e34992b127b8b2c9aec6e500fb418203e (plain)
1
2
3
4
5
6
7
8
9
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