Searched refs:prevLine (Results 1 – 1 of 1) sorted by relevance
218 auto prevLine = startOfBuffer; in emitWrongTokenError() local219 size_t newLineIndex = prevLine.find_last_of("\n\r"); in emitWrongTokenError()221 prevLine = prevLine.drop_front(newLineIndex); in emitWrongTokenError()224 size_t commentStart = prevLine.find("//"); in emitWrongTokenError()226 startOfBuffer = startOfBuffer.drop_back(prevLine.size() - commentStart); in emitWrongTokenError()