mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
Why are there braces?
This commit is contained in:
parent
87f6262230
commit
0f6a405d12
@ -539,23 +539,21 @@ public class LexState {
|
||||
continue;
|
||||
case EOZ:
|
||||
continue; /* will raise an error next loop */
|
||||
case 'z': { /* zap following span of spaces */
|
||||
case 'z': /* zap following span of spaces */
|
||||
nextChar(); /* skip the 'z' */
|
||||
while (isspace(current)) {
|
||||
if (currIsNewline()) inclinenumber();
|
||||
else nextChar();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
case '\\':
|
||||
case '"':
|
||||
case '\'':
|
||||
save_and_next();
|
||||
continue;
|
||||
default: {
|
||||
if (!isdigit(current)) {
|
||||
default:
|
||||
if (!isdigit(current))
|
||||
syntaxerror("invalid escape sequence near '\\" + ((char) current) + "'");
|
||||
}
|
||||
else { /* \xxx */
|
||||
int i = 0;
|
||||
c = 0;
|
||||
@ -569,7 +567,6 @@ public class LexState {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
save(c);
|
||||
nextChar();
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user