Why are there braces?

This commit is contained in:
gamax92 2014-07-07 19:30:36 -06:00
parent 87f6262230
commit 0f6a405d12

View File

@ -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;