package acgtk
Module Errors.Lexing_lSource
This module contains the type for lexing errors in scripts.
Source
type t = | Unclosed of string(*
*)Unclosed cis for opened but unclosed delimiter charc(for example, quotes).| UnterminatedComment(*
*)UnterminatedCommentis a special case ofUnclosedfor comments.| UnstartedComment(*
*)UnstartedCommentis raised when the comment closing token appear before the opening one.| BadChar of string(*
*)BadChar cis raised when a charccan't appear in any lexical tokens.| Malformed(*
*)Malformedif raised when an invalid UTF-8 sequence is encountered in the input.