Unnecessary 'if' as we already know 'ch !== 92'

This commit is contained in:
Martin Carlberg
2013-01-08 23:28:17 +01:00
committed by Marijn Haverbeke
parent e6485e61fd
commit 5e4ea00f3c

View File

@@ -772,7 +772,7 @@
}
} else {
if (ch === 13 || ch === 10 || ch === 8232 || ch === 8329) raise(tokStart, "Unterminated string constant");
if (ch !== 92) rs_str.push(ch); // '\'
rs_str.push(ch); // '\'
++tokPos;
}
}