From 86ec559f913c389e8dc055b494630f21a45e039b Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 4 Feb 2021 21:14:01 +0100 Subject: css_merge application --- css/lib/location.ml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 css/lib/location.ml (limited to 'css/lib/location.ml') diff --git a/css/lib/location.ml b/css/lib/location.ml new file mode 100755 index 0000000..23e9c49 --- /dev/null +++ b/css/lib/location.ml @@ -0,0 +1,19 @@ +type t = { + + loc_start : Lexing.position; + loc_end : Lexing.position; + loc_ghost : bool; +} + +let none = + { loc_start = Lexing.dummy_pos + ; loc_end = Lexing.dummy_pos + ; loc_ghost = true + } + +let register_error_of_exn _ = () + +let error ~loc ?(sub=[]) _ = + let _ = loc + and _ = sub in + () -- cgit v1.2.3