aboutsummaryrefslogtreecommitdiff
path: root/lib/lexer.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lexer.mli')
-rw-r--r--lib/lexer.mli10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/lexer.mli b/lib/lexer.mli
index 0a8ec12..65e9fa0 100644
--- a/lib/lexer.mli
+++ b/lib/lexer.mli
@@ -4,11 +4,5 @@ end
exception EOF
-val lexer :
- (module Encoding) ->
- Sedlexing.lexbuf ->
- unit ->
- Tokens.token * Lexing.position * Lexing.position
-(** Apply the lexer to the source *)
-
-val discard : Sedlexing.lexbuf -> unit
+val token : Lexbuf.t -> Tokens.token
+val discard : Lexbuf.t -> unit