line comment fix

This commit is contained in:
guybedford 2013-08-30 21:06:08 +02:00
parent c5a85905e5
commit f97b7d3dff

View File

@ -71,7 +71,7 @@
if (curChar === '\n' || curChar === '\r' || curChar === '') {
regex = doubleQuote = singleQuote = doubleBackslash = false;
if (lineComment) {
curOutIndex = i + 1;
curOutIndex = i;
lineComment = false;
}
lastToken = '';