jflex-1.7.0-SNAPSHOT.jar: morph ZZ_CMAP to multi-level table

This commit is contained in:
Gregory.Shrago
2016-05-27 18:38:57 +03:00
parent a6f2025359
commit c1fdf11ac0
4 changed files with 3 additions and 3 deletions
@@ -205,7 +205,6 @@
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
--- local declarations
+3 -1
View File
@@ -8,4 +8,6 @@ https://github.com/jflex-de/jflex/tree/de2312d6891de7fdf2752ad8e0a45983202ad5e0
"Return exit code 0 for --{help,version,info}" committed on Feb 29 by lsf37
1. Emitter.java: zzBufferL is treated as CharSequence instead of char[]
2. Emitter.java: try using reduced ZZ_CMAP if maxCodePoint is greater than 0xffff
2. Emitter.java: reworked ZZ_CMAP to an optimized multi-level table (see java.lang.CharacterDataXX)
For this purpose EmitterCM.java is introduced to resemble a variant of
generatecharacter/GenerateCharacter.java from http://hg.openjdk.java.net tailored to our needs.
-1
View File
@@ -201,7 +201,6 @@
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
--- local declarations
Binary file not shown.