mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-16 01:54:40 +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
@@ -212,17 +212,12 @@ public class TokenStream implements Iterator<Token> {
|
||||
StringBuilder value = new StringBuilder();
|
||||
int tLine = line;
|
||||
int tLineOffset = lineOffset;
|
||||
int _fakeNextChar = nextChar > 127 ? NFA.UNICODE_ESCAPE : nextChar;
|
||||
while (dfa.transitions[state].containsKey(_fakeNextChar)) {
|
||||
if (nextChar < 0)
|
||||
value.append((char) nextChar);
|
||||
else
|
||||
value.appendCodePoint(nextChar);
|
||||
state = dfa.transitions[state].get(_fakeNextChar);
|
||||
while (dfa.transitions[state].containsKey(nextChar)) {
|
||||
value.append((char) nextChar);
|
||||
state = dfa.transitions[state].get(nextChar);
|
||||
line = reader.line;
|
||||
lineOffset = reader.lineOffset;
|
||||
nextChar = reader.read();
|
||||
_fakeNextChar = nextChar > 127 ? NFA.UNICODE_ESCAPE : nextChar;
|
||||
}
|
||||
|
||||
if (line < 0)
|
||||
|
||||
Reference in new issue
Block a user