142143144145146147148149150151152
offset = end; } break; case '"': case '\'': int eaten = parsingUtils.eatLiterals(null, offset - 1) + 1; if (eaten > offset) { offset = eaten; } break; case '[':
8182838485868788899091
for (int i = 0; i < len; i++) { char c = utils.charAt(i); switch (c) { case '\'': case '\"': int j = utils.eatLiterals(null, i); check(i, j, document, lst, todoTags); i = j; break; case '#':
333334335336337338339340341342343
while (offset < end) { char curr = cursorLineContents.charAt(offset++); if (curr == '"' || curr == '\'') { int eaten; try { eaten = parsingUtils.eatLiterals(null, offset - 1) + 1; } catch (SyntaxErrorException e) { balanced = false; break; } if (eaten > offset) {
615616617618619620621622623624625
379380381382383384385386387388389
switch (c) { case '\'': case '"': //ignore literals and multi-line literals, including comments... i = parsingUtils.eatLiterals(buf, i, std.trimMultilineLiterals); break; case '#': i = handleComment(std, cs, buf, tempBuf, parsingUtils, i); break;