Skip to content

Commit

Permalink
Lexer: merge utf8 support and reduce distance with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Dec 12, 2024
1 parent 41ee322 commit d21481f
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 136 deletions.
6 changes: 6 additions & 0 deletions src/ocaml/preprocess/lexer_raw.mli
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ type error =
| Unterminated_string_in_comment of Location.t * Location.t
| Empty_character_literal
| Keyword_as_label of string
| Capitalized_label of string
| Invalid_literal of string
| Invalid_directive of string * string option
| Invalid_encoding of string
| Invalid_char_in_ident of Uchar.t
| Non_lowercase_delimiter of string
| Capitalized_raw_identifier of string
| Unknown_keyword of string
exception Error of error * Location.t

Expand Down
Loading

0 comments on commit d21481f

Please sign in to comment.