Avoid redundant validation of '\"'. Its check it before.
This commit is contained in:
parent
c091c05b72
commit
4c464b2432
|
@ -221,7 +221,7 @@ class WarningValue {
|
||||||
} else if (c == '\"') {
|
} else if (c == '\"') {
|
||||||
foundEnd = true;
|
foundEnd = true;
|
||||||
offs++;
|
offs++;
|
||||||
} else if (c != '\"' && !isControl(c)) {
|
} else if (!isControl(c)) {
|
||||||
offs++;
|
offs++;
|
||||||
} else {
|
} else {
|
||||||
parseError();
|
parseError();
|
||||||
|
|
Loading…
Reference in New Issue