mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
Revert "Several bug fixes and enhancements on ZenScripts"
This commit is contained in:
1 parent
ad9c98a838
commit
89f22013f1
8 files changed
+8
-24
No files matched your search
@@ -21,10 +21,6 @@ public class NFA {
|
||||
public static final int NOFINAL = Integer.MIN_VALUE;
|
||||
public static final int EPSILON = Integer.MIN_VALUE + 1;
|
||||
|
||||
/* UNICODE_ESCAPE should be between 128 and 256, so unicode chars can be
|
||||
matched by regexp like '.' and '[^a]' and not by '[a-zA-Z]' */
|
||||
public static final int UNICODE_ESCAPE = 256;
|
||||
|
||||
private final NFAState initial;
|
||||
|
||||
private HashMap<NodeSet, DFA.DFAState> converted;
|
||||
@@ -322,8 +318,6 @@ public class NFA {
|
||||
/* Processes a single character */
|
||||
private int processChar(CharStream stream) {
|
||||
if (stream.optional('\\')) {
|
||||
if (stream.optional('u'))
|
||||
return UNICODE_ESCAPE;
|
||||
if (stream.optional('e'))
|
||||
return -1;
|
||||
if (stream.optional('r'))
|
||||
|
||||
Reference in new issue
Block a user