-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ #324 ] ocamllex does not accept unicode char literals
It seems that in ocaml a char is 8bit, and unicode characters are their UTF-8 encoded strings. This means we cannot represent unicode character sets in the ocamllex lexer definition. We can use string literals in some circumstances. For that reason, RAlts is now translated to a disjunction of char or string literals (the latter for unicode chars) rather than to a @[charset]@.
- Loading branch information
1 parent
046fd09
commit 7179129
Showing
1 changed file
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters