src/preprocessor.cpp
void AppendSubstring(const char *start, size_t len,
                     std::vector<Substring> *list) {
  if (!list->empty() && list->back().start + list->back().len == start) {
    // Merge with previous line.
    list->back().len += len;
  } else {
    list->push_back(Substring(start, len));
  }
}
// Appends a substring to a list of substrings, merging if possible.
Appends a substring to a list of substrings, merging if possible.
Appends a substring to a list of substrings merging if possible .
void AppendSubstring(const char *start, size_t len,
                     std::vector<Substring> *list) {
  if (!list->empty() && list->back().start + list->back().len == start) {
    list->back().len += len;
  } else {
    list->push_back(Substring(start, len));
  }
}
void AppendSubstring ( const char * start , size_t len , std :: vector < Substring > * list ) { if ( ! list -> empty ( ) && list -> back ( ) . start + list -> back ( ) . len == start ) { list -> back ( ) . len += len ; } else { list -> push_back ( Substring ( start , len ) ) ; } }
Appends a substring to a list of substrings, merging if possible.
Appends a substring to a list of substrings merging if possible .
// Merge with previous line.